| Index: LayoutTests/fast/js/script-tests/object-slow-put.js
|
| diff --git a/LayoutTests/fast/js/script-tests/object-slow-put.js b/LayoutTests/fast/js/script-tests/object-slow-put.js
|
| deleted file mode 100644
|
| index 1abdd6f9ea2bea19b0e01b5e9820fb903043a99f..0000000000000000000000000000000000000000
|
| --- a/LayoutTests/fast/js/script-tests/object-slow-put.js
|
| +++ /dev/null
|
| @@ -1,22 +0,0 @@
|
| -description(
|
| -"Tests that defining a setter on the prototype of an object used for indexed storage works."
|
| -);
|
| -
|
| -function Cons() {
|
| -}
|
| -
|
| -var ouches = 0;
|
| -Cons.prototype.__defineSetter__("3", function() { debug("Ouch!"); ouches++; });
|
| -
|
| -function foo() {
|
| - var result = new Cons();
|
| - result.length = 5;
|
| - for (var i = 0; i < result.length; ++i)
|
| - result[i] = i;
|
| - return result;
|
| -}
|
| -
|
| -for (var i = 0; i < 100; ++i)
|
| - shouldBe("\"" + Array.prototype.join.apply(foo(), [","]) + "\"", "\"0,1,2,,4\"");
|
| -
|
| -shouldBe("ouches", "100");
|
|
|