Summary: DOM/XHR breakpoint tree elements shouldn't persist their represented objects. Steps to Reproduce: 1. Inspector > Debugger tab 2. Select something from Sources 3. Select the global "All Requests" XHR breakpoint 4. Refresh the page => After a delay (1-2s): - Global XHR breakpoint is selected - Debugger tab content view changes to the DOMTree - Assertion: [Error] Assertion Failed: createFromRepresentedObject and resolvedRepresentedObjectForRepresentedObject are out of sync for type – "XHRBreakpoint" contentViewForRepresentedObject (ContentView.js:194) showContentViewForRepresentedObject (ContentBrowser.js:146) showDefaultContentViewForTreeElement (NavigationSidebarPanel.js:195:83) _checkElementsForPendingViewStateCookie (NavigationSidebarPanel.js:710) finalAttemptToRestoreViewStateFromCookie (NavigationSidebarPanel.js:248) finalAttemptToRestoreViewStateFromCookie
<rdar://problem/31506161>
Created attachment 306525 [details] Patch
Comment on attachment 306525 [details] Patch r=me
Comment on attachment 306525 [details] Patch Clearing flags on attachment: 306525 Committed r215113: <http://trac.webkit.org/changeset/215113>
All reviewed patches have been landed. Closing bug.