<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Web Inspector: REGRESSION(Tabs) Issues reloading a resource with breakpoints"
href="https://bugs.webkit.org/show_bug.cgi?id=144650#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Web Inspector: REGRESSION(Tabs) Issues reloading a resource with breakpoints"
href="https://bugs.webkit.org/show_bug.cgi?id=144650">bug 144650</a>
from <span class="vcard"><a class="email" href="mailto:joepeck@webkit.org" title="Joseph Pecoraro <joepeck@webkit.org>"> <span class="fn">Joseph Pecoraro</span></a>
</span></b>
<pre>I count a jumble of issues investigating this:
1. DebuggerSidebarPanel needs to clear content views and tree elements on main resource changes.
- closeAllContentViews
- breakpointsContentTreeOutline, remove non-global folder tree elements
2. BreakpointTreeElement restoration doesn't work
- display source code for a WebInspector.Breakpoint represented object
3. Cookie saving is cumulative instead of replacing
- TabContentView adds new cookie state onto its cookie instead of replacing the cookie
4. TabContentView.restoreStateFromCookie(causedByReload) parameter is never set
- sounds like a missed opportunity, but it is always unused
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!
So, I'm going to hesitantly attach a patch, but Tim, feel free to take over this.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>