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

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

Issue 20748002: Blob creation methods for ImageBitmap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 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, shouldNotBeCalled) threw exception InvalidStateErr or: An attempt was made to use an object that is not, or is no longer, usable.. 6 PASS createImageBitmap(image, shouldNotBeCalled) threw exception InvalidStateErr or: An attempt was made to use an object that is not, or is no longer, usable..
7 PASS createImageBitmap(video, shouldNotBeCalled) threw exception InvalidStateErr or: An attempt was made to use an object that is not, or is no longer, usable.. 7 PASS createImageBitmap(video, shouldNotBeCalled) threw exception InvalidStateErr or: An attempt was made to use an object that is not, or is no longer, usable..
8 PASS createImageBitmap(undefined, shouldNotBeCalled) threw exception TypeError: Type error. 8 PASS createImageBitmap(undefined, shouldNotBeCalled) threw exception TypeError: Type error.
9 PASS createImageBitmap(image, undefined) threw exception TypeError: Type error. 9 PASS createImageBitmap(image, undefined) threw exception TypeError: Type error.
10 PASS createImageBitmap(image, shouldNotBeCalled, 0, 0, 10, 0) threw exception In dexSizeError: Index or size was negative, or greater than the allowed value.. 10 PASS createImageBitmap(image, shouldNotBeCalled, 0, 0, 10, 0) threw exception In dexSizeError: Index or size was negative, or greater than the allowed value..
11 PASS createImageBitmap(image, shouldNotBeCalled, 0, 0, 0, 10) threw exception In dexSizeError: Index or size was negative, or greater than the allowed value.. 11 PASS createImageBitmap(image, shouldNotBeCalled, 0, 0, 0, 10) threw exception In dexSizeError: Index or size was negative, or greater than the allowed value..
12 PASS createImageBitmap(video, undefined) threw exception TypeError: Type error. 12 PASS createImageBitmap(video, undefined) threw exception TypeError: Type error.
13 PASS createImageBitmap(video, shouldNotBeCalled, 0, 0, 10, 0) threw exception In dexSizeError: Index or size was negative, or greater than the allowed value.. 13 PASS createImageBitmap(video, shouldNotBeCalled, 0, 0, 10, 0) threw exception In dexSizeError: Index or size was negative, or greater than the allowed value..
14 PASS createImageBitmap(video, shouldNotBeCalled, 0, 0, 0, 10) threw exception In dexSizeError: Index or size was negative, or greater than the allowed value.. 14 PASS createImageBitmap(video, shouldNotBeCalled, 0, 0, 0, 10) threw exception In dexSizeError: Index or size was negative, or greater than the allowed value..
15 PASS createImageBitmap(aCanvas, undefined) threw exception TypeError: Type error . 15 PASS createImageBitmap(aCanvas, undefined) threw exception TypeError: Type error .
16 PASS createImageBitmap(aCanvas, shouldNotBeCalled, 0, 0, 10, 0) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value.. 16 PASS createImageBitmap(aCanvas, shouldNotBeCalled, 0, 0, 10, 0) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
17 PASS createImageBitmap(aCanvas, shouldNotBeCalled, 0, 0, 0, 10) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value.. 17 PASS createImageBitmap(aCanvas, shouldNotBeCalled, 0, 0, 0, 10) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
18 PASS createImageBitmap(d, undefined) threw exception TypeError: Type error. 18 PASS createImageBitmap(d, undefined) threw exception TypeError: Type error.
19 PASS createImageBitmap(d, shouldNotBeCalled, 0, 0, 10, 0) threw exception IndexS izeError: Index or size was negative, or greater than the allowed value.. 19 PASS createImageBitmap(d, shouldNotBeCalled, 0, 0, 10, 0) threw exception IndexS izeError: Index or size was negative, or greater than the allowed value..
20 PASS createImageBitmap(d, shouldNotBeCalled, 0, 0, 0, 10) threw exception IndexS izeError: Index or size was negative, or greater than the allowed value.. 20 PASS createImageBitmap(d, shouldNotBeCalled, 0, 0, 0, 10) threw exception IndexS izeError: Index or size was negative, or greater than the allowed value..
21 PASS createImageBitmap(aCtx, undefined) threw exception TypeError: Type error. 21 PASS createImageBitmap(aCtx, undefined) threw exception TypeError: Type error.
22 PASS createImageBitmap(aCtx, shouldNotBeCalled, 0, 0, 10, 0) threw exception Ind exSizeError: Index or size was negative, or greater than the allowed value.. 22 PASS createImageBitmap(aCtx, shouldNotBeCalled, 0, 0, 10, 0) threw exception Ind exSizeError: Index or size was negative, or greater than the allowed value..
23 PASS createImageBitmap(aCtx, shouldNotBeCalled, 0, 0, 0, 10) threw exception Ind exSizeError: Index or size was negative, or greater than the allowed value.. 23 PASS createImageBitmap(aCtx, shouldNotBeCalled, 0, 0, 0, 10) threw exception Ind exSizeError: Index or size was negative, or greater than the allowed value..
24 PASS createImageBitmap(blob, undefined) threw exception TypeError: Type error.
25 PASS createImageBitmap(blob, shouldNotBeCalled, 0, 0, 10, 0) threw exception Ind exSizeError: Index or size was negative, or greater than the allowed value..
26 PASS createImageBitmap(blob, shouldNotBeCalled, 0, 0, 0, 10) threw exception Ind exSizeError: Index or size was negative, or greater than the allowed value..
24 PASS createImageBitmap(testBitmap, undefined) threw exception TypeError: Type er ror. 27 PASS createImageBitmap(testBitmap, undefined) threw exception TypeError: Type er ror.
25 PASS createImageBitmap(testBitmap, shouldNotBeCalled, 0, 0, 10, 0) threw excepti on IndexSizeError: Index or size was negative, or greater than the allowed value .. 28 PASS createImageBitmap(testBitmap, shouldNotBeCalled, 0, 0, 10, 0) threw excepti on IndexSizeError: Index or size was negative, or greater than the allowed value ..
26 PASS createImageBitmap(testBitmap, shouldNotBeCalled, 0, 0, 0, 10) threw excepti on IndexSizeError: Index or size was negative, or greater than the allowed value .. 29 PASS createImageBitmap(testBitmap, shouldNotBeCalled, 0, 0, 0, 10) threw excepti on IndexSizeError: Index or size was negative, or greater than the allowed value ..
27 PASS successfullyParsed is true 30 PASS successfullyParsed is true
28 31
29 TEST COMPLETE 32 TEST COMPLETE
30 33
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698