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

Side by Side Diff: LayoutTests/fast/canvas/canvas-overloads-drawImage-expected.txt

Issue 36843003: Improve remaining TypeErrors in bindings code. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: vibration. Created 7 years, 1 month 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 Test the behavior of CanvasRenderingContext2D.drawImage() when called with diffe rent numbers of arguments. 1 Test the behavior of CanvasRenderingContext2D.drawImage() when called with diffe rent numbers of arguments.
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 ctx.drawImage() threw exception TypeError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': 3 arguments required, but only 0 present.. 6 PASS ctx.drawImage() threw exception TypeError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': 3 arguments required, but only 0 present..
7 PASS ctx.drawImage(imageElement) threw exception TypeError: Failed to execute 'd rawImage' on 'CanvasRenderingContext2D': 3 arguments required, but only 1 presen t.. 7 PASS ctx.drawImage(imageElement) threw exception TypeError: Failed to execute 'd rawImage' on 'CanvasRenderingContext2D': 3 arguments required, but only 1 presen t..
8 PASS ctx.drawImage(imageElement, 0) threw exception TypeError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': 3 arguments required, but only 2 pre sent.. 8 PASS ctx.drawImage(imageElement, 0) threw exception TypeError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': 3 arguments required, but only 2 pre sent..
9 PASS ctx.drawImage(imageElement, 0, 0) is undefined 9 PASS ctx.drawImage(imageElement, 0, 0) is undefined
10 PASS ctx.drawImage(imageElement, 0, 0, 0) threw exception TypeError: Type error. 10 FAIL ctx.drawImage(imageElement, 0, 0, 0) should throw "TypeError: Failed to exe cute 'drawImage' on 'CanvasRenderingContext2D': No function was found that match ed the signature provided.". Threw exception TypeError: Failed to execute 'drawI mage' on 'CanvasRenderingContext2D': No function was found that matched the sign ature provided..
11 PASS ctx.drawImage(imageElement, 0, 0, 0, 0) is undefined 11 PASS ctx.drawImage(imageElement, 0, 0, 0, 0) is undefined
12 PASS ctx.drawImage(imageElement, 0, 0, 0, 0, 0) threw exception TypeError: Type error. 12 FAIL ctx.drawImage(imageElement, 0, 0, 0, 0, 0) should throw "TypeError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': No function was found that matched the signature provided.". Threw exception TypeError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': No function was found that matched th e signature provided..
13 PASS ctx.drawImage(imageElement, 0, 0, 0, 0, 0, 0) threw exception TypeError: Ty pe error. 13 FAIL ctx.drawImage(imageElement, 0, 0, 0, 0, 0, 0) should throw "TypeError: Fail ed to execute 'drawImage' on 'CanvasRenderingContext2D': No function was found t hat matched the signature provided.". Threw exception TypeError: Failed to execu te 'drawImage' on 'CanvasRenderingContext2D': No function was found that matched the signature provided..
14 PASS ctx.drawImage(imageElement, 0, 0, 0, 0, 0, 0, 0) threw exception TypeError: Type error. 14 FAIL ctx.drawImage(imageElement, 0, 0, 0, 0, 0, 0, 0) should throw "TypeError: F ailed to execute 'drawImage' on 'CanvasRenderingContext2D': No function was foun d that matched the signature provided.". Threw exception TypeError: Failed to ex ecute 'drawImage' on 'CanvasRenderingContext2D': No function was found that matc hed the signature provided..
15 PASS ctx.drawImage(imageElement, 0, 0, 0, 0, 0, 0, 0, 0) is undefined 15 PASS ctx.drawImage(imageElement, 0, 0, 0, 0, 0, 0, 0, 0) is undefined
16 PASS ctx.drawImage(imageElement, 0, 0, 0, 0, 0, 0, 0, 0, 0) threw exception Type Error: Type error. 16 FAIL ctx.drawImage(imageElement, 0, 0, 0, 0, 0, 0, 0, 0, 0) should throw "TypeEr ror: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': No function wa s found that matched the signature provided.". Threw exception TypeError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': No function was found tha t matched the signature provided..
17 PASS ctx.drawImage(imageElement, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) threw exception T ypeError: Type error. 17 FAIL ctx.drawImage(imageElement, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) should throw "Typ eError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': No function was found that matched the signature provided.". Threw exception TypeError: Fai led to execute 'drawImage' on 'CanvasRenderingContext2D': No function was found that matched the signature provided..
18 PASS ctx.drawImage(canvasElement) threw exception TypeError: Failed to execute ' drawImage' on 'CanvasRenderingContext2D': 3 arguments required, but only 1 prese nt.. 18 PASS ctx.drawImage(canvasElement) threw exception TypeError: Failed to execute ' drawImage' on 'CanvasRenderingContext2D': 3 arguments required, but only 1 prese nt..
19 PASS ctx.drawImage(canvasElement, 0) threw exception TypeError: Failed to execut e 'drawImage' on 'CanvasRenderingContext2D': 3 arguments required, but only 2 pr esent.. 19 PASS ctx.drawImage(canvasElement, 0) threw exception TypeError: Failed to execut e 'drawImage' on 'CanvasRenderingContext2D': 3 arguments required, but only 2 pr esent..
20 PASS ctx.drawImage(canvasElement, 0, 0) is undefined 20 PASS ctx.drawImage(canvasElement, 0, 0) is undefined
21 PASS ctx.drawImage(canvasElement, 0, 0, 0) threw exception TypeError: Type error . 21 FAIL ctx.drawImage(canvasElement, 0, 0, 0) should throw "TypeError: Failed to ex ecute 'drawImage' on 'CanvasRenderingContext2D': No function was found that matc hed the signature provided.". Threw exception TypeError: Failed to execute 'draw Image' on 'CanvasRenderingContext2D': No function was found that matched the sig nature provided..
22 PASS ctx.drawImage(canvasElement, 0, 0, 0, 0) is undefined 22 PASS ctx.drawImage(canvasElement, 0, 0, 0, 0) is undefined
23 PASS ctx.drawImage(canvasElement, 0, 0, 0, 0, 0) threw exception TypeError: Type error. 23 FAIL ctx.drawImage(canvasElement, 0, 0, 0, 0, 0) should throw "TypeError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': No function was found tha t matched the signature provided.". Threw exception TypeError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': No function was found that matched t he signature provided..
24 PASS ctx.drawImage(canvasElement, 0, 0, 0, 0, 0, 0) threw exception TypeError: T ype error. 24 FAIL ctx.drawImage(canvasElement, 0, 0, 0, 0, 0, 0) should throw "TypeError: Fai led to execute 'drawImage' on 'CanvasRenderingContext2D': No function was found that matched the signature provided.". Threw exception TypeError: Failed to exec ute 'drawImage' on 'CanvasRenderingContext2D': No function was found that matche d the signature provided..
25 PASS ctx.drawImage(canvasElement, 0, 0, 0, 0, 0, 0, 0) threw exception TypeError : Type error. 25 FAIL ctx.drawImage(canvasElement, 0, 0, 0, 0, 0, 0, 0) should throw "TypeError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': No function was fou nd that matched the signature provided.". Threw exception TypeError: Failed to e xecute 'drawImage' on 'CanvasRenderingContext2D': No function was found that mat ched the signature provided..
26 PASS ctx.drawImage(canvasElement, 0, 0, 0, 0, 0, 0, 0, 0) threw exception IndexS izeError: Index or size was negative, or greater than the allowed value.. 26 PASS ctx.drawImage(canvasElement, 0, 0, 0, 0, 0, 0, 0, 0) threw exception IndexS izeError: Index or size was negative, or greater than the allowed value..
27 PASS ctx.drawImage(canvasElement, 0, 0, 0, 0, 0, 0, 0, 0, 0) threw exception Typ eError: Type error. 27 FAIL ctx.drawImage(canvasElement, 0, 0, 0, 0, 0, 0, 0, 0, 0) should throw "TypeE rror: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': No function w as found that matched the signature provided.". Threw exception TypeError: Faile d to execute 'drawImage' on 'CanvasRenderingContext2D': No function was found th at matched the signature provided..
28 PASS ctx.drawImage(canvasElement, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) threw exception TypeError: Type error. 28 FAIL ctx.drawImage(canvasElement, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) should throw "Ty peError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': No functio n was found that matched the signature provided.". Threw exception TypeError: Fa iled to execute 'drawImage' on 'CanvasRenderingContext2D': No function was found that matched the signature provided..
29 PASS successfullyParsed is true 29 PASS successfullyParsed is true
30 30
31 TEST COMPLETE 31 TEST COMPLETE
32 32
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698