| Index: test/mjsunit/arguments-indirect.js
|
| diff --git a/test/mjsunit/arguments-indirect.js b/test/mjsunit/arguments-indirect.js
|
| index 2d37027f416564df7867bb961265c0815fadeb82..12cd5b4b3587e3c25bd0363ae9ea167421881608 100644
|
| --- a/test/mjsunit/arguments-indirect.js
|
| +++ b/test/mjsunit/arguments-indirect.js
|
| @@ -35,8 +35,15 @@ function f2(x) {
|
| g(f2);
|
| }
|
|
|
| +function f3(x) {
|
| + var a = arguments;
|
| + (function() { x++ })();
|
| + g(f3);
|
| +}
|
|
|
| function g(f) {
|
| + assertEquals("object", typeof f.arguments);
|
| + assertFalse(f.arguments === f.arguments);
|
| assertEquals(3, f.arguments.length);
|
| assertEquals(1, f.arguments[0]);
|
| assertEquals(2, f.arguments[1]);
|
| @@ -44,4 +51,5 @@ function g(f) {
|
| }
|
|
|
| f1(1,2,3);
|
| -f2(0,2,3);
|
| +f2(1,2,3);
|
| +f3(1,2,3);
|
|
|