| Summary: | Web Inspector: Reloading the page causes the inspector tab to switch back to "Resources" tab | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Iraê <irae> | ||||||
| Component: | Web Inspector | Assignee: | Nobody <webkit-unassigned> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | bburg, commit-queue, graouts, joepeck, mattbaker, nvasilyev, seiz, timothy, webkit-bug-importer | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | Safari 9 | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Attachments: |
|
||||||||
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. |
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).