blob: 3ac7365a4c799d980be35d847a62aa7a564c3d64 [file] [log] [blame]
CONSOLE MESSAGE: line 1: 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 localhost video resource 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 localhost 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