Created attachment 260465 [details] My local storage db with a lot of WebInspector entries While using Safari 9 Beta on OS X El Captain, and inspecting a website, if I hit Commd+R to reload the page, it's always switching back to "Resources". I've been told that my file__0.localstorage file might be useful for you guys to reproduce, so I will be attaching that. This is happening 100% of the time consistently on any website that I inspect. (tested on search.yahoo.com and nytimes.com before submitting).
<rdar://problem/22551173>
<rdar://problem/21952083>
I am pretty sure this regressed by http://trac.webkit.org/changeset/186466. Before that we didn't force tab siwtches unless there was a user action.
*** Bug 149213 has been marked as a duplicate of this bug. ***
* STEPS TO REPRODUCE 1. Inspect about:blank 2. Select any non-Inspector tab 3. Evaluate: "//# sourceURL=test.js" in the console to create an "Extra Script" 4. Reload => switches to Resources tab. * NOTES => WebInspector.DebuggerManager.Event.ScriptsCleared event is fired => ResourceSidebarPanel._scriptsCleared => SpecialFolder.removeChild => removeChild does not suppress select, newly selected tree element gets select => showContentView switches tab
Created attachment 261912 [details] [PATCH] Proposed Fix
Comment on attachment 261912 [details] [PATCH] Proposed Fix Clearing flags on attachment: 261912 Committed r190246: <http://trac.webkit.org/changeset/190246>
All reviewed patches have been landed. Closing bug.
This pretty much affects anyone with a Safari extension content script.