blob: 2ddfff2623e5eaf5888f4f354e3ff50bd2e5a387 [file] [log] [blame]
msaboff@apple.com251f6b52013-08-29 22:47:20 +00001description(
2"Tests accessing arguments by val where the arguments need to be lazily created doesn't crash - original webkit bug# 120080"
3);
4
5function foo() {
6 var r = arguments.length;
7 return arguments[0];
8}
9
10for (var i = 0; i < 3000; ++i) {
11 result = foo();
12}
13
14testPassed("No crash lazily creating arguments");
15