[Webkit-unassigned] [Bug 51286] Image cache not cleared by no-cache XHR

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 20 18:36:30 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=51286


Nathan Vander Wilt <natevw at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|DOM rendering from dynamic  |Image cache not cleared by
                   |modification (e.g. AJAX)    |no-cache XHR
                   |does not reflect            |
                   |invalidated cache           |




--- Comment #4 from Nathan Vander Wilt <natevw at yahoo.com>  2010-12-20 18:36:31 PST ---
Here is a test case for the issue:
http://andyet.couchone.com/share/_design/webkitBug51286/index.html


To reproduce:
1. Click "Create" to add a dynamically generated div containing an image that has a random color each time it is fetched. Note this image color.
2. Click "Remove" to remove this div/image from the DOM.
3. Click "Clear" to send an XHR request for the image URL with "Cache-Control: no-cache" header set to force end-to-end reload (http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9.4).
4. Click "Create" to dynamically generate a new image div. Compare this image color to the one noted in step #1.

Expected results:
New image div is a different color because any local cache stored in step #1 was invalidated in step #3.

Actual results:
New image div is the same color ini step #4 as it was in step #1.

-- 
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