| This test checks basic and corner cases of 'f.arguments'. |
| |
| On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
| |
| |
| PASS basicTest('one')[0] is 'one' |
| PASS basicTest('one')[2] is undefined. |
| PASS basicTest('one', 'two', 'three')[1] is 'two' |
| PASS lengthTest() is '0' |
| PASS lengthTest('From', '%E5%8C%97%E4%BA%AC', 360, '/', 'webkit.org') is '5' |
| PASS assignTest() is true |
| FAIL assignVarUndefinedTest() should be undefined. Was [object Arguments] |
| FAIL assignVarUndefinedTest2() should be undefined. Was [object Arguments] |
| PASS assignVarInitTest() is true |
| PASS assignVarInitTest2() is true |
| FAIL assignConstUndefinedTest() should be undefined. Was [object Arguments] |
| FAIL assignConstUndefinedTest2() should be undefined. Was [object Arguments] |
| PASS assignConstInitTest() is true |
| PASS assignConstInitTest2() is true |
| PASS assignForInitTest() is true |
| PASS assignForInitTest2() is true |
| PASS assignForInInitTest() is true |
| PASS paramInitTest(true) is true |
| PASS paramFunctionConstructorInitTest(true) is true |
| PASS tearOffTest()[0] is true |
| PASS tearOffTest2(true)[0] is true |
| PASS lexicalArgumentsLiveRead1(0, 2, 3) is 1 |
| PASS lexicalArgumentsLiveRead2(1, 0, 3) is 2 |
| PASS lexicalArgumentsLiveRead3(1, 2, 0) is 3 |
| PASS lexicalArgumentsLiveWrite1(0, 2, 3) is 1 |
| PASS lexicalArgumentsLiveWrite2(1, 0, 3) is 2 |
| PASS lexicalArgumentsLiveWrite3(1, 2, 0) is 3 |
| PASS argumentsNotLiveRead1(0, 2, 3) is 0 |
| PASS argumentsNotLiveRead2(1, 0, 3) is 0 |
| PASS argumentsNotLiveRead3(1, 2, 0) is 0 |
| PASS argumentsNotLiveWrite1(0, 2, 3) is 0 |
| PASS argumentsNotLiveWrite2(1, 0, 3) is 0 |
| PASS argumentsNotLiveWrite3(1, 2, 0) is 0 |
| PASS argumentsIdentity() is true |
| PASS successfullyParsed is true |
| |
| TEST COMPLETE |
| |