Web Inspector: Missing checks in DebuggerSidebarPanel for DOM debugging support
authormattbaker@apple.com <mattbaker@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 27 Sep 2017 23:54:41 +0000 (23:54 +0000)
committermattbaker@apple.com <mattbaker@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 27 Sep 2017 23:54:41 +0000 (23:54 +0000)
commit1c1200b2ecff1acf89092b3db0d82831d67b400e
tree8bbe90fba666a6dadd1c6e79b11e8019cb998618
parent503e991e0bf81836c115ec19a29a7f86912ae9aa
Web Inspector: Missing checks in DebuggerSidebarPanel for DOM debugging support
https://bugs.webkit.org/show_bug.cgi?id=177574

Reviewed by Joseph Pecoraro.

Check before using class members that are conditionally constructed based
on DOM debugging support.

* UserInterface/Views/DebuggerSidebarPanel.js:
(WI.DebuggerSidebarPanel.prototype.closed):
(WI.DebuggerSidebarPanel.prototype.restoreStateFromCookie):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@222585 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebInspectorUI/ChangeLog
Source/WebInspectorUI/UserInterface/Views/DebuggerSidebarPanel.js