RESOLVED FIXED Bug 139515
Web Inspector: UI Switches from DOM Tree to Source Code too frequently
https://bugs.webkit.org/show_bug.cgi?id=139515
Summary Web Inspector: UI Switches from DOM Tree to Source Code too frequently
Joseph Pecoraro
Reported 2014-12-10 17:19:44 PST
* SUMMARY UI Switches from DOM Tree to Source Code too frequently. Most of the time I live in DOM Tree. * STEPS TO REPRODUCE 1. Inspect an Element on <http://bogojoker.com/shell/> => you will be in Resources panel with DOM Tree showing 2. Switch to Debugger navigation sidebar 3. Switch to Resources navigation sidebar => suddenly you see DOM Tree, not Source Code
Attachments
Radar WebKit Bug Importer
Comment 1 2014-12-17 11:26:44 PST
Timothy Hatcher
Comment 2 2015-01-08 21:06:44 PST
The change to ResourceSidebarPanel.js that I snuck into bug 139526 should fix this. We were calling showMainFrameSourceCode when showing the default view for Resources sidebar. Making it just show the main frame will show whatever was showing before — Dom or Source. Also the fix for bug 139526 does not switch content views as often, so that fixes it too.
Timothy Hatcher
Comment 3 2015-01-10 10:12:48 PST
*** Bug 132381 has been marked as a duplicate of this bug. ***
Note You need to log in before you can comment on or make changes to this bug.