<?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>17151</bug_id>
          
          <creation_ts>2008-02-02 06:51:17 -0800</creation_ts>
          <short_desc>REGRESSION : &quot;subresources&quot; array has a strange behavior</short_desc>
          <delta_ts>2009-04-19 13:29:25 -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>WebKit API</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P1</priority>
          <bug_severity>Minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Yann">ynn</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>beidson</cc>
    
    <cc>ddkilzer</cc>
    
    <cc>mitz</cc>
    
    <cc>mrowe</cc>
    
    <cc>zwarich</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>69169</commentid>
    <comment_count>0</comment_count>
    <who name="Yann">ynn</who>
    <bug_when>2008-02-02 06:51:17 -0800</bug_when>
    <thetext>I had a WebKit program, wich implement WebResourceLoad Delegate like this :

- (id)webView:(WebView *)sender identifierForInitialRequest:(NSURLRequest *)request fromDataSource:(WebDataSource *)dataSource
{
        return [request URL];
}

-(void)webView:(WebView *)sender resource:(id)identifier didFinishLoadingFromDataSource:(WebDataSource *)dataSource
{ 
        WebResource *r = [dataSource subresourceForURL:identifier];
        [self doStuff:[r data]]; 
}


Prior to 10.4.11 it worked well.
Now (Safari 3 ?), resources aren&apos;t all in [dataSource subresources]. It seems that  resources which doesn&apos;t need to be cached are missing.
So it is impossible to get all the downloaded content from a webView.


(Sorry for my bad english).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69212</commentid>
    <comment_count>1</comment_count>
    <who name="">mitz</who>
    <bug_when>2008-02-02 17:00:50 -0800</bug_when>
    <thetext>Is this the reason for missing resources in Safari&apos;s Activity window?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69230</commentid>
    <comment_count>2</comment_count>
    <who name="Yann">ynn</who>
    <bug_when>2008-02-03 00:40:08 -0800</bug_when>
    <thetext>(In reply to comment #1)
&gt; Is this the reason for missing resources in Safari&apos;s Activity window?
&gt; 

No, I don&apos;t think.
Some resources are in the Safari&apos;s Activity Window, but they aren&apos;t in the &quot;subresources&quot; array.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84373</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2008-06-25 03:25:45 -0700</bug_when>
    <thetext>Would it be possible for you to make an example application for this problem? As is, the bug report is not really actionable.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84389</commentid>
    <comment_count>4</comment_count>
    <who name="Yann">ynn</who>
    <bug_when>2008-06-25 04:39:10 -0700</bug_when>
    <thetext>An exemple application for this problem :
http://ynn.free.fr/MiniBrowser_test.zip

This is a modification of Apple MiniBrowser exemple.
I Added a table which contains a list of files used by the webpage : files which aren&apos;t in the subresources array are colored in red.



Others references to this problem :
http://www.nabble.com/Change-in-how-subresources-work--td13921677.html
http://lists.apple.com/archives/Webkitsdk-dev/2007/Jun/msg00069.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84391</commentid>
    <comment_count>5</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2008-06-25 05:06:42 -0700</bug_when>
    <thetext>&lt;rdar://problem/6033192&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84392</commentid>
    <comment_count>6</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2008-06-25 05:08:14 -0700</bug_when>
    <thetext>I haven&apos;t attempted to reproduce this, but I believe that there is enough information to proceed now, confirming the bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100273</commentid>
    <comment_count>7</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2008-11-25 13:47:52 -0800</bug_when>
    <thetext>See also Bug 17948 and Bug 22466.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>118076</commentid>
    <comment_count>8</comment_count>
    <who name="Cameron Zwarich (cpst)">zwarich</who>
    <bug_when>2009-04-19 13:29:25 -0700</bug_when>
    <thetext>This bug still occurs, despite those other two bugs being fixed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>