1 The image bitmap factories should throw exceptions on cross-origin access.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS Rejected as expected: image
7 PASS reason instanceof Error is true
8 SecurityError: Failed to execute 'createImageBitmap' on 'Window': Cross-origin access to the source image is denied.
9 PASS Rejected as expected: video
10 PASS reason instanceof Error is true
11 SecurityError: Failed to execute 'createImageBitmap' on 'Window': Cross-origin access to the source video is denied.
12 PASS successfullyParsed is true