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

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

Issue 291563004: Overload resolution: ignore extra arguments (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebaseline Created 6 years, 7 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
« no previous file with comments | « no previous file | LayoutTests/fast/canvas/canvas-overloads-setFillColor-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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: Failed to e xecute 'drawImage' on 'CanvasRenderingContext2D': Valid arities are: [3, 5, 9], but 4 arguments provided.. 10 PASS ctx.drawImage(imageElement, 0, 0, 0) threw exception TypeError: Failed to e xecute 'drawImage' on 'CanvasRenderingContext2D': Valid arities are: [3, 5, 9], but 4 arguments 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: Faile d to execute 'drawImage' on 'CanvasRenderingContext2D': Valid arities are: [3, 5 , 9], but 6 arguments provided.. 12 PASS ctx.drawImage(imageElement, 0, 0, 0, 0, 0) threw exception TypeError: Faile d to execute 'drawImage' on 'CanvasRenderingContext2D': Valid arities are: [3, 5 , 9], but 6 arguments provided..
13 PASS ctx.drawImage(imageElement, 0, 0, 0, 0, 0, 0) threw exception TypeError: Fa iled to execute 'drawImage' on 'CanvasRenderingContext2D': Valid arities are: [3 , 5, 9], but 7 arguments provided.. 13 PASS ctx.drawImage(imageElement, 0, 0, 0, 0, 0, 0) threw exception TypeError: Fa iled to execute 'drawImage' on 'CanvasRenderingContext2D': Valid arities are: [3 , 5, 9], but 7 arguments provided..
14 PASS ctx.drawImage(imageElement, 0, 0, 0, 0, 0, 0, 0) threw exception TypeError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': Valid arities are: [3, 5, 9], but 8 arguments provided.. 14 PASS ctx.drawImage(imageElement, 0, 0, 0, 0, 0, 0, 0) threw exception TypeError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': Valid arities are: [3, 5, 9], but 8 arguments 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: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': Valid aritie s are: [3, 5, 9], but 10 arguments provided.. 16 PASS ctx.drawImage(imageElement, 0, 0, 0, 0, 0, 0, 0, 0, 0) is undefined
17 PASS ctx.drawImage(imageElement, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) threw exception T ypeError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': Valid ari ties are: [3, 5, 9], but 11 arguments provided.. 17 PASS ctx.drawImage(imageElement, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) is undefined
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: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': Valid arities are: [3, 5, 9], but 4 arguments provided.. 21 PASS ctx.drawImage(canvasElement, 0, 0, 0) threw exception TypeError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': Valid arities are: [3, 5, 9], but 4 arguments 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: Fail ed to execute 'drawImage' on 'CanvasRenderingContext2D': Valid arities are: [3, 5, 9], but 6 arguments provided.. 23 PASS ctx.drawImage(canvasElement, 0, 0, 0, 0, 0) threw exception TypeError: Fail ed to execute 'drawImage' on 'CanvasRenderingContext2D': Valid arities are: [3, 5, 9], but 6 arguments provided..
24 PASS ctx.drawImage(canvasElement, 0, 0, 0, 0, 0, 0) threw exception TypeError: F ailed to execute 'drawImage' on 'CanvasRenderingContext2D': Valid arities are: [ 3, 5, 9], but 7 arguments provided.. 24 PASS ctx.drawImage(canvasElement, 0, 0, 0, 0, 0, 0) threw exception TypeError: F ailed to execute 'drawImage' on 'CanvasRenderingContext2D': Valid arities are: [ 3, 5, 9], but 7 arguments provided..
25 PASS ctx.drawImage(canvasElement, 0, 0, 0, 0, 0, 0, 0) threw exception TypeError : Failed to execute 'drawImage' on 'CanvasRenderingContext2D': Valid arities are : [3, 5, 9], but 8 arguments provided.. 25 PASS ctx.drawImage(canvasElement, 0, 0, 0, 0, 0, 0, 0) threw exception TypeError : Failed to execute 'drawImage' on 'CanvasRenderingContext2D': Valid arities are : [3, 5, 9], but 8 arguments provided..
26 PASS ctx.drawImage(canvasElement, 0, 0, 0, 0, 0, 0, 0, 0) is undefined 26 PASS ctx.drawImage(canvasElement, 0, 0, 0, 0, 0, 0, 0, 0) is undefined
27 PASS ctx.drawImage(canvasElement, 0, 0, 0, 0, 0, 0, 0, 0, 0) threw exception Typ eError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': Valid ariti es are: [3, 5, 9], but 10 arguments provided.. 27 PASS ctx.drawImage(canvasElement, 0, 0, 0, 0, 0, 0, 0, 0, 0) is undefined
28 PASS ctx.drawImage(canvasElement, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) threw exception TypeError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': Valid ar ities are: [3, 5, 9], but 11 arguments provided.. 28 PASS ctx.drawImage(canvasElement, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) is undefined
29 PASS successfullyParsed is true 29 PASS successfullyParsed is true
30 30
31 TEST COMPLETE 31 TEST COMPLETE
32 32
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/canvas/canvas-overloads-setFillColor-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698