<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>139515</bug_id>
          
          <creation_ts>2014-12-10 17:19:44 -0800</creation_ts>
          <short_desc>Web Inspector: UI Switches from DOM Tree to Source Code too frequently</short_desc>
          <delta_ts>2015-01-10 10:12:48 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Web Inspector</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Joseph Pecoraro">joepeck</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>graouts</cc>
    
    <cc>joepeck</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>timothy</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1054360</commentid>
    <comment_count>0</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2014-12-10 17:19:44 -0800</bug_when>
    <thetext>* 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 &lt;http://bogojoker.com/shell/&gt;
  =&gt; you will be in Resources panel with DOM Tree showing
2. Switch to Debugger navigation sidebar
3. Switch to Resources navigation sidebar
  =&gt; suddenly you see DOM Tree, not Source Code</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1056470</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2014-12-17 11:26:44 -0800</bug_when>
    <thetext>&lt;rdar://problem/19281638&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1060068</commentid>
    <comment_count>2</comment_count>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2015-01-08 21:06:44 -0800</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1060431</commentid>
    <comment_count>3</comment_count>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2015-01-10 10:12:48 -0800</bug_when>
    <thetext>*** Bug 132381 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>