blob: 6820830eafd9c2a2e06a5f9f33bfce11775a4e2e [file] [log] [blame]
CONSOLE MESSAGE: Unable to get image data from canvas because the canvas has been tainted by cross-origin data.
Ensure that data cannot be retrieved from a canvas tainted by a video resource obtained via redirection when CORS is not enabled.
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 pattern generated by a redirected video resource:
PASS context.getImageData(0, 0, 100, 100) threw exception SecurityError: The operation is insecure..
PASS canvas.toDataURL() threw exception SecurityError: The operation is insecure..
PASS successfullyParsed is true
TEST COMPLETE