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't all in [dataSource subresources]. It seems that resources which doesn'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).
Is this the reason for missing resources in Safari's Activity window?
(In reply to comment #1)
> Is this the reason for missing resources in Safari's Activity window?
No, I don't think.
Some resources are in the Safari's Activity Window, but they aren't in the "subresources" array.
Would it be possible for you to make an example application for this problem? As is, the bug report is not really actionable.
An exemple application for this problem :
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't in the subresources array are colored in red.
Others references to this problem :
I haven't attempted to reproduce this, but I believe that there is enough information to proceed now, confirming the bug.
See also Bug 17948 and Bug 22466.
This bug still occurs, despite those other two bugs being fixed.