Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2008 the V8 project authors. All rights reserved. | 1 # Copyright 2008 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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 221 | 221 |
| 222 # Array.prototype.slice with zero arguments return undefined in JSC/V8, | 222 # Array.prototype.slice with zero arguments return undefined in JSC/V8, |
| 223 # empty array in Spider/TraceMonkey. | 223 # empty array in Spider/TraceMonkey. |
| 224 js1_5/Array/regress-451483: FAIL_OK | 224 js1_5/Array/regress-451483: FAIL_OK |
| 225 | 225 |
| 226 | 226 |
| 227 #:=== RegExp:=== | 227 #:=== RegExp:=== |
| 228 # To be compatible with JSC we silently ignore flags that do not make | 228 # To be compatible with JSC we silently ignore flags that do not make |
| 229 # sense. This test expects us to throw exceptions. | 229 # sense. This test expects us to throw exceptions. |
| 230 ecma_3/RegExp/regress-57631: FAIL_OK | 230 ecma_3/RegExp/regress-57631: FAIL_OK |
| 231 | 231 |
|
Christian Plesner Hansen
2009/01/19 10:28:59
I wouldn't enable us by default yet, and so I woul
| |
| 232 # PCRE doesn't allow subpattern nesting deeper than 200, this tests | |
| 233 # depth 500. JSC detects the case, and return null from the match, | |
| 234 # and passes this test (the test doesn't check for a correct return | |
| 235 # value). | |
| 236 ecma_3/RegExp/regress-119909: PASS || FAIL_OK | |
| 237 | |
| 238 | |
| 239 # Difference in the way capturing subpatterns work. In JS, when the | |
| 240 # 'minimum repeat count' is reached, the empty string must not match. | |
| 241 # In this case, we are similar but not identical to JSC. Hard to | |
| 242 # support the JS behavior with PCRE, so maybe emulate JSC? | |
| 243 # | |
| 244 # Note: We do not support toSource currently so we cannot run this | |
| 245 # test. We should make an isolated test case for the regexp issue. | |
| 246 ecma_3/RegExp/regress-209919: FAIL_OK | |
| 247 js1_5/extensions/regress-459606: FAIL_OK | |
| 248 | |
| 249 | 232 |
| 250 # PCRE's match limit is reached. SpiderMonkey hangs on the first one, | 233 # PCRE's match limit is reached. SpiderMonkey hangs on the first one, |
| 251 # JSC returns true somehow. Maybe they up the match limit? There is | 234 # JSC returns true somehow. Maybe they up the match limit? There is |
| 252 # an open V8 bug 676063 about this. | 235 # an open V8 bug 676063 about this. |
| 253 ecma_3/RegExp/regress-330684: FAIL_OK | 236 ecma_3/RegExp/regress-330684: FAIL_OK |
| 254 | 237 |
| 255 | 238 |
| 256 # This test contains a regexp that runs exponentially long. Spidermonkey | 239 # This test contains a regexp that runs exponentially long. Spidermonkey |
| 257 # standalone will hang, though apparently inside Firefox it will trigger a | 240 # standalone will hang, though apparently inside Firefox it will trigger a |
| 258 # long-running-script timeout. JSCRE passes by hitting the matchLimit and | 241 # long-running-script timeout. JSCRE passes by hitting the matchLimit and |
| 259 # just pretending that an exhaustive search found no match. | 242 # just pretending that an exhaustive search found no match. |
| 260 ecma_3/RegExp/regress-307456: PASS || FAIL_OK | 243 ecma_3/RegExp/regress-307456: FAIL_OK |
| 261 | 244 |
| 262 | 245 |
| 263 # We do not detect overflow in bounds for back references and {} | 246 # We do not detect overflow in bounds for back references and {} |
| 264 # quantifiers. Might fix by parsing numbers differently? | 247 # quantifiers. Might fix by parsing numbers differently? |
| 265 js1_5/Regress/regress-230216-2: FAIL_OK | 248 js1_5/Regress/regress-230216-2: FAIL_OK |
| 266 | 249 |
| 267 | 250 |
| 268 # According to ECMA-262, \b is a 'word' boundary, where words are only | |
| 269 # ASCII characters. PCRE supports non-ASCII word characters. | |
| 270 js1_5/Regress/regress-247179: FAIL_OK | |
| 271 | |
| 272 | |
| 273 # Regexp too long for PCRE. | |
| 274 js1_5/Regress/regress-280769: PASS || FAIL | |
| 275 js1_5/Regress/regress-280769-1: PASS || FAIL | |
| 276 js1_5/Regress/regress-280769-2: PASS || FAIL | |
| 277 js1_5/Regress/regress-280769-4: PASS || FAIL | |
| 278 js1_5/Regress/regress-280769-5: PASS || FAIL | |
| 279 | |
| 280 | |
| 281 # We do not support static RegExp.multiline - should we?. | 251 # We do not support static RegExp.multiline - should we?. |
| 282 js1_2/regexp/RegExp_multiline: FAIL_OK | 252 js1_2/regexp/RegExp_multiline: FAIL_OK |
| 283 js1_2/regexp/RegExp_multiline_as_array: FAIL_OK | 253 js1_2/regexp/RegExp_multiline_as_array: FAIL_OK |
| 284 js1_2/regexp/beginLine: FAIL_OK | 254 js1_2/regexp/beginLine: FAIL_OK |
| 285 js1_2/regexp/endLine: FAIL_OK | 255 js1_2/regexp/endLine: FAIL_OK |
| 286 | 256 |
| 287 | 257 |
| 288 # Date trouble? | 258 # Date trouble? |
| 289 js1_5/Date/regress-301738-02: FAIL_OK | 259 js1_5/Date/regress-301738-02: FAIL_OK |
| 290 | 260 |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 461 ecma_2/RegExp/exec-001: FAIL_OK | 431 ecma_2/RegExp/exec-001: FAIL_OK |
| 462 ecma_2/String/replace-001: FAIL_OK | 432 ecma_2/String/replace-001: FAIL_OK |
| 463 | 433 |
| 464 | 434 |
| 465 # We do not strip unicode format control characters. This is really | 435 # We do not strip unicode format control characters. This is really |
| 466 # required for working with non-latin character sets. We match JSC | 436 # required for working with non-latin character sets. We match JSC |
| 467 # and IE here. Firefox matches the spec (section 7.1). | 437 # and IE here. Firefox matches the spec (section 7.1). |
| 468 ecma_3/Unicode/uc-001: FAIL_OK | 438 ecma_3/Unicode/uc-001: FAIL_OK |
| 469 | 439 |
| 470 | 440 |
| 471 # A non-breaking space doesn't match \s in a regular expression. This behaviour | |
| 472 # matches JSC. All the VMs have different behaviours in which characters match | |
| 473 # \s so we do the same as JSC until they change. | |
| 474 ecma_3/Unicode/uc-002: FAIL_OK | |
| 475 | |
| 476 | |
| 477 # String.prototype.split on empty strings always returns an array | 441 # String.prototype.split on empty strings always returns an array |
| 478 # with one element (as specified in ECMA-262). | 442 # with one element (as specified in ECMA-262). |
| 479 js1_2/Array/array_split_1: FAIL_OK | 443 js1_2/Array/array_split_1: FAIL_OK |
| 480 | 444 |
| 481 | 445 |
| 482 # The concat() method is defined in Array.prototype; not Array. | 446 # The concat() method is defined in Array.prototype; not Array. |
| 483 js1_5/Array/regress-313153: FAIL_OK | 447 js1_5/Array/regress-313153: FAIL_OK |
| 484 | 448 |
| 485 | 449 |
| 486 # Properties stack, fileName, and lineNumber of Error instances are | 450 # Properties stack, fileName, and lineNumber of Error instances are |
| (...skipping 25 matching lines...) Expand all Loading... | |
| 512 # Unsupported list comprehensions: [ ... for ... ] and for each. | 476 # Unsupported list comprehensions: [ ... for ... ] and for each. |
| 513 js1_5/Regress/regress-352009: FAIL_OK | 477 js1_5/Regress/regress-352009: FAIL_OK |
| 514 js1_5/Regress/regress-349648: FAIL_OK | 478 js1_5/Regress/regress-349648: FAIL_OK |
| 515 | 479 |
| 516 | 480 |
| 517 # Expects top level arguments (passed on command line?) to be | 481 # Expects top level arguments (passed on command line?) to be |
| 518 # the empty string? | 482 # the empty string? |
| 519 js1_5/Regress/regress-336100: FAIL_OK | 483 js1_5/Regress/regress-336100: FAIL_OK |
| 520 | 484 |
| 521 | 485 |
| 522 # Regular expression test failures due to PCRE. We match JSC (ie, perl) | |
| 523 # behavior and not the ECMA spec. | |
| 524 ecma_3/RegExp/15.10.2-1: FAIL_OK | |
| 525 ecma_3/RegExp/perlstress-001: FAIL_OK | |
| 526 ecma_3/RegExp/regress-334158: PASS || FAIL | |
| 527 | |
| 528 | |
| 529 # This test requires a failure if we try to compile a function with more | 486 # This test requires a failure if we try to compile a function with more |
| 530 # than 65536 arguments. This seems to be a Mozilla restriction. | 487 # than 65536 arguments. This seems to be a Mozilla restriction. |
| 531 js1_5/Regress/regress-290575: FAIL_OK | 488 js1_5/Regress/regress-290575: FAIL_OK |
| 532 | 489 |
| 533 | 490 |
| 491 # This test fails due to http://code.google.com/p/v8/issues/detail?id=187 | |
| 492 # Failure to clear captures when a lookahead is unwound. | |
| 493 ecma_3/RegExp/15.10.2-1: FAIL_OK | |
| 494 | |
| 495 | |
| 534 # Fails because of the way function declarations are | 496 # Fails because of the way function declarations are |
| 535 # handled in V8/JSC. V8 follows IE behavior and introduce | 497 # handled in V8/JSC. V8 follows IE behavior and introduce |
| 536 # all nested function declarations when entering the | 498 # all nested function declarations when entering the |
| 537 # surrounding function, whereas Spidermonkey declares | 499 # surrounding function, whereas Spidermonkey declares |
| 538 # them dynamically when the statement is executed. | 500 # them dynamically when the statement is executed. |
| 539 ecma_3/Function/scope-001: FAIL_OK | 501 ecma_3/Function/scope-001: FAIL_OK |
| 540 ecma_3/FunExpr/fe-001: FAIL_OK | 502 ecma_3/FunExpr/fe-001: FAIL_OK |
| 541 js1_5/Scope/regress-184107: FAIL_OK | 503 js1_5/Scope/regress-184107: FAIL_OK |
| 542 | 504 |
| 543 | 505 |
| (...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 818 ecma/Date/15.9.5.8: SKIP | 780 ecma/Date/15.9.5.8: SKIP |
| 819 ecma/Date/15.9.5.9: SKIP | 781 ecma/Date/15.9.5.9: SKIP |
| 820 ecma/Date/15.9.5.10-2: SKIP | 782 ecma/Date/15.9.5.10-2: SKIP |
| 821 ecma/Date/15.9.5.11-2: SKIP | 783 ecma/Date/15.9.5.11-2: SKIP |
| 822 ecma/Expressions/11.7.2: SKIP | 784 ecma/Expressions/11.7.2: SKIP |
| 823 ecma/Expressions/11.10-2: SKIP | 785 ecma/Expressions/11.10-2: SKIP |
| 824 ecma/Expressions/11.7.3: SKIP | 786 ecma/Expressions/11.7.3: SKIP |
| 825 ecma/Expressions/11.10-3: SKIP | 787 ecma/Expressions/11.10-3: SKIP |
| 826 ecma/Expressions/11.7.1: SKIP | 788 ecma/Expressions/11.7.1: SKIP |
| 827 ecma_3/RegExp/regress-209067: SKIP | 789 ecma_3/RegExp/regress-209067: SKIP |
| OLD | NEW |