| OLD | NEW |
| 1 The image bitmap factories should 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 createImageBitmap(img, 0, 0, 10, 10) threw exception SecurityError: Failed
to execute 'createImageBitmap' on 'Window': Cross-origin access to the source im
age is denied.. | 6 PASS Rejected as expected: image |
| 7 PASS createImageBitmap(vid, 0, 0, 10, 10) threw exception SecurityError: Failed
to execute 'createImageBitmap' on 'Window': Cross-origin access to the source vi
deo is denied.. | 7 PASS reason instanceof Error is true |
| 8 SecurityError: Failed to execute 'createImageBitmap' on 'Window': Cross-origin a
ccess 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 a
ccess to the source video is denied. |
| 8 PASS successfullyParsed is true | 12 PASS successfullyParsed is true |
| 9 | 13 |
| 10 TEST COMPLETE | 14 TEST COMPLETE |
| 11 | 15 |
| OLD | NEW |