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

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

Issue 240103002: Use StrictTypeChecking for ImageBitmap (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | Annotate | Revision Log
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 createImageBitmap(image) threw exception InvalidStateError: Failed to execu te 'createImageBitmap' on 'Window': No image can be retrieved from the provided element.. 6 PASS createImageBitmap(image) threw exception InvalidStateError: Failed to execu te 'createImageBitmap' on 'Window': No image can be retrieved from the provided element..
7 PASS createImageBitmap(video) threw exception InvalidStateError: Failed to execu te 'createImageBitmap' on 'Window': No player can be retrieved from the provided video element.. 7 PASS createImageBitmap(video) threw exception InvalidStateError: Failed to execu te 'createImageBitmap' on 'Window': No player can be retrieved from the provided video element..
8 PASS createImageBitmap(undefined) threw exception TypeError: Failed to execute ' createImageBitmap' on 'Window': No function was found that matched the signature provided.. 8 PASS createImageBitmap(undefined) threw exception TypeError: Failed to execute ' createImageBitmap' on 'Window': No function was found that matched the signature provided..
9 PASS createImageBitmap(null) threw exception TypeError: Failed to execute 'creat eImageBitmap' on 'Window': No function was found that matched the signature prov ided..
9 PASS createImageBitmap(image, 0, 0, 10, 0) threw exception IndexSizeError: Faile d to execute 'createImageBitmap' on 'Window': The source height provided is 0.. 10 PASS createImageBitmap(image, 0, 0, 10, 0) threw exception IndexSizeError: Faile d to execute 'createImageBitmap' on 'Window': The source height provided is 0..
10 PASS createImageBitmap(image, 0, 0, 0, 10) threw exception IndexSizeError: Faile d to execute 'createImageBitmap' on 'Window': The source width provided is 0.. 11 PASS createImageBitmap(image, 0, 0, 0, 10) threw exception IndexSizeError: Faile d to execute 'createImageBitmap' on 'Window': The source width provided is 0..
11 PASS createImageBitmap(video, 0, 0, 10, 0) threw exception IndexSizeError: Faile d to execute 'createImageBitmap' on 'Window': The source height provided is 0.. 12 PASS createImageBitmap(video, 0, 0, 10, 0) threw exception IndexSizeError: Faile d to execute 'createImageBitmap' on 'Window': The source height provided is 0..
12 PASS createImageBitmap(video, 0, 0, 0, 10) threw exception IndexSizeError: Faile d to execute 'createImageBitmap' on 'Window': The source width provided is 0.. 13 PASS createImageBitmap(video, 0, 0, 0, 10) threw exception IndexSizeError: Faile d to execute 'createImageBitmap' on 'Window': The source width provided is 0..
13 PASS createImageBitmap(aCanvas, 0, 0, 10, 0) threw exception IndexSizeError: Fai led to execute 'createImageBitmap' on 'Window': The source height provided is 0. . 14 PASS createImageBitmap(aCanvas, 0, 0, 10, 0) threw exception IndexSizeError: Fai led to execute 'createImageBitmap' on 'Window': The source height provided is 0. .
14 PASS createImageBitmap(aCanvas, 0, 0, 0, 10) threw exception IndexSizeError: Fai led to execute 'createImageBitmap' on 'Window': The source width provided is 0.. 15 PASS createImageBitmap(aCanvas, 0, 0, 0, 10) threw exception IndexSizeError: Fai led to execute 'createImageBitmap' on 'Window': The source width provided is 0..
15 PASS createImageBitmap(d, 0, 0, 10, 0) threw exception IndexSizeError: Failed to execute 'createImageBitmap' on 'Window': The source height provided is 0.. 16 PASS createImageBitmap(d, 0, 0, 10, 0) threw exception IndexSizeError: Failed to execute 'createImageBitmap' on 'Window': The source height provided is 0..
16 PASS createImageBitmap(d, 0, 0, 0, 10) threw exception IndexSizeError: Failed to execute 'createImageBitmap' on 'Window': The source width provided is 0.. 17 PASS createImageBitmap(d, 0, 0, 0, 10) threw exception IndexSizeError: Failed to execute 'createImageBitmap' on 'Window': The source width provided is 0..
17 PASS createImageBitmap(aCtx, 0, 0, 10, 0) threw exception IndexSizeError: Failed to execute 'createImageBitmap' on 'Window': The source height provided is 0.. 18 PASS createImageBitmap(aCtx, 0, 0, 10, 0) threw exception IndexSizeError: Failed to execute 'createImageBitmap' on 'Window': The source height provided is 0..
18 PASS createImageBitmap(aCtx, 0, 0, 0, 10) threw exception IndexSizeError: Failed to execute 'createImageBitmap' on 'Window': The source width provided is 0.. 19 PASS createImageBitmap(aCtx, 0, 0, 0, 10) threw exception IndexSizeError: Failed to execute 'createImageBitmap' on 'Window': The source width provided is 0..
19 PASS createImageBitmap(testBitmap, 0, 0, 10, 0) threw exception IndexSizeError: Failed to execute 'createImageBitmap' on 'Window': The source height provided is 0.. 20 PASS createImageBitmap(testBitmap, 0, 0, 10, 0) threw exception IndexSizeError: Failed to execute 'createImageBitmap' on 'Window': The source height provided is 0..
20 PASS createImageBitmap(testBitmap, 0, 0, 0, 10) threw exception IndexSizeError: Failed to execute 'createImageBitmap' on 'Window': The source width provided is 0.. 21 PASS createImageBitmap(testBitmap, 0, 0, 0, 10) threw exception IndexSizeError: Failed to execute 'createImageBitmap' on 'Window': The source width provided is 0..
21 PASS createImageBitmap(blob, 0, 0, 10, 0) threw exception IndexSizeError: Failed to execute 'createImageBitmap' on 'Window': The source height provided is 0.. 22 PASS createImageBitmap(blob, 0, 0, 10, 0) threw exception IndexSizeError: Failed to execute 'createImageBitmap' on 'Window': The source height provided is 0..
22 PASS createImageBitmap(blob, 0, 0, 0, 10) threw exception IndexSizeError: Failed to execute 'createImageBitmap' on 'Window': The source width provided is 0.. 23 PASS createImageBitmap(blob, 0, 0, 0, 10) threw exception IndexSizeError: Failed to execute 'createImageBitmap' on 'Window': The source width provided is 0..
23 PASS createImageBitmap(invalidBlob) was rejected. 24 PASS createImageBitmap(invalidBlob) was rejected.
24 PASS createImageBitmap(invalidCanvas) was rejected. 25 PASS createImageBitmap(invalidCanvas) was rejected.
25 PASS successfullyParsed is true 26 PASS successfullyParsed is true
26 27
27 TEST COMPLETE 28 TEST COMPLETE
28 29
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698