RESOLVED FIXED 162323
Web Inspector: Reload unexpectedly switches to Storage Tab
https://bugs.webkit.org/show_bug.cgi?id=162323
Summary Web Inspector: Reload unexpectedly switches to Storage Tab
Joseph Pecoraro
Reported 2016-09-20 16:37:24 PDT
Summary: Reload unexpectedly switches to Storage Tab Test: <script> localStorage.x = 1; </script> Steps to Reproduce: 1. Start a web server for the simple test page (python -m SimpleHTTPServer) 2. Launch Safari and open test page (http://0.0.0.0:8000) 3. Select Storage Tab 4. Select LocalStorage 5. Select Console Tab 6. Reload => Storage Tab suddenly becomes foreground Notes: - The StorageTab is forcing itself forward because when removing tree elements from the StorageNavigationSidebar one by one we re-select the next available. Selecting is what forces the tab to the foreground. This is unnecessary since they will all be removed anyways. - After all is said and done, selecting the StorageTab should restore properly (re-select the appropriate LocalStorage, etc) and it isn't.
Attachments
[PATCH] Proposed Fix (5.92 KB, patch)
2016-09-20 16:40 PDT, Joseph Pecoraro
no flags
Joseph Pecoraro
Comment 1 2016-09-20 16:37:33 PDT
Joseph Pecoraro
Comment 2 2016-09-20 16:40:39 PDT
Created attachment 289407 [details] [PATCH] Proposed Fix
Matt Baker
Comment 3 2016-09-20 19:27:28 PDT
Comment on attachment 289407 [details] [PATCH] Proposed Fix r=me
WebKit Commit Bot
Comment 4 2016-09-20 19:48:30 PDT
Comment on attachment 289407 [details] [PATCH] Proposed Fix Clearing flags on attachment: 289407 Committed r206195: <http://trac.webkit.org/changeset/206195>
WebKit Commit Bot
Comment 5 2016-09-20 19:48:34 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.