Web Inspector: XHR breakpoints restored from settings do not appear in the sidebar
authormattbaker@apple.com <mattbaker@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 17 Apr 2017 19:30:55 +0000 (19:30 +0000)
committermattbaker@apple.com <mattbaker@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 17 Apr 2017 19:30:55 +0000 (19:30 +0000)
commit64f0b40acea267671b95ab1447176b66524cbe4b
treef9cb646c97ebf1abe64aa92af51473b3c55b46a5
parent90d33ed10494e2bb1543baf88e97c98af01b1ad7
Web Inspector: XHR breakpoints restored from settings do not appear in the sidebar
https://bugs.webkit.org/show_bug.cgi?id=170890

Reviewed by Joseph Pecoraro.

Need to check for existing breakpoints when XHRBreakpointTreeController
is constructed, instead of just listening for added breakpoints.

* UserInterface/Controllers/XHRBreakpointTreeController.js:
(WebInspector.XHRBreakpointTreeController):
(WebInspector.XHRBreakpointTreeController.prototype._xhrBreakpointAdded):
(WebInspector.XHRBreakpointTreeController.prototype._addTreeElement):

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