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

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

Issue 1577783003: Revert of Add a origin clean flag in ImageBitmap class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 not throw exceptions on cross-origin access. 1 The image bitmap factories should 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 Resolved as expected: image 6 PASS Rejected as expected: image
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. 7 PASS reason instanceof Error is true
8 PASS Resolved as expected: canvas 8 SecurityError: Failed to execute 'createImageBitmap' on 'Window': Cross-origin a ccess to the source image is denied.
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. 9 PASS Rejected as expected: video
10 PASS Resolved as expected: imageBitmap 10 PASS reason instanceof Error is true
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. 11 SecurityError: Failed to execute 'createImageBitmap' on 'Window': Cross-origin a ccess to the source video is denied.
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.
14 PASS successfullyParsed is true 12 PASS successfullyParsed is true
15 13
16 TEST COMPLETE 14 TEST COMPLETE
17 15
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698