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

Unified Diff: third_party/WebKit/LayoutTests/fast/canvas/webgl/uniform-array-length-overflow.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/uniform-array-length-overflow.html
diff --git a/third_party/WebKit/LayoutTests/fast/canvas/webgl/uniform-array-length-overflow.html b/third_party/WebKit/LayoutTests/fast/canvas/webgl/uniform-array-length-overflow.html
deleted file mode 100644
index 3e3fb352fac70c062cbaf58a6671af448f350109..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/canvas/webgl/uniform-array-length-overflow.html
+++ /dev/null
@@ -1,36 +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 the array conversion code for WebGLRenderingContext.uniform* does not crash.");
-
-array = [ ];
-for (var i = 0; i < 1 << 15; ++i)
- array[i] = 0x0c0c0c0c;
-array.length = 0x80000000;
-
-context = create3DContext();
-intProgram = loadProgram(context, "resources/intArrayUniformShader2.vert", "resources/noopUniformShader.frag");
-floatProgram = loadProgram(context, "resources/floatArrayUniformShader.vert", "resources/noopUniformShader.frag");
-intLocation = context.getUniformLocation(intProgram, "u_ints");
-floatLocation = context.getUniformLocation(floatProgram, "u_floats");
-
-context.useProgram(intProgram);
-try {
- context.uniform4iv(intLocation, array);
-} catch (e) { }
-
-context.useProgram(floatProgram);
-try {
- context.uniform4fv(floatLocation, array);
-} catch (e) { }
-</script>
-
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698