[Webkit-unassigned] [Bug 42051] New: browser cache and webkit cache used for resources listed as fallback and/or network in cache manifest file.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Jul 11 18:35:33 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=42051
Summary: browser cache and webkit cache used for resources
listed as fallback and/or network in cache manifest
file.
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
URL: http://htmltest.freetzi.com/fallback/index.html
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Page Loading
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: liachen at rim.com
CC: yong.li.webkit at gmail.com
When loading resources listed in fallback and/or network sections in a cache manifest file, we use webkit cache and browser cache, which could result in wrong resource used when online status changed during a browser session:
Steps to reproduce:
1. load http://htmltest.freetzi.com/fallback/index.html;
2. the image should display "online";
3. remove all network connection;
4. open a new tab and load http://htmltest.freetzi.com/fallback/index.html;
5. the image should display "offline", but it shows "online".
The reason is when we loading online.gif for the new tab, it doesn't check whether it's a fallback resource before we load it from webkit cache.
Another aspect of this issue is, we can also load fallback/network resources from browser cache, so we also need to make every load of fallback/network resources with cache policy of CachePolicyReload/ReloadIgnoringCacheData.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list