| OLD | NEW |
| 1 # Copyright 2009 the V8 project authors. All rights reserved. | 1 # Copyright 2009 the V8 project authors. All rights reserved. |
| 2 # Redistribution and use in source and binary forms, with or without | 2 # Redistribution and use in source and binary forms, with or without |
| 3 # modification, are permitted provided that the following conditions are | 3 # modification, are permitted provided that the following conditions are |
| 4 # met: | 4 # met: |
| 5 # | 5 # |
| 6 # * Redistributions of source code must retain the above copyright | 6 # * Redistributions of source code must retain the above copyright |
| 7 # notice, this list of conditions and the following disclaimer. | 7 # notice, this list of conditions and the following disclaimer. |
| 8 # * Redistributions in binary form must reproduce the above | 8 # * Redistributions in binary form must reproduce the above |
| 9 # copyright notice, this list of conditions and the following | 9 # copyright notice, this list of conditions and the following |
| 10 # disclaimer in the documentation and/or other materials provided | 10 # disclaimer in the documentation and/or other materials provided |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 23 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 24 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 24 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 25 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 25 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 26 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 27 | 27 |
| 28 prefix sputnik | 28 prefix sputnik |
| 29 def FAIL_OK = FAIL, OKAY | 29 def FAIL_OK = FAIL, OKAY |
| 30 | 30 |
| 31 ############################### BUGS ################################### | 31 ############################### BUGS ################################### |
| 32 | 32 |
| 33 # A bound function should fail on access to 'caller' and 'arguments'. | |
| 34 S15.3.4.5_A1: FAIL | |
| 35 S15.3.4.5_A2: FAIL | |
| 36 | |
| 37 # '__proto__' should be treated as a normal property in JSON. | 33 # '__proto__' should be treated as a normal property in JSON. |
| 38 S15.12.2_A1: FAIL | 34 S15.12.2_A1: FAIL |
| 39 | 35 |
| 40 ##################### DELIBERATE INCOMPATIBILITIES ##################### | 36 ##################### DELIBERATE INCOMPATIBILITIES ##################### |
| 41 | 37 |
| 42 # This tests precision of trignometric functions. We're slightly off | 38 # This tests precision of trignometric functions. We're slightly off |
| 43 # from the implementation in libc (~ 1e-17) but it's not clear if we | 39 # from the implementation in libc (~ 1e-17) but it's not clear if we |
| 44 # or they are closer to the right answer, or if it even matters. | 40 # or they are closer to the right answer, or if it even matters. |
| 45 S15.8.2.16_A7: PASS || FAIL_OK | 41 S15.8.2.16_A7: PASS || FAIL_OK |
| 46 S15.8.2.18_A7: PASS || FAIL_OK | 42 S15.8.2.18_A7: PASS || FAIL_OK |
| 47 S15.8.2.13_A23: PASS || FAIL_OK | 43 S15.8.2.13_A23: PASS || FAIL_OK |
| 48 | 44 |
| 49 # We allow calls to regexp exec() with no arguments to fail for | |
| 50 # compatibility reasons. | |
| 51 S15.10.6.2_A1_T16: FAIL_OK | |
| 52 S15.10.6.2_A12: FAIL_OK | |
| 53 S15.10.6.3_A1_T16: FAIL_OK | |
| 54 | |
| 55 # Sputnik tests (r97) assume RegExp.prototype is an Object, not a RegExp. | 45 # Sputnik tests (r97) assume RegExp.prototype is an Object, not a RegExp. |
| 56 S15.10.6_A2: FAIL_OK | 46 S15.10.6_A2: FAIL_OK |
| 57 | 47 |
| 58 # We are silent in some regexp cases where the spec wants us to give | 48 # We are silent in some regexp cases where the spec wants us to give |
| 59 # errors, for compatibility. | 49 # errors, for compatibility. |
| 60 S15.10.2.11_A1_T2: FAIL | 50 S15.10.2.11_A1_T2: FAIL |
| 61 S15.10.2.11_A1_T3: FAIL | 51 S15.10.2.11_A1_T3: FAIL |
| 62 | 52 |
| 63 # We are more lenient in which string character escapes we allow than | 53 # We are more lenient in which string character escapes we allow than |
| 64 # the spec (7.8.4 p. 19) wants us to be. This is for compatibility. | 54 # the spec (7.8.4 p. 19) wants us to be. This is for compatibility. |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 | 145 |
| 156 # Allow keywords as names of properties in object initialisers and | 146 # Allow keywords as names of properties in object initialisers and |
| 157 # in dot-notation property access. | 147 # in dot-notation property access. |
| 158 S11.1.5_A4.1: FAIL_OK | 148 S11.1.5_A4.1: FAIL_OK |
| 159 S11.1.5_A4.2: FAIL_OK | 149 S11.1.5_A4.2: FAIL_OK |
| 160 | 150 |
| 161 # Don't throw type errors when iterating through the undefined object. | 151 # Don't throw type errors when iterating through the undefined object. |
| 162 S9.9_A1: FAIL_OK | 152 S9.9_A1: FAIL_OK |
| 163 S9.9_A2: FAIL_OK | 153 S9.9_A2: FAIL_OK |
| 164 | 154 |
| 155 # The expected evaluation order of comparison operations changed. |
| 156 S11.8.2_A2.3_T1: FAIL_OK |
| 157 S11.8.3_A2.3_T1: FAIL_OK |
| 158 |
| 165 # Calls builtins without an explicit receiver which means that | 159 # Calls builtins without an explicit receiver which means that |
| 166 # undefined is passed to the builtin. The tests expect the global | 160 # undefined is passed to the builtin. The tests expect the global |
| 167 # object to be passed which was true in ES3 but not in ES5. | 161 # object to be passed which was true in ES3 but not in ES5. |
| 168 S11.1.1_A2: FAIL_OK | 162 S11.1.1_A2: FAIL_OK |
| 169 S15.5.4.4_A1_T3: FAIL_OK | 163 S15.5.4.4_A1_T3: FAIL_OK |
| 170 S15.5.4.5_A1_T3: FAIL_OK | 164 S15.5.4.5_A1_T3: FAIL_OK |
| 171 S15.5.4.6_A1_T3: FAIL_OK | 165 S15.5.4.6_A1_T3: FAIL_OK |
| 172 S15.5.4.7_A1_T3: FAIL_OK | 166 S15.5.4.7_A1_T3: FAIL_OK |
| 173 S15.5.4.8_A1_T3: FAIL_OK | 167 S15.5.4.8_A1_T3: FAIL_OK |
| 174 S15.5.4.9_A1_T3: FAIL_OK | 168 S15.5.4.9_A1_T3: FAIL_OK |
| 175 S15.5.4.10_A1_T3: FAIL_OK | 169 S15.5.4.10_A1_T3: FAIL_OK |
| 176 S15.5.4.11_A1_T3: FAIL_OK | 170 S15.5.4.11_A1_T3: FAIL_OK |
| 177 S15.5.4.12_A1_T3: FAIL_OK | 171 S15.5.4.12_A1_T3: FAIL_OK |
| 178 S15.5.4.13_A1_T3: FAIL_OK | 172 S15.5.4.13_A1_T3: FAIL_OK |
| 179 S15.5.4.14_A1_T3: FAIL_OK | 173 S15.5.4.14_A1_T3: FAIL_OK |
| 180 S15.5.4.15_A1_T3: FAIL_OK | 174 S15.5.4.15_A1_T3: FAIL_OK |
| 181 | 175 |
| 182 # NaN, Infinity and undefined are read-only according to ES5. | 176 # NaN, Infinity and undefined are read-only according to ES5. |
| 183 S15.1.1.1_A2_T1: FAIL_OK # NaN | 177 S15.1.1.1_A2_T1: FAIL_OK # NaN |
| 184 S15.1.1.1_A2_T2: FAIL_OK # NaN | 178 S15.1.1.1_A2_T2: FAIL_OK # NaN |
| 185 S15.1.1.2_A2_T1: FAIL_OK # Infinity | 179 S15.1.1.2_A2_T1: FAIL_OK # Infinity |
| 186 # S15.1.1.2_A2_T2 would fail if it weren't bogus in r97. sputnik bug #45. | 180 # S15.1.1.2_A2_T2 would fail if it weren't bogus in r97. sputnik bug #45. |
| 187 S15.1.1.3_A2_T1: FAIL_OK # undefined | 181 S15.1.1.3_A2_T1: FAIL_OK # undefined |
| 188 S15.1.1.3_A2_T2: FAIL_OK # undefined | 182 S15.1.1.3_A2_T2: FAIL_OK # undefined |
| 189 | 183 |
| 184 # Function.prototype.apply can handle arbitrary object as argument list. |
| 185 S15.3.4.3_A6_T1: FAIL_OK |
| 186 S15.3.4.3_A6_T4: FAIL_OK |
| 187 |
| 190 # Array.prototype.to[Locale]String is generic in ES5. | 188 # Array.prototype.to[Locale]String is generic in ES5. |
| 191 S15.4.4.2_A2_T1: FAIL_OK | 189 S15.4.4.2_A2_T1: FAIL_OK |
| 192 S15.4.4.3_A2_T1: FAIL_OK | 190 S15.4.4.3_A2_T1: FAIL_OK |
| 193 | 191 |
| 194 | 192 |
| 195 ##################### SKIPPED TESTS ##################### | 193 ##################### SKIPPED TESTS ##################### |
| 196 | 194 |
| 197 # These tests take a looong time to run in debug mode. | 195 # These tests take a looong time to run in debug mode. |
| 198 S15.1.3.2_A2.5_T1: PASS, SKIP if $mode == debug | 196 S15.1.3.2_A2.5_T1: PASS, SKIP if $mode == debug |
| 199 S15.1.3.1_A2.5_T1: PASS, SKIP if $mode == debug | 197 S15.1.3.1_A2.5_T1: PASS, SKIP if $mode == debug |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 268 S15.1.3.2_A2.5_T1: SKIP | 266 S15.1.3.2_A2.5_T1: SKIP |
| 269 S15.1.3.3_A2.3_T1: SKIP | 267 S15.1.3.3_A2.3_T1: SKIP |
| 270 S15.1.3.4_A2.3_T1: SKIP | 268 S15.1.3.4_A2.3_T1: SKIP |
| 271 S15.1.3.1_A2.5_T1: SKIP | 269 S15.1.3.1_A2.5_T1: SKIP |
| 272 S15.1.3.2_A2.5_T1: SKIP | 270 S15.1.3.2_A2.5_T1: SKIP |
| 273 | 271 |
| 274 [ $arch == mips ] | 272 [ $arch == mips ] |
| 275 | 273 |
| 276 # Skip all tests on MIPS. | 274 # Skip all tests on MIPS. |
| 277 *: SKIP | 275 *: SKIP |
| OLD | NEW |