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

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

Issue 14972014: Remove an overloaded strokeRect in <canvas> (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 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
OLDNEW
(Empty)
1 Test the behavior of CanvasRenderingContext2D.strokeRect() when called with diff erent numbers of arguments.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS ctx.strokeRect() threw exception TypeError: Not enough arguments.
7 PASS ctx.strokeRect(0) threw exception TypeError: Not enough arguments.
8 PASS ctx.strokeRect(0, 0) threw exception TypeError: Not enough arguments.
9 PASS ctx.strokeRect(0, 0, 0) threw exception TypeError: Not enough arguments.
10 PASS ctx.strokeRect(0, 0, 0, 0) is undefined
11 PASS ctx.strokeRect(0, 0, 0, 0, 0) is undefined
Stephen White 2013/05/10 12:27:14 This is the only test case that should fail, corre
12 PASS successfullyParsed is true
13
14 TEST COMPLETE
15
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698