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

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

Issue 14654002: Make optional arguments in CanvasRenderingContext2D match the spec [1]. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Amend inspector/profiler/canvas2d/canvas2d-profiler-capturing-basics.html 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/canvas/canvas-overloads-strokeRect-expected.txt
diff --git a/LayoutTests/fast/canvas/canvas-overloads-strokeRect-expected.txt b/LayoutTests/fast/canvas/canvas-overloads-strokeRect-expected.txt
index e0dde3a1b1a464fd47174797b3cce28c41582568..8e80703f91c33eefda748eded9c5d6382990cabb 100644
--- a/LayoutTests/fast/canvas/canvas-overloads-strokeRect-expected.txt
+++ b/LayoutTests/fast/canvas/canvas-overloads-strokeRect-expected.txt
@@ -3,10 +3,10 @@ Test the behavior of CanvasRenderingContext2D.strokeRect() when called with diff
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS ctx.strokeRect() is undefined
-PASS ctx.strokeRect(0) is undefined
-PASS ctx.strokeRect(0, 0) is undefined
-PASS ctx.strokeRect(0, 0, 0) is undefined
+PASS ctx.strokeRect() threw exception TypeError: Not enough arguments.
+PASS ctx.strokeRect(0) threw exception TypeError: Not enough arguments.
+PASS ctx.strokeRect(0, 0) threw exception TypeError: Not enough arguments.
+PASS ctx.strokeRect(0, 0, 0) threw exception TypeError: Not enough arguments.
PASS ctx.strokeRect(0, 0, 0, 0) is undefined
PASS ctx.strokeRect(0, 0, 0, 0, 0) is undefined
PASS successfullyParsed is true

Powered by Google App Engine
This is Rietveld 408576698