[Webkit-unassigned] [Bug 144650] Web Inspector: REGRESSION(Tabs): Issues reloading a resource with breakpoints
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue May 5 20:09:38 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=144650
--- Comment #5 from Joseph Pecoraro <joepeck at webkit.org> ---
> 5. Order of operations on WebInspector.Frame.Event.MainResourceDidChange is
> problematic
> - Main.js performs state restoration on MainResourceDidChange
> - NavigationSidebarPanels (Resources, Debugger, etc) perform clean up
> MainResourceDidChange
> - Typically, Main.js will do its work first, which may be very problematic
> in restoration!
The reason this is problematic was because of this scenario:
(1) DebuggerSidebarPanel wants to remove its ResourceTreeElements for the old Frame and add ResourceTreeElements for the new Frame
(2) State restoration wants to find a ResourceTreeElement basically just via URL
On reload, in cases where (2) happens before (1), then the ResourceTreeElement found during restoration was the OLD ResourceTreeElement, that immediately gets removed.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150506/63d1b796/attachment-0001.html>
More information about the webkit-unassigned
mailing list