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-set-with-offset.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-with-offset.html
diff --git a/third_party/WebKit/LayoutTests/fast/canvas/webgl/array-set-with-offset.html b/third_party/WebKit/LayoutTests/fast/canvas/webgl/array-set-with-offset.html
deleted file mode 100644
index ab30375d2d85d5466048893b3f61c6cef1c49fbe..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/canvas/webgl/array-set-with-offset.html
+++ /dev/null
@@ -1,44 +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("Test setting WebGL array with offset");
-
-debug('Regression test for <a href="https://bugs.webkit.org/show_bug.cgi?id=76040">https://bugs.webkit.org/show_bug.cgi?id=76040</a> : <code>Int16Array.set(array, offset) fails on first execution</code>');
-
-var webGLArray = null;
-var array = null;
-var bounds = null;
-
-function testSetters(typeName, low, high) {
- bounds = [low, high];
- var type = window[typeName];
- var array_buffer = new ArrayBuffer(32);
- webGLArray = new type(array_buffer);
- debug("Testing " + typeName);
- array = [1, 2, low, high];
- webGLArray.set(array, 1);
- shouldBe("webGLArray[0]", "0");
- shouldBe("webGLArray[1]", "1");
- shouldBe("webGLArray[2]", "2");
- shouldBe("webGLArray[3]", "bounds[0]");
- shouldBe("webGLArray[4]", "bounds[1]");
-}
-
-testSetters("Int8Array", -128, 127);
-testSetters("Uint8Array", 0, 255);
-testSetters("Int16Array", -32768, 32767);
-testSetters("Uint16Array", 0, 65535);
-testSetters("Int32Array", -2147483648, 2147483647);
-testSetters("Uint32Array", 0, 4294967295);
-testSetters("Float32Array", -2.5, 3.5);
-</script>
-
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698