blob: cb324db177c7be2dc22894a9d56040586821e6a5 [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 anonymous.
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