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

Unified Diff: third_party/WebKit/LayoutTests/fast/canvas/webgl/array-get-out-of-bounds.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-get-out-of-bounds.html
diff --git a/third_party/WebKit/LayoutTests/fast/canvas/webgl/array-get-out-of-bounds.html b/third_party/WebKit/LayoutTests/fast/canvas/webgl/array-get-out-of-bounds.html
deleted file mode 100644
index bf6bbe4c75176e7a27223fc2770000a35c2f8c39..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/canvas/webgl/array-get-out-of-bounds.html
+++ /dev/null
@@ -1,38 +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 calling the indexing operator on WebGLArrays with out-of-range indices returns undefined.");
-
-debug('Regression test for <a href="https://bugs.webkit.org/show_bug.cgi?id=38039">https://bugs.webkit.org/show_bug.cgi?id=38039</a>');
-
-// Global scope so shouldThrow can see it
-var webGLArray;
-
-function testGetWithOutOfRangeIndices(typeName) {
- var type = window[typeName];
- webGLArray = new type([2, 3]);
- shouldBeUndefined("webGLArray[2]");
- shouldBeUndefined("webGLArray[-1]");
- shouldBeUndefined("webGLArray[0x20000000]");
-}
-
-testGetWithOutOfRangeIndices("Int8Array");
-testGetWithOutOfRangeIndices("Uint8Array");
-testGetWithOutOfRangeIndices("Int16Array");
-testGetWithOutOfRangeIndices("Uint16Array");
-testGetWithOutOfRangeIndices("Int32Array");
-testGetWithOutOfRangeIndices("Uint32Array");
-testGetWithOutOfRangeIndices("Float32Array");
-
-</script>
-
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698