[Webkit-unassigned] [Bug 61753] New: Cache Policy Ignored when Resource Loaded by Multiple Webviews
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon May 30 16:36:24 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=61753
Summary: Cache Policy Ignored when Resource Loaded by Multiple
Webviews
Product: WebKit
Version: 528+ (Nightly build)
Platform: Macintosh
OS/Version: Mac OS X 10.6
Status: UNCONFIRMED
Severity: Major
Priority: P2
Component: Page Loading
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: admin at tacosw.com
Created an attachment (id=95379)
--> (https://bugs.webkit.org/attachment.cgi?id=95379&action=review)
Test Project for Bug
I noticed a Webkit bug in my Mac application when testing on the latest Mac OS X Lion developer preview, and I created a sample project to confirm the bug:
When there are multiple webviews open with same resource loaded (in my case, a CSS stylesheet), then the cached version of the stylesheet is used even when specifying NSURLRequestReloadIgnoringCacheData for the cache policy. The result is that changes in the stylesheet will not be reflected when reloading one of the webviews, or creating a new webview that uses the stylesheet.
I created a sample project (based on MiniBrowser) that opens a page with an external stylesheet, and after 10 seconds modifies the background in the stylesheet and reloads the page. By default, when the application opens, there is just one window and the background changes like it should. If you open a second window when the app launches with Command+N, the background on the webviews won't change.
This bug occurs on latest Mac OS X 10.7 developer preview. It doesn't occur on the latest public Webkit release for Mac OS X 10.6. I didn't test against the Webkit nightly, because I couldn't find the instructions on how to do it. I'd be happy to try if someone can point me in the right direction.
--
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