Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/cross-origin-createImageBitmap-expected.txt

Issue 1532473002: Add a origin clean flag in ImageBitmap class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix compilation error Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 The image bitmap factories should throw exceptions on cross-origin access. 1 The image bitmap factories should not throw exceptions on cross-origin access.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS Rejected as expected: image 6 PASS Resolved as expected: image
7 PASS reason instanceof Error is true 7 PASS ImageBitmap is tainted. Threw error: SecurityError: Failed to execute 'getI mageData' on 'CanvasRenderingContext2D': The canvas has been tainted by cross-or igin data.
8 SecurityError: Failed to execute 'createImageBitmap' on 'Window': Cross-origin a ccess to the source image is denied. 8 PASS Resolved as expected: canvas
9 PASS Rejected as expected: video 9 PASS ImageBitmap is tainted. Threw error: SecurityError: Failed to execute 'getI mageData' on 'CanvasRenderingContext2D': The canvas has been tainted by cross-or igin data.
10 PASS reason instanceof Error is true 10 PASS Resolved as expected: imageBitmap
11 SecurityError: Failed to execute 'createImageBitmap' on 'Window': Cross-origin a ccess to the source video is denied. 11 PASS ImageBitmap is tainted. Threw error: SecurityError: Failed to execute 'getI mageData' on 'CanvasRenderingContext2D': The canvas has been tainted by cross-or igin data.
12 PASS Resolved as expected: video
13 PASS ImageBitmap is tainted. Threw error: SecurityError: Failed to execute 'getI mageData' on 'CanvasRenderingContext2D': The canvas has been tainted by cross-or igin data.
12 PASS successfullyParsed is true 14 PASS successfullyParsed is true
13 15
14 TEST COMPLETE 16 TEST COMPLETE
15 17
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698