blob: de2d4a86dc0609bef6a29f7c9a9eca3be878f721 [file] [log] [blame]
Ensure that data can be retrieved from a canvas even when tainted by a remote video resource if CORS is enabled with use-credentials.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Testing data retrieval on an untainted canvas:
PASS canvas.getContext('2d').getImageData(0, 0, 100, 100) did not throw exception.
PASS canvas.toDataURL() did not throw exception.
Testing data retrieval on a canvas tainted by a remote video pattern:
PASS context.getImageData(0, 0, 100, 100) did not throw exception.
PASS canvas.toDataURL() did not throw exception.
PASS successfullyParsed is true
TEST COMPLETE