Index: test/webkit/fast/js/function-apply.js |
diff --git a/test/webkit/fast/js/function-apply.js b/test/webkit/fast/js/function-apply.js |
index 14a65646b3c7134d346c09971a304b5dd954bc73..537dc2431e80fb1fd21cc797242306352de079a8 100644 |
--- a/test/webkit/fast/js/function-apply.js |
+++ b/test/webkit/fast/js/function-apply.js |
@@ -310,7 +310,7 @@ |
shouldBe("var a = []; a.length = 0xFFFE; [].constructor.apply('', a).length", "0xFFFE"); |
shouldBe("var a = []; a.length = 0xFFFF; [].constructor.apply('', a).length", "0xFFFF"); |
shouldBe("var a = []; a.length = 0x10000; [].constructor.apply('', a).length", "0x10000"); |
-shouldBe("var a = []; a.length = 0x10001; [].constructor.apply('', a).length", "0x10001"); |
+shouldThrow("var a = []; a.length = 0x10001; [].constructor.apply('', a).length"); |
shouldThrow("var a = []; a.length = 0xFFFFFFFE; [].constructor.apply('', a).length"); |
shouldThrow("var a = []; a.length = 0xFFFFFFFF; [].constructor.apply('', a).length"); |