RESOLVED FIXED48711
Web Inspector: event listener breakpoints are not preserved upon navigation / refresh.
https://bugs.webkit.org/show_bug.cgi?id=48711
Summary Web Inspector: event listener breakpoints are not preserved upon navigation /...
Pavel Feldman
Reported 2010-10-30 03:45:22 PDT
Also, checkboxes should be smaller (as in regular breakpoints).
Attachments
Patch. (26.28 KB, patch)
2010-11-01 09:10 PDT, Pavel Podivilov
pfeldman: review-
Patch. (44.95 KB, patch)
2010-11-02 02:52 PDT, Pavel Podivilov
pfeldman: review+
Pavel Feldman
Comment 1 2010-10-30 03:53:04 PDT
Also, neither DOM nor XHR breakpoints are preserved.
Pavel Podivilov
Comment 2 2010-11-01 09:10:50 PDT
Pavel Feldman
Comment 3 2010-11-01 10:51:32 PDT
Comment on attachment 72513 [details] Patch. View in context: https://bugs.webkit.org/attachment.cgi?id=72513&action=review > WebCore/inspector/front-end/BreakpointManager.js:259 > + for (var i = 0; i < breakpoints.length; ++i) { breakpoints can be non-array / empty. > WebCore/inspector/front-end/BreakpointManager.js:261 > + this.createEventListenerBreakpoint(breakpoints[i].condition.eventName); Breakpoint can be of wrong structure here as well. > WebCore/inspector/front-end/BreakpointManager.js:272 > + for (var i = 0; i < breakpoints.length; ++i) { ditto > WebCore/inspector/front-end/BreakpointManager.js:283 > + function didPushNodeByPathToFrontend(path, nodeId) We usually put local functions above the usage. > WebCore/inspector/front-end/Settings.js:68 > + this.installProjectSetting("nativeBreakpoints", {}); {} -> [] > WebCore/inspector/front-end/inspector.js:1570 > + this.applicationSettings.inspectedURLChanged(url); It is strange that project-related settings that are affected by the URL change are accessed via applicationSettings object.
Pavel Podivilov
Comment 4 2010-11-02 02:52:52 PDT
Created attachment 72642 [details] Patch. All comments addressed.
Pavel Podivilov
Comment 5 2010-11-02 03:44:11 PDT
Note You need to log in before you can comment on or make changes to this bug.