Web Inspector: refactor UI breakpoint listeners. Breakpoint-added and breakpoint-removed events are now dispatched on UISourceCode. So handlers that manage SourceFrame's breakpoint decorations could be moved from ScriptsPanel to SourceFrame.
Created attachment 134335 [details] Patch
Attachment 134335 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'LayoutTests/ChangeLog', u'LayoutTests/http..." exit_code: 1 LayoutTests/ChangeLog:1: Line contains tab character. [whitespace/tab] [5] Total errors found: 1 in 10 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 134337 [details] Patch
Comment on attachment 134337 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=134337&action=review > Source/WebCore/inspector/front-end/ScriptsPanel.js:257 > + this._addBreakpointListeners(uiSourceCode); This method adds breakpoint listeners twice now, I don't think this is what you meant to do here. > Source/WebCore/inspector/front-end/SourceFrame.js:-58 > - Loaded: "loaded" Could you please mention removing of this event in the ChangeLog?
Committed r112875: <http://trac.webkit.org/changeset/112875>