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

Unified Diff: LayoutTests/fast/canvas/script-tests/canvas-overloads-strokeRect.js

Issue 14654002: Make optional arguments in CanvasRenderingContext2D match the spec [1]. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 8 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/script-tests/canvas-overloads-strokeRect.js
diff --git a/LayoutTests/fast/canvas/script-tests/canvas-overloads-strokeRect.js b/LayoutTests/fast/canvas/script-tests/canvas-overloads-strokeRect.js
index 3d6b18a1d502a347549cdb6cdb89d18765e58591..1825aaa5981c19b708d9d3ced5bc5597c440a4e4 100644
--- a/LayoutTests/fast/canvas/script-tests/canvas-overloads-strokeRect.js
+++ b/LayoutTests/fast/canvas/script-tests/canvas-overloads-strokeRect.js
@@ -5,9 +5,5 @@ var ctx = document.createElement('canvas').getContext('2d');
var SyntaxError = "SyntaxError: Syntax error";
var TypeError = "TypeError: Type error";
-shouldBe("ctx.strokeRect()", "undefined");
-shouldBe("ctx.strokeRect(0)", "undefined");
-shouldBe("ctx.strokeRect(0, 0)", "undefined");
-shouldBe("ctx.strokeRect(0, 0, 0)", "undefined");
shouldBe("ctx.strokeRect(0, 0, 0, 0)", "undefined");
shouldBe("ctx.strokeRect(0, 0, 0, 0, 0)", "undefined");

Powered by Google App Engine
This is Rietveld 408576698