[Webkit-unassigned] [Bug 63090] New: img.crossOrigin not respected on cached images
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jun 21 13:30:18 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=63090
Summary: img.crossOrigin not respected on cached images
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Platform
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: ericbidelman at chromium.org
CC: kbr at google.com
Created an attachment (id=98049)
--> (https://bugs.webkit.org/attachment.cgi?id=98049&action=review)
img.crossOrigin test case
Loading an image URL without img.crossOrigin set dirties a canvas2d context and canvas.toDataURL()
throws a security exception. Attempting to reload the same resource, this time with img.crossOrigin='' set, also fails.
Webkit is caching the image resource and the CORS preflight is never made.
Attached is a test case that hits a Picasa image (which support CORS). The first image will
fail, but the second try (which has img.crossOrigin='' set) SHOULD succeed. In the test case, both FAIL.
Web inspector shows a single request being made.
--
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