OLD | NEW |
1 This test thoroughly checks the behaviour of the 'arguments' object. | 1 This test thoroughly checks the behaviour of the 'arguments' object. |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 PASS access_1(1, 2, 3) is 1 | 6 PASS access_1(1, 2, 3) is 1 |
7 PASS access_2(1, 2, 3) is 2 | 7 PASS access_2(1, 2, 3) is 2 |
8 PASS access_3(1, 2, 3) is 3 | 8 PASS access_3(1, 2, 3) is 3 |
9 PASS access_4(1, 2, 3) is undefined | 9 PASS access_4(1, 2, 3) is undefined |
10 PASS access_5(1, 2, 3) is undefined | 10 PASS access_5(1, 2, 3) is undefined |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 PASS access_after_delete_extra_2(1) is undefined | 127 PASS access_after_delete_extra_2(1) is undefined |
128 PASS access_after_delete_extra_3(1) is undefined | 128 PASS access_after_delete_extra_3(1) is undefined |
129 PASS access_after_delete_extra_5(1) is undefined | 129 PASS access_after_delete_extra_5(1) is undefined |
130 PASS access_after_delete_extra_1(1, 2, 3, 4, 5) is 1 | 130 PASS access_after_delete_extra_1(1, 2, 3, 4, 5) is 1 |
131 PASS access_after_delete_extra_2(1, 2, 3, 4, 5) is 2 | 131 PASS access_after_delete_extra_2(1, 2, 3, 4, 5) is 2 |
132 PASS access_after_delete_extra_3(1, 2, 3, 4, 5) is 3 | 132 PASS access_after_delete_extra_3(1, 2, 3, 4, 5) is 3 |
133 PASS access_after_delete_extra_5(1, 2, 3, 4, 5) is 5 | 133 PASS access_after_delete_extra_5(1, 2, 3, 4, 5) is 5 |
134 PASS argumentsParam(true) is true | 134 PASS argumentsParam(true) is true |
135 PASS argumentsFunctionConstructorParam(true) is true | 135 PASS argumentsFunctionConstructorParam(true) is true |
136 PASS argumentsVarUndefined() is '[object Arguments]' | 136 PASS argumentsVarUndefined() is '[object Arguments]' |
137 PASS argumentsConstUndefined() is '[object Arguments]' | 137 FAIL argumentsConstUndefined() should be [object Arguments]. Threw exception Typ
eError: Variable 'arguments' has already been declared |
138 PASS argumentCalleeInException() is argumentCalleeInException | 138 PASS argumentCalleeInException() is argumentCalleeInException |
139 PASS shadowedArgumentsApply([true]) is true | 139 PASS shadowedArgumentsApply([true]) is true |
140 PASS shadowedArgumentsLength([]) is 0 | 140 PASS shadowedArgumentsLength([]) is 0 |
141 PASS shadowedArgumentsLength() threw exception TypeError: 'undefined' is not an
object (evaluating 'arguments.length'). | 141 PASS shadowedArgumentsLength() threw exception TypeError: Cannot read property '
length' of undefined. |
142 PASS shadowedArgumentsCallee([]) is undefined. | 142 PASS shadowedArgumentsCallee([]) is undefined. |
143 PASS shadowedArgumentsIndex([true]) is true | 143 PASS shadowedArgumentsIndex([true]) is true |
144 PASS descriptor.value is "one" | 144 PASS descriptor.value is "one" |
145 PASS descriptor.writable is true | 145 PASS descriptor.writable is true |
146 PASS descriptor.enumerable is true | 146 PASS descriptor.enumerable is true |
147 PASS descriptor.configurable is true | 147 PASS descriptor.configurable is true |
148 PASS true is true | 148 PASS true is true |
149 PASS true is true | 149 PASS true is true |
150 PASS true is true | 150 PASS true is true |
151 PASS true is true | 151 PASS true is true |
(...skipping 23 matching lines...) Expand all Loading... |
175 PASS true is true | 175 PASS true is true |
176 PASS false is false | 176 PASS false is false |
177 PASS false is false | 177 PASS false is false |
178 PASS undefined is undefined. | 178 PASS undefined is undefined. |
179 PASS true is true | 179 PASS true is true |
180 PASS false is false | 180 PASS false is false |
181 PASS successfullyParsed is true | 181 PASS successfullyParsed is true |
182 | 182 |
183 TEST COMPLETE | 183 TEST COMPLETE |
184 | 184 |
OLD | NEW |