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

Unified Diff: LayoutTests/fast/canvas/script-tests/canvas-overloads-setFillColor.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-setFillColor.js
diff --git a/LayoutTests/fast/canvas/script-tests/canvas-overloads-setFillColor.js b/LayoutTests/fast/canvas/script-tests/canvas-overloads-setFillColor.js
deleted file mode 100644
index 1a6866612dc7bd3cf5f3a78460cae5aec30dc979..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/canvas/script-tests/canvas-overloads-setFillColor.js
+++ /dev/null
@@ -1,12 +0,0 @@
-description("Test the behavior of CanvasRenderingContext2D.setFillColor() when called with different numbers of arguments.");
-
-var ctx = document.createElement('canvas').getContext('2d');
-
-shouldThrow("ctx.setFillColor()");
-shouldBe("ctx.setFillColor('red')", "undefined");
-shouldBe("ctx.setFillColor(0)", "undefined");
-shouldBe("ctx.setFillColor(0, 0)", "undefined");
-shouldThrow("ctx.setFillColor(0, 0, 0)");
-shouldBe("ctx.setFillColor(0, 0, 0, 0)", "undefined");
-shouldBe("ctx.setFillColor(0, 0, 0, 0, 0)", "undefined");
-shouldBe("ctx.setFillColor(0, 0, 0, 0, 0, 0)", "undefined");

Powered by Google App Engine
This is Rietveld 408576698