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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-invalid-args-expected.txt

Issue 1841313003: Reject promise with InvalidStateError instead of null in createImageBitmap(Blob) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-invalid-blob-in-workers-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Ensure correct behavior of createImageBitmap for invalid inputs. 1 Ensure correct behavior of createImageBitmap for invalid inputs.
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: undefined 6 PASS Rejected as expected: undefined
7 PASS reason instanceof Error is true 7 PASS reason instanceof Error is true
8 TypeError: Failed to execute 'createImageBitmap' on 'Window': The provided value is not of type '(HTMLImageElement or HTMLVideoElement or HTMLCanvasElement or B lob or ImageData or ImageBitmap)' 8 TypeError: Failed to execute 'createImageBitmap' on 'Window': The provided value is not of type '(HTMLImageElement or HTMLVideoElement or HTMLCanvasElement or B lob or ImageData or ImageBitmap)'
9 PASS Rejected as expected: null 9 PASS Rejected as expected: null
10 PASS reason instanceof Error is true 10 PASS reason instanceof Error is true
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 PASS Rejected as expected: image bitmap / invalid range 45 PASS Rejected as expected: image bitmap / invalid range
46 PASS reason instanceof Error is true 46 PASS reason instanceof Error is true
47 IndexSizeError: Failed to execute 'createImageBitmap' on 'Window': The source wi dth provided is 0. 47 IndexSizeError: Failed to execute 'createImageBitmap' on 'Window': The source wi dth provided is 0.
48 PASS Rejected as expected: blob / invalid range 48 PASS Rejected as expected: blob / invalid range
49 PASS reason instanceof Error is true 49 PASS reason instanceof Error is true
50 IndexSizeError: Failed to execute 'createImageBitmap' on 'Window': The source he ight provided is 0. 50 IndexSizeError: Failed to execute 'createImageBitmap' on 'Window': The source he ight provided is 0.
51 PASS Rejected as expected: blob / invalid range 51 PASS Rejected as expected: blob / invalid range
52 PASS reason instanceof Error is true 52 PASS reason instanceof Error is true
53 IndexSizeError: Failed to execute 'createImageBitmap' on 'Window': The source wi dth provided is 0. 53 IndexSizeError: Failed to execute 'createImageBitmap' on 'Window': The source wi dth provided is 0.
54 PASS Rejected as expected: invalid blob 54 PASS Rejected as expected: invalid blob
55 FAIL reason instanceof Error should be true. Was false. 55 PASS reason instanceof Error is true
56 null 56 InvalidStateError: The source image cannot be decoded.
57 PASS Rejected as expected: invalid canvas 57 PASS Rejected as expected: invalid canvas
58 FAIL reason instanceof Error should be true. Was false. 58 FAIL reason instanceof Error should be true. Was false.
59 null 59 null
60 PASS successfullyParsed is true 60 PASS successfullyParsed is true
61 61
62 TEST COMPLETE 62 TEST COMPLETE
63 63
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-invalid-blob-in-workers-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698