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

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: handle canvas Created 4 years, 12 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 Resolved as expected: canvas
8 SecurityError: Failed to execute 'createImageBitmap' on 'Window': Cross-origin a ccess to the source image is denied. 8 PASS Resolved as expected: video
9 PASS Rejected as expected: video
10 PASS reason instanceof Error is true
11 SecurityError: Failed to execute 'createImageBitmap' on 'Window': Cross-origin a ccess to the source video is denied.
12 PASS successfullyParsed is true 9 PASS successfullyParsed is true
13 10
14 TEST COMPLETE 11 TEST COMPLETE
15 12
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698