WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
17151
REGRESSION : "subresources" array has a strange behavior
https://bugs.webkit.org/show_bug.cgi?id=17151
Summary
REGRESSION : "subresources" array has a strange behavior
Yann
Reported
2008-02-02 06:51:17 PST
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).
Attachments
Add attachment
proposed patch, testcase, etc.
mitz
Comment 1
2008-02-02 17:00:50 PST
Is this the reason for missing resources in Safari's Activity window?
Yann
Comment 2
2008-02-03 00:40:08 PST
(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.
Alexey Proskuryakov
Comment 3
2008-06-25 03:25:45 PDT
Would it be possible for you to make an example application for this problem? As is, the bug report is not really actionable.
Yann
Comment 4
2008-06-25 04:39:10 PDT
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'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
Alexey Proskuryakov
Comment 5
2008-06-25 05:06:42 PDT
<
rdar://problem/6033192
>
Alexey Proskuryakov
Comment 6
2008-06-25 05:08:14 PDT
I haven't attempted to reproduce this, but I believe that there is enough information to proceed now, confirming the bug.
David Kilzer (:ddkilzer)
Comment 7
2008-11-25 13:47:52 PST
See also
Bug 17948
and
Bug 22466
.
Cameron Zwarich (cpst)
Comment 8
2009-04-19 13:29:25 PDT
This bug still occurs, despite those other two bugs being fixed.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug