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

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: Use IntRect() instead of IntRect(0, 0, 0, 0) Created 7 years, 4 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: An attempt was made to use an object that is not, or is no longer, usable.. 6 PASS createImageBitmap(image) threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
7 PASS createImageBitmap(video) threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable.. 7 PASS createImageBitmap(video) threw exception InvalidStateError: 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) threw exception TypeError: Type error.
9 PASS createImageBitmap(image, 0, 0, 10, 0) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value.. 9 PASS createImageBitmap(image, 0, 0, 10, 0) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
10 PASS createImageBitmap(image, 0, 0, 0, 10) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value.. 10 PASS createImageBitmap(image, 0, 0, 0, 10) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
11 PASS createImageBitmap(video, 0, 0, 10, 0) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value.. 11 PASS createImageBitmap(video, 0, 0, 10, 0) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
12 PASS createImageBitmap(video, 0, 0, 0, 10) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value.. 12 PASS createImageBitmap(video, 0, 0, 0, 10) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
13 PASS createImageBitmap(aCanvas, 0, 0, 10, 0) threw exception IndexSizeError: Ind ex or size was negative, or greater than the allowed value.. 13 PASS createImageBitmap(aCanvas, 0, 0, 10, 0) threw exception IndexSizeError: Ind ex or size was negative, or greater than the allowed value..
14 PASS createImageBitmap(aCanvas, 0, 0, 0, 10) threw exception IndexSizeError: Ind ex or size was negative, or greater than the allowed value.. 14 PASS createImageBitmap(aCanvas, 0, 0, 0, 10) threw exception IndexSizeError: Ind ex or size was negative, or greater than the allowed value..
15 PASS createImageBitmap(d, 0, 0, 10, 0) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value.. 15 PASS createImageBitmap(d, 0, 0, 10, 0) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
16 PASS createImageBitmap(d, 0, 0, 0, 10) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value.. 16 PASS createImageBitmap(d, 0, 0, 0, 10) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
17 PASS createImageBitmap(aCtx, 0, 0, 10, 0) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value.. 17 PASS createImageBitmap(aCtx, 0, 0, 10, 0) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
18 PASS createImageBitmap(aCtx, 0, 0, 0, 10) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value.. 18 PASS createImageBitmap(aCtx, 0, 0, 0, 10) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
19 PASS createImageBitmap(testBitmap, 0, 0, 10, 0) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value.. 19 PASS createImageBitmap(testBitmap, 0, 0, 10, 0) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
20 PASS createImageBitmap(testBitmap, 0, 0, 0, 10) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value.. 20 PASS createImageBitmap(testBitmap, 0, 0, 0, 10) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
21 PASS createImageBitmap(blob, 0, 0, 10, 0) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
22 PASS createImageBitmap(blob, 0, 0, 0, 10) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
23 PASS createImageBitmap(invalidBlob) was rejected.
21 PASS successfullyParsed is true 24 PASS successfullyParsed is true
22 25
23 TEST COMPLETE 26 TEST COMPLETE
24 27
OLDNEW
« no previous file with comments | « LayoutTests/fast/canvas/canvas-createImageBitmap-invalid-args.html ('k') | Source/core/core.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698