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

Unified Diff: third_party/WebKit/LayoutTests/fast/canvas/webgl/array-override-set.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-override-set.html
diff --git a/third_party/WebKit/LayoutTests/fast/canvas/webgl/array-override-set.html b/third_party/WebKit/LayoutTests/fast/canvas/webgl/array-override-set.html
deleted file mode 100644
index c1776f6a918a92e83f02c6791863679b0e97b66d..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/canvas/webgl/array-override-set.html
+++ /dev/null
@@ -1,46 +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 overriding the set method of WebGL array");
-
-debug('Regression test for <a href="https://bugs.webkit.org/show_bug.cgi?id=87862">https://bugs.webkit.org/show_bug.cgi?id=87862</a> : <code>[v8] Crash after redefining setter on typed array to a number</code>');
-
-var array;
-var typeNames = ['Float32Array', 'Float64Array', 'Int8Array', 'Int16Array', 'Int32Array',
- 'Uint8Array', 'Uint8ClampedArray', 'Uint16Array', 'Uint32Array']
-
-function overrideSetWithNumberAndConstruct(typeName) {
- var type = window[typeName];
- type.prototype.set = 0x3ffff;
- array = new type([0], function() {});
- shouldBe("array[0]", "0");
-}
-
-for (var i = 0; i < typeNames.length; i++) {
- overrideSetWithNumberAndConstruct(typeNames[i]);
-}
-
-function overrideSetWithNumberAndSet(typeName) {
- var type = window[typeName];
- array = new type(10);
- type.prototype.set = 0x3ffff;
- array[0] = 8;
- array.set([0], function() {});
- shouldBe("array[0]", "0");
-}
-
-for (var i = 0; i < typeNames.length; i++) {
- overrideSetWithNumberAndConstruct(typeNames[i]);
-}
-
-</script>
-
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698