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

Unified Diff: third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-overloads-fillText.js

Issue 2694703004: Use testharness.js instead of js-test.js in LayoutTests/fast/canvas tests. (Closed)
Patch Set: Created 3 years, 10 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: third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-overloads-fillText.js
diff --git a/third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-overloads-fillText.js b/third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-overloads-fillText.js
deleted file mode 100644
index 452bfc317103698a955806111c0f47e38237bc2b..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-overloads-fillText.js
+++ /dev/null
@@ -1,14 +0,0 @@
-description("Test the behavior of CanvasRenderingContext2D.fillText() when called with different numbers of arguments.");
-
-var ctx = document.createElement('canvas').getContext('2d');
-
-function ExpectedNotEnoughArgumentsMessage(num) {
- return "\"TypeError: Failed to execute 'fillText' on 'CanvasRenderingContext2D': 3 arguments required, but only " + num + " present.\"";
-}
-
-shouldThrow("ctx.fillText()", ExpectedNotEnoughArgumentsMessage(0));
-shouldThrow("ctx.fillText('moo')", ExpectedNotEnoughArgumentsMessage(1));
-shouldThrow("ctx.fillText('moo',0)", ExpectedNotEnoughArgumentsMessage(2));
-shouldBe("ctx.fillText('moo',0,0)", "undefined");
-shouldBe("ctx.fillText('moo',0,0,0)", "undefined");
-shouldBe("ctx.fillText('moo',0,0,0,0)", "undefined");

Powered by Google App Engine
This is Rietveld 408576698