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

Unified Diff: third_party/WebKit/LayoutTests/fast/canvas/webgl/array-set-invalid-arguments.html

Issue 2447493002: Removed some duplicate layout tests under fast/canvas/webgl (Closed)
Patch Set: Created 4 years, 2 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/webgl/array-set-invalid-arguments.html
diff --git a/third_party/WebKit/LayoutTests/fast/canvas/webgl/array-set-invalid-arguments.html b/third_party/WebKit/LayoutTests/fast/canvas/webgl/array-set-invalid-arguments.html
deleted file mode 100644
index 8ecfd9f8299f24939deccf84aa240021e60d05c0..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/canvas/webgl/array-set-invalid-arguments.html
+++ /dev/null
@@ -1,40 +0,0 @@
-<html>
-<head>
-<script src="../../../resources/js-test.js"></script>
-<script src="resources/webgl-test.js"></script>
-</head>
-<body>
-<div id="description"></div>
-<div id="console"></div>
-
-<script>
-
-description("Verifies that attempting to set invalid elements to a Typed Array throws an exception");
-
-// Global scope so shouldThrow can see it
-var typedArray, otherArray;
-
-function negativeTestSet(typeName) {
- var type = window[typeName];
- typedArray = new type(10);
-
- shouldThrow("typedArray.set()");
- shouldThrow("typedArray.set('hello world')");
-
- otherArray = new type(typedArray.length);
- shouldThrow("typedArray.set(otherArray, 1)");
-}
-
-negativeTestSet("Int8Array");
-negativeTestSet("Uint8Array");
-negativeTestSet("Int16Array");
-negativeTestSet("Uint16Array");
-negativeTestSet("Int32Array");
-negativeTestSet("Uint32Array");
-negativeTestSet("Float32Array");
-
-</script>
-
-</body>
-</html>
-

Powered by Google App Engine
This is Rietveld 408576698