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

Unified Diff: third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-getImageData-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-getImageData-invalid.js
diff --git a/third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-getImageData-invalid.js b/third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-getImageData-invalid.js
deleted file mode 100644
index f29db675f7b255677e11fd0c5cf363a757c08563..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-getImageData-invalid.js
+++ /dev/null
@@ -1,18 +0,0 @@
-description("Test the handling of invalid arguments in canvas getImageData().");
-
-ctx = document.createElement('canvas').getContext('2d');
-
-shouldThrow("ctx.getImageData(NaN, 10, 10, 10)");
-shouldThrow("ctx.getImageData(10, NaN, 10, 10)");
-shouldThrow("ctx.getImageData(10, 10, NaN, 10)");
-shouldThrow("ctx.getImageData(10, 10, 10, NaN)");
-shouldThrow("ctx.getImageData(Infinity, 10, 10, 10)");
-shouldThrow("ctx.getImageData(10, Infinity, 10, 10)");
-shouldThrow("ctx.getImageData(10, 10, Infinity, 10)");
-shouldThrow("ctx.getImageData(10, 10, 10, Infinity)");
-shouldThrow("ctx.getImageData(undefined, 10, 10, 10)");
-shouldThrow("ctx.getImageData(10, undefined, 10, 10)");
-shouldThrow("ctx.getImageData(10, 10, undefined, 10)");
-shouldThrow("ctx.getImageData(10, 10, 10, undefined)");
-shouldThrow("ctx.getImageData(10, 10, 0, 10)");
-shouldThrow("ctx.getImageData(10, 10, 10, 0)");

Powered by Google App Engine
This is Rietveld 408576698