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

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

Issue 16818023: DOMException toString is not correct (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 6 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 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: Not enough arguments. 6 PASS ctx.drawImage() threw exception TypeError: Not enough arguments.
7 PASS ctx.drawImage(imageElement) threw exception TypeError: Not enough arguments . 7 PASS ctx.drawImage(imageElement) threw exception TypeError: Not enough arguments .
8 PASS ctx.drawImage(imageElement, 0) threw exception TypeError: Not enough argume nts. 8 PASS ctx.drawImage(imageElement, 0) threw exception TypeError: Not enough argume nts.
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 PASS ctx.drawImage(imageElement, 0, 0, 0) threw exception TypeError: Type error.
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 PASS ctx.drawImage(imageElement, 0, 0, 0, 0, 0) threw exception TypeError: Type error.
13 PASS ctx.drawImage(imageElement, 0, 0, 0, 0, 0, 0) threw exception TypeError: Ty pe error. 13 PASS ctx.drawImage(imageElement, 0, 0, 0, 0, 0, 0) threw exception TypeError: Ty pe error.
14 PASS ctx.drawImage(imageElement, 0, 0, 0, 0, 0, 0, 0) threw exception TypeError: Type error. 14 PASS ctx.drawImage(imageElement, 0, 0, 0, 0, 0, 0, 0) threw exception TypeError: Type error.
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 PASS ctx.drawImage(imageElement, 0, 0, 0, 0, 0, 0, 0, 0, 0) threw exception Type Error: Type error.
17 PASS ctx.drawImage(imageElement, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) threw exception T ypeError: Type error. 17 PASS ctx.drawImage(imageElement, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) threw exception T ypeError: Type error.
18 PASS ctx.drawImage(canvasElement) threw exception TypeError: Not enough argument s. 18 PASS ctx.drawImage(canvasElement) threw exception TypeError: Not enough argument s.
19 PASS ctx.drawImage(canvasElement, 0) threw exception TypeError: Not enough argum ents. 19 PASS ctx.drawImage(canvasElement, 0) threw exception TypeError: Not enough argum ents.
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 PASS ctx.drawImage(canvasElement, 0, 0, 0) threw exception TypeError: Type error .
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 PASS ctx.drawImage(canvasElement, 0, 0, 0, 0, 0) threw exception TypeError: Type error.
24 PASS ctx.drawImage(canvasElement, 0, 0, 0, 0, 0, 0) threw exception TypeError: T ype error. 24 PASS ctx.drawImage(canvasElement, 0, 0, 0, 0, 0, 0) threw exception TypeError: T ype error.
25 PASS ctx.drawImage(canvasElement, 0, 0, 0, 0, 0, 0, 0) threw exception TypeError : Type error. 25 PASS ctx.drawImage(canvasElement, 0, 0, 0, 0, 0, 0, 0) threw exception TypeError : Type error.
26 PASS ctx.drawImage(canvasElement, 0, 0, 0, 0, 0, 0, 0, 0) threw exception Error: IndexSizeError: DOM Exception 1. 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 PASS ctx.drawImage(canvasElement, 0, 0, 0, 0, 0, 0, 0, 0, 0) threw exception Typ eError: Type error.
28 PASS ctx.drawImage(canvasElement, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) threw exception TypeError: Type error. 28 PASS ctx.drawImage(canvasElement, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) threw exception TypeError: Type error.
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