<?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>88025</bug_id>
          
          <creation_ts>2012-05-31 17:00:10 -0700</creation_ts>
          <short_desc>Web Inspector: Some resources are not present in Resources even if present in Elements</short_desc>
          <delta_ts>2012-06-09 08:37:15 -0700</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 (Deprecated)</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>88710</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Jan Keromnes">janx</reporter>
          <assigned_to name="Vsevolod Vlasov">vsevik</assigned_to>
          <cc>apavlov</cc>
    
    <cc>bweinstein</cc>
    
    <cc>caseq</cc>
    
    <cc>janx</cc>
    
    <cc>joepeck</cc>
    
    <cc>keishi</cc>
    
    <cc>loislo</cc>
    
    <cc>pfeldman</cc>
    
    <cc>pmuellr</cc>
    
    <cc>rik</cc>
    
    <cc>timothy</cc>
    
    <cc>vivekgalatage</cc>
    
    <cc>yurys</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>638820</commentid>
    <comment_count>0</comment_count>
    <who name="Jan Keromnes">janx</who>
    <bug_when>2012-05-31 17:00:10 -0700</bug_when>
    <thetext>PROBLEM:
Sometimes, resources are shown in the Elements panel, but are not present in the Resources panel.

This happens in the following cases:
- when a script is loaded asynchronously, like Google Analytics&apos; `ga.js`, and the Inspector was opened after the page was loaded
- when a resource is of an unknown type (e.g. http://lesscss.org&apos;s `main.less` stylesheet)

OBSERVED:
Clicking on them in the Elements panel opens the Resources panel, but there is no resource to show (i.e. the Resources panel stays blank or shows a previously opened resource)

EXPECTED:
Clicking on them should make the Web Inspector grab the resource, add it to the Resources panel, and show it to the user.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>639605</commentid>
    <comment_count>1</comment_count>
    <who name="Jan Keromnes">janx</who>
    <bug_when>2012-06-01 12:16:21 -0700</bug_when>
    <thetext>STEPS TO REPRODUCE:

(asynchronous resource problem)
- go to https://thefiletree.com
- open the Inspector
- in the Elements panel, click on &quot;https://ssl.google-analytics.com/ga.js&quot;
- the Resources panel shows, with no file open
- refreshing the page solves this problem

(unknown type problem)
- go to http://lesscss.org
- open the Inspector
- in the Elements panel, click on &quot;/less/main.less&quot; (in the &lt;head&gt;)
- the Resources panel show, with no file open
- refreshing the page doesn&apos;t solve the problem, but the contents of &quot;/less/main.less&quot; can be found in the Network panel</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>645335</commentid>
    <comment_count>2</comment_count>
    <who name="Vsevolod Vlasov">vsevik</who>
    <bug_when>2012-06-09 08:34:43 -0700</bug_when>
    <thetext>We can not show these resources in Resources Panel because they are not available as cached resources.

For the asynchronously loaded script case: we can show this resource in sources panel.

For the LESS stylesheets: For now we can reveal them in network panel if possible (if they were loaded after inspector opening), otherwise they should be opened in a new tab.

If at some point we implement some sort of source maps for LESS / CSS mapping we might want to reconsider the latter case.

*** This bug has been marked as a duplicate of bug 88710 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>645337</commentid>
    <comment_count>3</comment_count>
    <who name="Vsevolod Vlasov">vsevik</who>
    <bug_when>2012-06-09 08:35:19 -0700</bug_when>
    <thetext>https://bugs.webkit.org/show_bug.cgi?id=88710 should take care of revealing these resources in the appropriate panel.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>645339</commentid>
    <comment_count>4</comment_count>
    <who name="Vsevolod Vlasov">vsevik</who>
    <bug_when>2012-06-09 08:37:15 -0700</bug_when>
    <thetext>*** Bug 88027 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>