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

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

Issue 1455763002: Use union type in ImageBitmapFactories.idl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: better argument passing Created 5 years 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 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': No function was fo und that matched the signature provided. 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
11 TypeError: Failed to execute 'createImageBitmap' on 'Window': No function was fo und that matched the signature provided. 11 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)'
12 PASS Rejected as expected: empty image 12 PASS Rejected as expected: empty image
13 PASS reason instanceof Error is true 13 PASS reason instanceof Error is true
14 InvalidStateError: Failed to execute 'createImageBitmap' on 'Window': No image c an be retrieved from the provided element. 14 InvalidStateError: Failed to execute 'createImageBitmap' on 'Window': No image c an be retrieved from the provided element.
15 PASS Rejected as expected: empty video 15 PASS Rejected as expected: empty video
16 PASS reason instanceof Error is true 16 PASS reason instanceof Error is true
17 InvalidStateError: Failed to execute 'createImageBitmap' on 'Window': The provid ed element has not retrieved data. 17 InvalidStateError: Failed to execute 'createImageBitmap' on 'Window': The provid ed element has not retrieved data.
18 PASS Rejected as expected: image / invalid range 18 PASS Rejected as expected: image / invalid range
19 PASS reason instanceof Error is true 19 PASS reason instanceof Error is true
20 IndexSizeError: Failed to execute 'createImageBitmap' on 'Window': The source he ight provided is 0. 20 IndexSizeError: Failed to execute 'createImageBitmap' on 'Window': The source he ight provided is 0.
21 PASS Rejected as expected: image / invalid range 21 PASS Rejected as expected: image / invalid range
22 PASS reason instanceof Error is true 22 PASS reason instanceof Error is true
23 IndexSizeError: Failed to execute 'createImageBitmap' on 'Window': The source wi dth provided is 0. 23 IndexSizeError: Failed to execute 'createImageBitmap' on 'Window': The source wi dth provided is 0.
24 PASS Rejected as expected: video / invalid range 24 PASS Rejected as expected: video / invalid range
25 PASS reason instanceof Error is true 25 PASS reason instanceof Error is true
26 IndexSizeError: Failed to execute 'createImageBitmap' on 'Window': The source he ight provided is 0. 26 IndexSizeError: Failed to execute 'createImageBitmap' on 'Window': The source he ight provided is 0.
27 PASS Rejected as expected: video / invalid range 27 PASS Rejected as expected: video / invalid range
28 PASS reason instanceof Error is true 28 PASS reason instanceof Error is true
29 IndexSizeError: Failed to execute 'createImageBitmap' on 'Window': The source wi dth provided is 0. 29 IndexSizeError: Failed to execute 'createImageBitmap' on 'Window': The source wi dth provided is 0.
30 PASS Rejected as expected: canvas / invalid range 30 PASS Rejected as expected: canvas / invalid range
31 PASS reason instanceof Error is true 31 PASS reason instanceof Error is true
32 IndexSizeError: Failed to execute 'createImageBitmap' on 'Window': The source he ight provided is 0. 32 IndexSizeError: Failed to execute 'createImageBitmap' on 'Window': The source he ight provided is 0.
33 PASS Rejected as expected: canvas / invalid range 33 PASS Rejected as expected: canvas / invalid range
34 PASS reason instanceof Error is true 34 PASS reason instanceof Error is true
35 IndexSizeError: Failed to execute 'createImageBitmap' on 'Window': The source wi dth provided is 0. 35 IndexSizeError: Failed to execute 'createImageBitmap' on 'Window': The source wi dth provided is 0.
36 PASS Rejected as expected: canvas context / invalid range
37 PASS reason instanceof Error is true
38 IndexSizeError: Failed to execute 'createImageBitmap' on 'Window': The source he ight provided is 0.
39 PASS Rejected as expected: canvas context / invalid range
40 PASS reason instanceof Error is true
41 IndexSizeError: Failed to execute 'createImageBitmap' on 'Window': The source wi dth provided is 0.
42 PASS Rejected as expected: canvas imagedata / invalid range 36 PASS Rejected as expected: canvas imagedata / invalid range
43 PASS reason instanceof Error is true 37 PASS reason instanceof Error is true
44 IndexSizeError: Failed to execute 'createImageBitmap' on 'Window': The source he ight provided is 0. 38 IndexSizeError: Failed to execute 'createImageBitmap' on 'Window': The source he ight provided is 0.
45 PASS Rejected as expected: canvas imagedata / invalid range 39 PASS Rejected as expected: canvas imagedata / invalid range
46 PASS reason instanceof Error is true 40 PASS reason instanceof Error is true
47 IndexSizeError: Failed to execute 'createImageBitmap' on 'Window': The source wi dth provided is 0. 41 IndexSizeError: Failed to execute 'createImageBitmap' on 'Window': The source wi dth provided is 0.
48 PASS Rejected as expected: image bitmap / invalid range 42 PASS Rejected as expected: image bitmap / invalid range
49 PASS reason instanceof Error is true 43 PASS reason instanceof Error is true
50 IndexSizeError: Failed to execute 'createImageBitmap' on 'Window': The source he ight provided is 0. 44 IndexSizeError: Failed to execute 'createImageBitmap' on 'Window': The source he ight provided is 0.
51 PASS Rejected as expected: image bitmap / invalid range 45 PASS Rejected as expected: image bitmap / invalid range
52 PASS reason instanceof Error is true 46 PASS reason instanceof Error is true
53 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.
54 PASS Rejected as expected: blob / invalid range 48 PASS Rejected as expected: blob / invalid range
55 PASS reason instanceof Error is true 49 PASS reason instanceof Error is true
56 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.
57 PASS Rejected as expected: blob / invalid range 51 PASS Rejected as expected: blob / invalid range
58 PASS reason instanceof Error is true 52 PASS reason instanceof Error is true
59 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.
60 PASS Rejected as expected: invalid blob 54 PASS Rejected as expected: invalid blob
61 FAIL reason instanceof Error should be true. Was false. 55 FAIL reason instanceof Error should be true. Was false.
62 null 56 null
63 PASS Rejected as expected: invalid canvas 57 PASS Rejected as expected: invalid canvas
64 FAIL reason instanceof Error should be true. Was false. 58 FAIL reason instanceof Error should be true. Was false.
65 null 59 null
66 PASS successfullyParsed is true 60 PASS successfullyParsed is true
67 61
68 TEST COMPLETE 62 TEST COMPLETE
69 63
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698