Index: LayoutTests/fast/js/function-apply-expected.txt |
diff --git a/LayoutTests/fast/js/function-apply-expected.txt b/LayoutTests/fast/js/function-apply-expected.txt |
index 0b545a6ca5219b1bf03e7d77ee95d4772c21f405..c21938fb1f258af7b938422551593ebb6906ac2b 100644 |
--- a/LayoutTests/fast/js/function-apply-expected.txt |
+++ b/LayoutTests/fast/js/function-apply-expected.txt |
@@ -33,9 +33,9 @@ PASS arrayApplyChangeLength4() is 0 |
PASS var a = []; a.length = 0xFFFE; [].constructor.apply('', a).length is 0xFFFE |
PASS var a = []; a.length = 0xFFFF; [].constructor.apply('', a).length is 0xFFFF |
PASS var a = []; a.length = 0x10000; [].constructor.apply('', a).length is 0x10000 |
-PASS var a = []; a.length = 0x10001; [].constructor.apply('', a).length threw exception RangeError: Maximum call stack size exceeded.. |
-PASS var a = []; a.length = 0xFFFFFFFE; [].constructor.apply('', a).length threw exception RangeError: Maximum call stack size exceeded.. |
-PASS var a = []; a.length = 0xFFFFFFFF; [].constructor.apply('', a).length threw exception RangeError: Maximum call stack size exceeded.. |
+FAIL var a = []; a.length = 0x10001; [].constructor.apply('', a).length should throw an exception. Was 65537. |
+PASS var a = []; a.length = 0xFFFFFFFE; [].constructor.apply('', a).length threw exception RangeError: Maximum call stack size exceeded. |
+PASS var a = []; a.length = 0xFFFFFFFF; [].constructor.apply('', a).length threw exception RangeError: Maximum call stack size exceeded. |
PASS (function(a,b,c,d){ return d ? -1 : (a+b+c); }).apply(undefined, {length:3, 0:100, 1:20, 2:3}) is 123 |
PASS successfullyParsed is true |