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

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

Issue 2694703004: Use testharness.js instead of js-test.js in LayoutTests/fast/canvas tests. (Closed)
Patch Set: Created 3 years, 10 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
OLDNEW
(Empty)
1 Test the behavior of CanvasRenderingContext2D.drawImage() when called with diffe rent numbers of arguments.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
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..
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
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
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..
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
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) is undefined
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..
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..
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..
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..
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) is undefined
28 PASS ctx.drawImage(canvasElement, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) is undefined
29 PASS successfullyParsed is true
30
31 TEST COMPLETE
32
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698