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

Unified Diff: LayoutTests/fast/js/script-tests/array-slow-put.js

Issue 20867002: Remove old tests that have been migrated to the v8 repo. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove unused script-tests as well Created 7 years, 5 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: LayoutTests/fast/js/script-tests/array-slow-put.js
diff --git a/LayoutTests/fast/js/script-tests/array-slow-put.js b/LayoutTests/fast/js/script-tests/array-slow-put.js
deleted file mode 100644
index 9aad84fa145e97f1e005be0da5fb9fc3f034992c..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/js/script-tests/array-slow-put.js
+++ /dev/null
@@ -1,19 +0,0 @@
-description(
-"Tests that defining a setter on the Array prototype works."
-);
-
-var ouches = 0;
-Array.prototype.__defineSetter__("3", function() { debug("Ouch!"); ouches++; });
-
-function foo() {
- var result = [];
- result.length = 5;
- for (var i = 0; i < result.length; ++i)
- result[i] = i;
- return result;
-}
-
-for (var i = 0; i < 100; ++i)
- shouldBe("\"" + foo().join(",") + "\"", "\"0,1,2,,4\"");
-
-shouldBe("ouches", "100");

Powered by Google App Engine
This is Rietveld 408576698