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

Unified Diff: third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-getContext-invalid.js

Issue 2674933002: Use testharness.js instead of js-test.js in LayoutTests/fast/canvas tests. (Closed)
Patch Set: Corrections 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-getContext-invalid.js
diff --git a/third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-getContext-invalid.js b/third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-getContext-invalid.js
deleted file mode 100644
index dec12679ad24d825856905bb1fe137784ae253ed..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-getContext-invalid.js
+++ /dev/null
@@ -1,13 +0,0 @@
-description("Test that invalid canvas getContext() requests return null.");
-
-canvas = document.createElement('canvas');
-
-shouldBe("canvas.getContext('')", "null");
-shouldBe("canvas.getContext('2d#')", "null");
-shouldBe("canvas.getContext('This is clearly not a valid context name.')", "null");
-shouldBe("canvas.getContext('2d\0')", "null");
-shouldBe("canvas.getContext('2\uFF44')", "null");
-shouldBe("canvas.getContext('2D')", "null");
-shouldThrow("canvas.getContext()");
-shouldBe("canvas.getContext('null')", "null");
-shouldBe("canvas.getContext('undefined')", "null");

Powered by Google App Engine
This is Rietveld 408576698