Bug 11212
Summary: | REGRESSION: Activity window doesn't always list all files until refresh | ||
---|---|---|---|
Product: | WebKit | Reporter: | Kevin M. Dean <kevin> |
Component: | Page Loading | Assignee: | Darin Adler <darin> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | ap, mysticalosx, sullivan |
Priority: | P1 | Keywords: | InRadar, Regression |
Version: | 420+ | ||
Hardware: | Mac (PowerPC) | ||
OS: | OS X 10.4 | ||
URL: | http://webkit.org/ |
Kevin M. Dean
This actually applies to any web site, but I'm using the Webkit site as an example.
Whenever you visit a page initially and look in the Activity window, you'll see all the referenced files. After going to another page and returning most of the files are no longer lists until you manually refresh the page.
For example:
With the Activity window open, go to http://webkit.org/
You should see a variety of files like css, png, etc.
Click on the Home link at the top left and the page will reload, but only the page link and maybe some other files will be listed, but all the css and png files will be missing.
Select the Refresh button or press Command-R and all the files will return.
Works correctly in Safari.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Alexey Proskuryakov
Confirmed the behavior as described. But playing the devil's advocate, I'm not sure if this is a bug - there is no network activity for these cached subresources, so they needn't be in the Activity window.
Kevin M. Dean
Depends on whether you define activity as limited to just network or network/file access. I think it should remain as it is in Safari since it's very useful to be able to access the files utilized for a page directly without needing to dig through the source.
John Sullivan
This is definitely a bug. The activity window (though its name is not clear about this) is definitely supposed to list all the subresources, whether cached or not. The fact that they aren't appearing means that WebKit is not sending the delegate callbacks for these cached images, which is indeed a regression.
Maciej Stachowiak
There's a call up to WebKit for resources loaded from the WebCore memory cache. This may have been broken. Oddly though, this seems to work fine if you load webkit.org in a new window, which should get the exact same caching!
Kevin M. Dean
This bug seems to be back again, failing in the same way has before.
Stephanie Lewis
radar <rdar://problem/4959702>
Anders Carlsson
The reason this happens is because of the commented out line in FrameLoader::clear
Robert Blaut
*** Bug 16198 has been marked as a duplicate of this bug. ***
Kevin M. Dean
20 months later, if it's just the commented out line, wouldn't that be an easy fix?
Darin Adler
http://trac.webkit.org/changeset/39566