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

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

Issue 408813007: Remove non-standard API entry points in CanvasRenderingContext2D (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove some unnecessary mac/virtual/gpu baselines Created 6 years, 1 month 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-setShadow.js
diff --git a/LayoutTests/fast/canvas/script-tests/canvas-overloads-setShadow.js b/LayoutTests/fast/canvas/script-tests/canvas-overloads-setShadow.js
deleted file mode 100644
index 69c7a45c9aea7a8df97d8e5bfafb7535df35ef35..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/canvas/script-tests/canvas-overloads-setShadow.js
+++ /dev/null
@@ -1,18 +0,0 @@
-description("Test the behavior of CanvasRenderingContext2D.setShadow() when called with different numbers of arguments.");
-
-var ctx = document.createElement('canvas').getContext('2d');
-
-shouldThrow("ctx.setShadow()");
-shouldThrow("ctx.setShadow(0)");
-shouldThrow("ctx.setShadow(0, 0)");
-shouldBe("ctx.setShadow(0, 0, 0)", "undefined");
-shouldBe("ctx.setShadow(0, 0, 0, 0)", "undefined");
-shouldBe("ctx.setShadow(0, 0, 0, 0, 0)", "undefined");
-shouldThrow("ctx.setShadow(0, 0, 0, 0, 0, 0)");
-shouldBe("ctx.setShadow(0, 0, 0, 0, 'red')", "undefined");
-shouldThrow("ctx.setShadow(0, 0, 0, 0, 'red', 0)");
-shouldBe("ctx.setShadow(0, 0, 0, 0, 'red', 0, 0)", "undefined");
-shouldThrow("ctx.setShadow(0, 0, 0, 0, 0, 0)");
-shouldBe("ctx.setShadow(0, 0, 0, 0, 0, 0, 0)", "undefined");
-shouldBe("ctx.setShadow(0, 0, 0, 0, 0, 0, 0, 0)", "undefined");
-shouldBe("ctx.setShadow(0, 0, 0, 0, 0, 0, 0, 0, 0)", "undefined");

Powered by Google App Engine
This is Rietveld 408576698