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

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

Issue 24203002: Improve generated "Not enough arguments." TypeError exceptions. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: NeedsRebaseline Created 7 years, 3 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.fillText() when called with differ ent numbers of arguments. 1 Test the behavior of CanvasRenderingContext2D.fillText() when called with differ ent 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.fillText() threw exception TypeError: Not enough arguments. 6 PASS ctx.fillText() threw exception TypeError: Failed to execute 'fillText' on ' CanvasRenderingContext2D': 3 arguments required, but only 0 present..
7 PASS ctx.fillText('moo') threw exception TypeError: Not enough arguments. 7 PASS ctx.fillText('moo') threw exception TypeError: Failed to execute 'fillText' on 'CanvasRenderingContext2D': 3 arguments required, but only 1 present..
8 PASS ctx.fillText('moo',0) threw exception TypeError: Not enough arguments. 8 PASS ctx.fillText('moo',0) threw exception TypeError: Failed to execute 'fillTex t' on 'CanvasRenderingContext2D': 3 arguments required, but only 2 present..
9 PASS ctx.fillText('moo',0,0) is undefined 9 PASS ctx.fillText('moo',0,0) is undefined
10 PASS ctx.fillText('moo',0,0,0) is undefined 10 PASS ctx.fillText('moo',0,0,0) is undefined
11 PASS ctx.fillText('moo',0,0,0,0) is undefined 11 PASS ctx.fillText('moo',0,0,0,0) is undefined
12 PASS successfullyParsed is true 12 PASS successfullyParsed is true
13 13
14 TEST COMPLETE 14 TEST COMPLETE
15 15
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698