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.
<rdar://problem/28393954>
Created attachment 289407 [details] [PATCH] Proposed Fix
Comment on attachment 289407 [details] [PATCH] Proposed Fix r=me
Comment on attachment 289407 [details] [PATCH] Proposed Fix Clearing flags on attachment: 289407 Committed r206195: <http://trac.webkit.org/changeset/206195>
All reviewed patches have been landed. Closing bug.