Ben Murdoch | 3ef787d | 2012-04-12 10:51:47 +0100 | [diff] [blame] | 1 | # Copyright 2011 the V8 project authors. All rights reserved. |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 2 | # Redistribution and use in source and binary forms, with or without |
| 3 | # modification, are permitted provided that the following conditions are |
| 4 | # met: |
| 5 | # |
| 6 | # * Redistributions of source code must retain the above copyright |
| 7 | # notice, this list of conditions and the following disclaimer. |
| 8 | # * Redistributions in binary form must reproduce the above |
| 9 | # copyright notice, this list of conditions and the following |
| 10 | # disclaimer in the documentation and/or other materials provided |
| 11 | # with the distribution. |
| 12 | # * Neither the name of Google Inc. nor the names of its |
| 13 | # contributors may be used to endorse or promote products derived |
| 14 | # from this software without specific prior written permission. |
| 15 | # |
| 16 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 17 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 18 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 19 | # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 20 | # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 21 | # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 22 | # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 23 | # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 24 | # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 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. |
| 27 | |
| 28 | # This file is up to date with respect to Mozilla's CVS repository as of |
Steve Block | 8defd9f | 2010-07-08 12:39:36 +0100 | [diff] [blame] | 29 | # 2010-06-29. If new tests are added to Mozilla's CVS it may need to be |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 30 | # updated. |
| 31 | |
| 32 | # To get the mozilla tests: |
| 33 | # cd /path/to/checkout/test/mozilla |
| 34 | # rm -rf data |
Steve Block | 8defd9f | 2010-07-08 12:39:36 +0100 | [diff] [blame] | 35 | # cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co -D 2010-06-29 mozilla/js/tests |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 36 | # mv mozilla/js/tests data |
| 37 | # rm -rf mozilla |
| 38 | |
| 39 | # -------------------------------------------------------------------- |
| 40 | # If you add a test case to this file, please try to provide |
| 41 | # an explanation of why the test fails; this may ease future |
| 42 | # debugging. |
| 43 | # -------------------------------------------------------------------- |
| 44 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 45 | [ |
| 46 | [ALWAYS, { |
| 47 | ##################### NEEDS INVESTIGATION ############## |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 48 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 49 | # BUG(2893): These tests started to fail after i18n support was turned on. |
| 50 | # Need to investigate why. |
| 51 | 'ecma_3/Number/15.7.4.3-02': [PASS, FAIL], |
| 52 | 'ecma_3/Date/15.9.5.5-02': [PASS, FAIL], |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 53 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 54 | ################## TURBO-FAN FAILURES ################### |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 55 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 56 | # TODO(turbofan): These are all covered by mjsunit as well. Enable them once |
| 57 | # we pass 'mjsunit' and 'webkit' with TurboFan. |
| 58 | 'js1_4/Functions/function-001': [PASS, NO_VARIANTS], |
| 59 | 'js1_5/Regress/regress-396684': [PASS, NO_VARIANTS], |
| 60 | 'js1_5/Regress/regress-80981': [PASS, NO_VARIANTS], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 61 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 62 | # TODO(turbofan): Large switch statements crash. |
| 63 | 'js1_5/Regress/regress-398085-01': [PASS, NO_VARIANTS], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 64 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 65 | ##################### SKIPPED TESTS ##################### |
Steve Block | 8defd9f | 2010-07-08 12:39:36 +0100 | [diff] [blame] | 66 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 67 | # This test checks that we behave properly in an out-of-memory |
| 68 | # situation. The test fails in V8 with an exception and takes a long |
| 69 | # time to do so. |
| 70 | 'js1_5/Regress/regress-271716-n': [SKIP], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 71 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 72 | # BUG(960): This test has an insane amount of output when it times out, |
| 73 | # messing up ability to see other failures on the waterfall. |
| 74 | 'js1_5/extensions/regress-342960': [SKIP], |
Ben Murdoch | 5d4cdbf | 2012-04-11 10:23:59 +0100 | [diff] [blame] | 75 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 76 | # This test uses a unitialized variable. A Bug has been filed: |
| 77 | # https://bugzilla.mozilla.org/show_bug.cgi?id=575575 |
| 78 | 'js1_5/Array/regress-465980-02': [SKIP], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 79 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 80 | # These tests are simply wrong (i.e., they do not test what they intend |
| 81 | # to test). |
| 82 | # In particular, these two compare numbers to NaN with != in the current |
| 83 | # version of the Mozilla tests. This is *fixed* in a later version. |
| 84 | # The tests should be re-enabled when switching to a new version. |
| 85 | 'ecma_3/Date/15.9.3.2-1': [SKIP], |
| 86 | 'js1_2/function/Number': [SKIP], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 87 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 88 | # TODO(2018): Temporarily allow timeout in debug mode. |
| 89 | 'js1_5/GC/regress-203278-2': [PASS, ['mode == debug', TIMEOUT, NO_VARIANTS, FAIL]], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 90 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 91 | # These tests use invalid LHS expressions in assignments. |
| 92 | 'js1_5/Regress/regress-319391': [SKIP], |
| 93 | 'js1_5/Regress/regress-350253': [SKIP], |
| 94 | 'js1_5/Regress/regress-462292': [SKIP], |
| 95 | 'js1_5/decompilation/regress-443071-01': [SKIP], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 96 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 97 | ##################### SLOW TESTS ##################### |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 98 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 99 | # This takes a long time to run (~100 seconds). It should only be run |
| 100 | # by the really patient. |
| 101 | 'js1_5/GC/regress-324278': [SKIP], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 102 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 103 | # This takes a long time to run because our indexOf operation is |
| 104 | # pretty slow - it causes a lot of GCs; see issue |
| 105 | # #926379. We could consider marking this SKIP because it takes a |
| 106 | # while to run to completion. |
| 107 | 'js1_5/GC/regress-338653': [SKIP], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 108 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 109 | # This test is designed to run until it runs out of memory. This takes |
| 110 | # a very long time because it builds strings character by character |
| 111 | # and compiles a lot of regular expressions. We could consider marking |
| 112 | # this SKIP because it takes a while to run to completion. |
| 113 | 'js1_5/GC/regress-346794': [SKIP], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 114 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 115 | # Runs out of memory while trying to build huge string of 'x' |
| 116 | # characters. This takes a long time to run (~32 seconds). |
| 117 | 'js1_5/GC/regress-348532': [SKIP], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 118 | |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 119 | |
Emily Bernier | d0a1eb7 | 2015-03-24 16:35:39 -0400 | [diff] [blame^] | 120 | # Runs for too long: huge array with getters and setters. As it says |
| 121 | # in the test: "This test will probably run out of memory". |
| 122 | 'js1_5/extensions/regress-345967': [SKIP], |
| 123 | |
| 124 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 125 | ##################### FLAKY TESTS ##################### |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 126 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 127 | # These tests time out in debug mode but pass in product mode |
| 128 | 'js1_5/Regress/regress-360969-03': [PASS, ['mode == debug', TIMEOUT, NO_VARIANTS]], |
| 129 | 'js1_5/Regress/regress-360969-04': [PASS, ['mode == debug', TIMEOUT, NO_VARIANTS]], |
| 130 | 'js1_5/Regress/regress-360969-05': [PASS, ['mode == debug', TIMEOUT, NO_VARIANTS]], |
| 131 | 'js1_5/Regress/regress-360969-06': [PASS, ['mode == debug', TIMEOUT, NO_VARIANTS]], |
| 132 | 'js1_5/extensions/regress-365527': [PASS, SLOW, ['mode == debug', TIMEOUT, NO_VARIANTS]], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 133 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 134 | 'js1_5/Regress/regress-280769-3': [PASS, ['mode == debug', FAIL]], |
| 135 | 'js1_5/Regress/regress-203278-1': [PASS, ['mode == debug', FAIL]], |
| 136 | 'js1_5/Regress/regress-244470': [PASS, ['mode == debug', FAIL]], |
| 137 | 'ecma_3/RegExp/regress-209067': [PASS, ['mode == debug', FAIL]], |
| 138 | 'js1_5/GC/regress-278725': [PASS, ['mode == debug', FAIL]], |
| 139 | # http://b/issue?id=1206983 |
| 140 | 'js1_5/Regress/regress-367561-03': [PASS, ['mode == debug', FAIL]], |
| 141 | 'ecma/Date/15.9.5.10-2': [PASS, FAIL, ['mode == debug', TIMEOUT, NO_VARIANTS]], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 142 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 143 | # These tests create two Date objects just after each other and |
| 144 | # expects them to match. Sometimes this happens on the border |
| 145 | # between one second and the next. |
| 146 | 'ecma/Date/15.9.2.1': [PASS, FAIL], |
| 147 | 'ecma/Date/15.9.2.2-1': [PASS, FAIL], |
| 148 | 'ecma/Date/15.9.2.2-2': [PASS, FAIL], |
| 149 | 'ecma/Date/15.9.2.2-3': [PASS, FAIL], |
| 150 | 'ecma/Date/15.9.2.2-4': [PASS, FAIL], |
| 151 | 'ecma/Date/15.9.2.2-5': [PASS, FAIL], |
| 152 | 'ecma/Date/15.9.2.2-6': [PASS, FAIL], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 153 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 154 | # 1026139: These date tests fail on arm and mips. |
| 155 | # These date tests also fail in a time zone without daylight saving time. |
| 156 | 'ecma/Date/15.9.5.29-1': [PASS, FAIL], |
| 157 | 'ecma/Date/15.9.5.28-1': [PASS, FAIL], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 158 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 159 | # 1050186: Arm/MIPS vm is broken; probably unrelated to dates |
| 160 | 'ecma/Array/15.4.4.5-3': [PASS, ['arch == arm or arch == mipsel or arch == mips', FAIL]], |
| 161 | 'ecma/Date/15.9.5.22-2': [PASS, ['arch == arm or arch == mipsel or arch == mips', FAIL]], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 162 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 163 | # Flaky test that fails due to what appears to be a bug in the test. |
| 164 | # Occurs depending on current time |
| 165 | 'ecma/Date/15.9.5.8': [PASS, FAIL], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 166 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 167 | # Severely brain-damaged test. Access to local variables must not |
| 168 | # be more than 2.5 times faster than access to global variables? WTF? |
| 169 | 'js1_5/Regress/regress-169559': [PASS, FAIL], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 170 | |
| 171 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 172 | # Test that rely on specific timezone (not working in Denmark). |
| 173 | 'js1_5/Regress/regress-58116': [PASS, FAIL], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 174 | |
| 175 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 176 | # Flaky random() test. Tests the distribution of calls to Math.random(). |
| 177 | 'js1_5/Regress/regress-211590': [PASS, FAIL], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 178 | |
| 179 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 180 | # Flaky tests; expect BigO-order computations to yield 1, but the code |
| 181 | # cannot handle outliers. See bug #925864. |
| 182 | 'ecma_3/RegExp/regress-311414': [PASS, FAIL], |
| 183 | 'ecma_3/RegExp/regress-289669': [PASS, FAIL], |
| 184 | 'js1_5/String/regress-314890': [PASS, FAIL], |
| 185 | 'js1_5/String/regress-56940-01': [PASS, FAIL], |
| 186 | 'js1_5/String/regress-56940-02': [PASS, FAIL], |
| 187 | 'js1_5/String/regress-157334-01': [PASS, FAIL], |
| 188 | 'js1_5/String/regress-322772': [PASS, FAIL], |
| 189 | 'js1_5/Array/regress-99120-01': [PASS, FAIL, NO_VARIANTS], |
| 190 | 'js1_5/Array/regress-99120-02': [PASS, FAIL], |
| 191 | 'js1_5/Regress/regress-347306-01': [PASS, FAIL], |
| 192 | 'js1_5/Regress/regress-416628': [PASS, FAIL, ['mode == debug', TIMEOUT, NO_VARIANTS]], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 193 | |
| 194 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 195 | # The following two tests assume that daylight savings time starts first |
| 196 | # Sunday in April. This is not true when executing the tests outside |
| 197 | # California! In Denmark the adjustment starts one week earlier. |
| 198 | # Tests based on shell that use dates in this gap are flaky. |
| 199 | 'ecma/Date/15.9.5.10-1': [PASS, FAIL], |
| 200 | 'ecma/Date/15.9.5.12-1': [PASS, FAIL], |
| 201 | 'ecma/Date/15.9.5.14': [PASS, FAIL], |
| 202 | 'ecma/Date/15.9.5.34-1': [PASS, FAIL], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 203 | |
| 204 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 205 | # These tests sometimes pass (in particular on Windows). They build up |
| 206 | # a lot of stuff on the stack, which normally causes a stack overflow, |
| 207 | # but sometimes it makes it through? |
| 208 | 'js1_5/Regress/regress-98901': [PASS, FAIL], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 209 | |
| 210 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 211 | # Tests that sorting arrays of ints is less than 3 times as fast |
| 212 | # as sorting arrays of strings. |
| 213 | 'js1_5/extensions/regress-371636': [PASS, FAIL, ['mode == debug', TIMEOUT, NO_VARIANTS]], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 214 | |
| 215 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 216 | # Tests depend on GC timings. Inherently flaky. |
| 217 | 'js1_5/GC/regress-383269-01': [PASS, FAIL], |
| 218 | 'js1_5/GC/regress-383269-02': [PASS, FAIL], |
| 219 | 'js1_5/Regress/regress-404755': [PASS, FAIL], |
Steve Block | 1e0659c | 2011-05-24 12:43:12 +0100 | [diff] [blame] | 220 | |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 221 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 222 | # Test that depends on timer resolution. Fails every now and then |
| 223 | # if we're unlucky enough to get a context switch at a bad time. |
Emily Bernier | d0a1eb7 | 2015-03-24 16:35:39 -0400 | [diff] [blame^] | 224 | # TODO(mstarzinger): Switch off TF on windows due to timeouts. |
| 225 | 'js1_5/extensions/regress-363258': [PASS, FAIL, ['system == windows', NO_VARIANTS]], |
Ben Murdoch | 589d697 | 2011-11-30 16:04:58 +0000 | [diff] [blame] | 226 | |
| 227 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 228 | # Test that assumes specific runtime for a regexp, flaky in debug mode. |
| 229 | 'ecma_3/RegExp/regress-85721': [PASS, ['mode == debug', FAIL]], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 230 | |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 231 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 232 | # Test that assumes specific execution time, flaky in debug mode. |
| 233 | 'js1_5/Array/regress-101964': [PASS, ['mode == debug', FAIL]], |
Ben Murdoch | 3fb3ca8 | 2011-12-02 17:19:32 +0000 | [diff] [blame] | 234 | |
Ben Murdoch | 3ef787d | 2012-04-12 10:51:47 +0100 | [diff] [blame] | 235 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 236 | ##################### INCOMPATIBLE TESTS ##################### |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 237 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 238 | # This section is for tests that fail in both V8 and JSC. Thus they |
| 239 | # have been determined to be incompatible between Mozilla and V8/JSC. |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 240 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 241 | # toPrecision argument restricted to range 1..21 in JSC/V8 and ECMA-262 |
| 242 | 'js1_5/Regress/regress-452346': [FAIL_OK], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 243 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 244 | # Fail because it calls builtins as functions and do not expect the |
| 245 | # builtin to have undefined as the receiver. |
| 246 | 'ecma/String/15.5.4.6-2': [FAIL_OK], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 247 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 248 | # Fail because it expects String.prototype.split to distinguish whether |
| 249 | # separator was undefined or not passed at all. |
| 250 | 'ecma/String/15.5.4.8-2': [FAIL_OK], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 251 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 252 | # Fail because of toLowerCase and toUpperCase conversion. |
| 253 | 'ecma/String/15.5.4.11-2': [FAIL_OK], |
| 254 | 'ecma/String/15.5.4.11-5': [FAIL_OK], |
| 255 | 'ecma/String/15.5.4.12-1': [FAIL_OK], |
| 256 | 'ecma/String/15.5.4.12-4': [FAIL_OK], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 257 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 258 | # This test uses an older version of the unicode standard that fails |
| 259 | # us because we correctly convert the armenian small ligature ech-yiwn |
| 260 | # to the two upper-case characters ECH and YIWN, whereas the older |
| 261 | # unicode version converts it to itself. |
| 262 | 'ecma/String/15.5.4.12-5': [FAIL_OK], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 263 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 264 | # Creates a linked list of arrays until we run out of memory or timeout. |
| 265 | 'js1_5/Regress/regress-312588': [SKIP], |
Steve Block | 8defd9f | 2010-07-08 12:39:36 +0100 | [diff] [blame] | 266 | |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 267 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 268 | # Runs out of memory because it compiles huge functions. |
| 269 | 'js1_5/Function/regress-338001': [FAIL_OK], |
| 270 | 'js1_5/Function/regress-338121-01': [FAIL_OK], |
| 271 | 'js1_5/Function/regress-338121-02': [FAIL_OK], |
| 272 | 'js1_5/Function/regress-338121-03': [FAIL_OK], |
| 273 | |
| 274 | # Expectes 'prototype' property of functions to be enumerable. |
| 275 | 'js1_5/Function/10.1.6-01': [FAIL_OK], |
| 276 | |
| 277 | #:=== RegExp:=== |
| 278 | # We don't match the syntax error message of Mozilla for invalid |
| 279 | # RegExp flags. |
| 280 | 'ecma_3/RegExp/15.10.4.1-6': [FAIL_OK], |
| 281 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 282 | # PCRE's match limit is reached. SpiderMonkey hangs on the first one, |
| 283 | # JSC returns true somehow. Maybe they up the match limit? There is |
| 284 | # an open V8 bug 676063 about this. |
| 285 | # TODO(yangguo): Hangs on complex regexp. Please investigate if this gives |
| 286 | # any useful coverage. |
| 287 | 'ecma_3/RegExp/regress-330684': [SKIP], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 288 | |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 289 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 290 | # This test contains a regexp that runs exponentially long. Spidermonkey |
| 291 | # standalone will hang, though apparently inside Firefox it will trigger a |
| 292 | # long-running-script timeout. JSCRE passes by hitting the matchLimit and |
| 293 | # just pretending that an exhaustive search found no match. |
| 294 | # TODO(yangguo): Hangs on complex regexp. Please investigate if this gives |
| 295 | # any useful coverage. |
| 296 | 'ecma_3/RegExp/regress-307456': [SKIP], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 297 | |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 298 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 299 | # We do not detect overflow in bounds for back references and {} |
| 300 | # quantifiers. Might fix by parsing numbers differently? |
| 301 | 'js1_5/Regress/regress-230216-2': [FAIL_OK], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 302 | |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 303 | |
Emily Bernier | d0a1eb7 | 2015-03-24 16:35:39 -0400 | [diff] [blame^] | 304 | # BUG(v8:3767) |
| 305 | 'js1_5/Regress/regress-280769-2': [PASS, ['arch == arm64', SKIP]], |
| 306 | |
| 307 | # Regexps too big. |
| 308 | 'js1_5/Regress/regress-280769-1': [SKIP], |
| 309 | 'js1_5/Regress/regress-280769-5': [SKIP], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 310 | |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 311 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 312 | # We do not support static RegExp.multiline - should we?. |
| 313 | 'js1_2/regexp/RegExp_multiline': [FAIL_OK], |
| 314 | 'js1_2/regexp/RegExp_multiline_as_array': [FAIL_OK], |
| 315 | 'js1_2/regexp/beginLine': [FAIL_OK], |
| 316 | 'js1_2/regexp/endLine': [FAIL_OK], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 317 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 318 | # We no longer let calls to test and exec with no argument implicitly |
| 319 | # use the previous input. |
| 320 | 'js1_2/regexp/RegExp_input': [FAIL_OK], |
| 321 | 'js1_2/regexp/RegExp_input_as_array': [FAIL_OK], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 322 | |
| 323 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 324 | # To be compatible with safari typeof a regexp yields 'function'; |
| 325 | # in firefox it yields 'object'. |
| 326 | 'js1_2/function/regexparg-1': [FAIL_OK], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 327 | |
| 328 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 329 | # Date trouble? |
| 330 | 'js1_5/Date/regress-301738-02': [FAIL_OK], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 331 | |
Ben Murdoch | 3ef787d | 2012-04-12 10:51:47 +0100 | [diff] [blame] | 332 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 333 | # This test fails for all browsers on in the CET timezone. |
| 334 | 'ecma/Date/15.9.5.35-1': [PASS, FAIL_OK], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 335 | |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 336 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 337 | # Spidermonkey allows stuff in parenthesis directly after the minutes |
| 338 | # in a date. JSC does not, so we don't either. |
| 339 | 'js1_5/Date/regress-309925-02': [FAIL_OK], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 340 | |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 341 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 342 | # Print string after deleting array element? |
| 343 | 'js1_5/Expressions/regress-96526-delelem': [FAIL_OK], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 344 | |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 345 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 346 | # Stack overflows should be InternalError: too much recursion? |
| 347 | 'js1_5/Regress/regress-234389': [FAIL_OK], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 348 | |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 349 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 350 | # This may very well be a bogus test. I'm not sure yet. |
| 351 | 'js1_5/Regress/regress-320119': [FAIL_OK], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 352 | |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 353 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 354 | # No support for toSource(). |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 355 | 'js1_5/Regress/regress-313967-01': [FAIL_OK], |
| 356 | 'js1_5/Regress/regress-313967-02': [FAIL_OK], |
Emily Bernier | d0a1eb7 | 2015-03-24 16:35:39 -0400 | [diff] [blame^] | 357 | 'js1_5/extensions/regress-459606': [FAIL_OK], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 358 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 359 | # This fails because we don't have stack space for Function.prototype.apply |
| 360 | # with very large numbers of arguments. The test uses 2^24 arguments. |
| 361 | 'js1_5/Array/regress-350256-03': [FAIL_OK], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 362 | |
| 363 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 364 | # Extra arguments not handled properly in String.prototype.match |
| 365 | 'js1_5/Regress/regress-179524': [FAIL_OK], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 366 | |
| 367 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 368 | # Uncategorized failures. Please help categorize (or fix) these failures. |
| 369 | 'js1_5/Regress/regress-172699': [FAIL_OK], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 370 | |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 371 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 372 | # Assumes that the prototype of a function is enumerable. Non-ECMA, |
| 373 | # see section 15.3.3.1, page 86. |
| 374 | 'ecma/GlobalObject/15.1.2.2-1': [FAIL_OK], |
| 375 | 'ecma/GlobalObject/15.1.2.3-1': [FAIL_OK], |
| 376 | 'ecma/GlobalObject/15.1.2.4': [FAIL_OK], |
| 377 | 'ecma/GlobalObject/15.1.2.5-1': [FAIL_OK], |
| 378 | 'ecma/GlobalObject/15.1.2.6': [FAIL_OK], |
| 379 | 'ecma/GlobalObject/15.1.2.7': [FAIL_OK], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 380 | |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 381 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 382 | # Leading zero no longer signal octal numbers (ECMA-262 Annex E 15.1.2.2). |
| 383 | 'ecma/GlobalObject/15.1.2.2-2': [FAIL_OK], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 384 | |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 385 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 386 | # Tests that rely on specific details of function decompilation or |
| 387 | # print strings for errors. Non-ECMA behavior. |
| 388 | 'js1_2/function/tostring-2': [FAIL_OK], |
| 389 | 'js1_2/Objects/toString-001': [FAIL_OK], |
| 390 | 'js1_5/LexicalConventions/regress-469940': [FAIL_OK], |
| 391 | 'js1_5/Exceptions/regress-332472': [FAIL_OK], |
| 392 | 'js1_5/Regress/regress-173067': [FAIL_OK], |
| 393 | 'js1_5/Regress/regress-355556': [FAIL_OK], |
| 394 | 'js1_5/Regress/regress-328664': [FAIL_OK], |
| 395 | 'js1_5/Regress/regress-252892': [FAIL_OK], |
| 396 | 'js1_5/Regress/regress-352208': [FAIL_OK], |
| 397 | 'ecma_3/Array/15.4.5.1-01': [FAIL_OK], |
| 398 | 'ecma_3/Array/regress-387501': [FAIL_OK], |
| 399 | 'ecma_3/LexicalConventions/7.9.1': [FAIL_OK], |
| 400 | 'ecma_3/RegExp/regress-375711': [FAIL_OK], |
| 401 | 'ecma_3/Unicode/regress-352044-01': [FAIL_OK], |
| 402 | 'ecma_3/extensions/regress-274152': [FAIL_OK], |
| 403 | 'js1_5/Regress/regress-372364': [FAIL_OK], |
| 404 | 'js1_5/Regress/regress-420919': [FAIL_OK], |
| 405 | 'js1_5/Regress/regress-422348': [FAIL_OK], |
| 406 | 'js1_5/Regress/regress-410852': [FAIL_OK], |
| 407 | 'ecma_3/RegExp/regress-375715-04': [FAIL_OK], |
| 408 | 'js1_5/decompilation/regress-456964-01': [FAIL_OK], |
| 409 | 'js1_5/decompilation/regress-437288-02': [FAIL_OK], |
| 410 | 'js1_5/decompilation/regress-457824': [FAIL_OK], |
| 411 | 'js1_5/decompilation/regress-460116-01': [FAIL_OK], |
| 412 | 'js1_5/decompilation/regress-460116-02': [FAIL_OK], |
| 413 | 'js1_5/decompilation/regress-460501': [FAIL_OK], |
| 414 | 'js1_5/decompilation/regress-460116-03': [FAIL_OK], |
| 415 | 'js1_5/decompilation/regress-461110': [FAIL_OK], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 416 | |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 417 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 418 | # Tests that use uneval. Non-ECMA. |
| 419 | 'js1_5/GC/regress-418128': [FAIL_OK], |
| 420 | 'js1_5/extensions/regress-465276': [FAIL_OK], |
| 421 | 'js1_5/Error/regress-465377': [FAIL_OK], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 422 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 423 | # Tests that use the watch method. Non-ECMA. |
| 424 | 'js1_5/extensions/regress-435345-01': [FAIL_OK], |
| 425 | 'js1_5/extensions/regress-455413': [FAIL_OK], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 426 | |
| 427 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 428 | # Uses Mozilla-specific QName, XML, XMLList and Iterator. |
| 429 | 'js1_5/Regress/regress-407323': [FAIL_OK], |
| 430 | 'js1_5/Regress/regress-407957': [FAIL_OK], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 431 | |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 432 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 433 | # Relies on JavaScript 1.2 / 1.3 deprecated features. |
| 434 | 'js1_2/function/String': [FAIL_OK], |
| 435 | 'js1_2/operator/equality': [FAIL_OK], |
| 436 | 'js1_2/version120/boolean-001': [FAIL_OK], |
| 437 | 'js1_2/String/concat': [FAIL_OK], |
| 438 | 'js1_2/function/Function_object': [FAIL_OK], |
| 439 | 'js1_2/function/tostring-1': [FAIL_OK], |
| 440 | 'js1_2/version120/regress-99663': [FAIL_OK], |
| 441 | 'js1_2/regexp/RegExp_lastIndex': [FAIL_OK], |
| 442 | 'js1_2/regexp/string_split': [FAIL_OK], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 443 | |
| 444 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 445 | # RegExps are not callable. |
| 446 | 'js1_2/regexp/simple_form': [FAIL_OK], |
| 447 | 'js1_2/regexp/regress-6359': [FAIL_OK], |
| 448 | 'js1_2/regexp/regress-9141': [FAIL_OK], |
| 449 | 'js1_5/Regress/regress-224956': [FAIL_OK], |
| 450 | 'js1_5/Regress/regress-325925': [FAIL_OK], |
| 451 | 'ecma_2/RegExp/regress-001': [FAIL_OK], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 452 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 453 | # We do not check for bad surrogate pairs when quoting strings. |
| 454 | 'js1_5/Regress/regress-315974': [FAIL_OK], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 455 | |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 456 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 457 | # Use unsupported "watch". |
| 458 | 'js1_5/Regress/regress-213482': [FAIL_OK], |
| 459 | 'js1_5/Regress/regress-240577': [FAIL_OK], |
| 460 | 'js1_5/Regress/regress-355344': [FAIL_OK], |
| 461 | 'js1_5/Object/regress-362872-01': [FAIL_OK], |
| 462 | 'js1_5/Object/regress-362872-02': [FAIL_OK], |
| 463 | 'js1_5/Regress/regress-361467': [FAIL_OK], |
| 464 | 'js1_5/Regress/regress-385393-06': [FAIL_OK], |
| 465 | 'js1_5/Regress/regress-506567': [FAIL_OK], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 466 | |
Ben Murdoch | 3fb3ca8 | 2011-12-02 17:19:32 +0000 | [diff] [blame] | 467 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 468 | # Use special Mozilla getter/setter syntax |
| 469 | 'js1_5/Regress/regress-354924': [FAIL_OK], |
| 470 | 'js1_5/Regress/regress-355341': [FAIL_OK], |
| 471 | 'js1_5/GC/regress-316885-01': [FAIL_OK], |
| 472 | 'js1_5/GetSet/getset-002': [FAIL_OK], |
| 473 | 'js1_5/GetSet/regress-353264': [FAIL_OK], |
| 474 | 'js1_5/Regress/regress-361617': [FAIL_OK], |
| 475 | 'js1_5/Regress/regress-362583': [FAIL_OK], |
| 476 | 'js1_5/extensions/regress-356378': [FAIL_OK], |
| 477 | 'js1_5/extensions/regress-452178': [FAIL_OK], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 478 | |
| 479 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 480 | # Requires Mozilla-specific strict mode or options() function. |
| 481 | 'ecma_3/Object/8.6.1-01': [FAIL_OK], |
| 482 | 'js1_5/Exceptions/regress-315147': [FAIL_OK], |
| 483 | 'js1_5/Regress/regress-106244': [FAIL_OK], |
| 484 | 'js1_5/Regress/regress-317533': [FAIL_OK], |
| 485 | 'js1_5/Regress/regress-323314-1': [FAIL_OK], |
| 486 | 'js1_5/Regress/regress-352197': [FAIL_OK], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 487 | |
| 488 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 489 | # Equivalent to assert(false). |
| 490 | 'ecma_2/RegExp/exec-001': [FAIL_OK], |
| 491 | 'ecma_2/String/replace-001': [FAIL_OK], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 492 | |
| 493 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 494 | # We do not strip unicode format control characters. This is really |
| 495 | # required for working with non-latin character sets. We match JSC |
| 496 | # and IE here. Firefox matches the spec (section 7.1). |
| 497 | 'ecma_3/Unicode/uc-001': [FAIL_OK], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 498 | |
| 499 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 500 | # A non-breaking space doesn't match \s in a regular expression. This |
| 501 | # behaviour matches JSC. All the VMs have different behaviours in which |
| 502 | # characters match \s so we do the same as JSC until they change. |
| 503 | 'ecma_3/Unicode/uc-002': [PASS, FAIL_OK], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 504 | |
| 505 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 506 | # String.prototype.split on empty strings always returns an array |
| 507 | # with one element (as specified in ECMA-262). |
| 508 | 'js1_2/Array/array_split_1': [FAIL_OK], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 509 | |
| 510 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 511 | # The concat() method is defined in Array.prototype; not Array. |
| 512 | 'js1_5/Array/regress-313153': [FAIL_OK], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 513 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 514 | # The join() method is defined on Array.prototype; not Array. |
| 515 | 'js1_5/Array/regress-474529': [FAIL_OK], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 516 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 517 | # The lastIndexOf() method is defined on Array.prototype, not Array. |
| 518 | 'ecma_3/Array/15.5.4.8-01': [FAIL_OK], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 519 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 520 | # Properties fileName, and lineNumber of Error instances are |
| 521 | # not supported. Mozilla specific extension. |
| 522 | 'js1_5/Exceptions/errstack-001': [FAIL_OK], |
| 523 | 'js1_5/Exceptions/regress-257751': [FAIL_OK], |
| 524 | 'js1_5/Regress/regress-119719': [FAIL_OK], |
| 525 | 'js1_5/Regress/regress-167328': [FAIL_OK], |
| 526 | 'js1_5/Regress/regress-243869': [FAIL_OK], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 527 | |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 528 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 529 | # Unsupported import/export and <xml> literals. Mozilla extensions. |
| 530 | 'js1_5/Regress/regress-249211': [FAIL_OK], |
| 531 | 'js1_5/Regress/regress-309242': [FAIL_OK], |
| 532 | 'js1_5/Regress/regress-350692': [FAIL_OK], |
| 533 | 'js1_5/extensions/regress-421621': [FAIL_OK], |
| 534 | 'js1_5/extensions/regress-432075': [FAIL_OK], |
Steve Block | 8defd9f | 2010-07-08 12:39:36 +0100 | [diff] [blame] | 535 | |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 536 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 537 | # The length of Error functions is 1 not 3. |
| 538 | 'js1_5/Exceptions/regress-123002': [FAIL_OK], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 539 | |
| 540 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 541 | # Reserved keywords as function names, etc is not supported. |
| 542 | 'js1_5/LexicalConventions/regress-343675': [FAIL_OK], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 543 | |
| 544 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 545 | # Tests if future reserved keywords of ECMA-262, edition 3 emit warnings. We |
| 546 | # implement the edition 5 behaviour and fail on use of edition 5 future |
| 547 | # reserved keywords as identifiers. |
| 548 | 'js1_5/Regress/regress-240317': [FAIL_OK], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 549 | |
| 550 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 551 | # Unsupported list comprehensions: [ ... for ... ] and for each. |
| 552 | 'js1_5/Regress/regress-352009': [FAIL_OK], |
| 553 | 'js1_5/Regress/regress-349648': [FAIL_OK], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 554 | |
| 555 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 556 | # Expects top level arguments (passed on command line?) to be |
| 557 | # the empty string? |
| 558 | 'js1_5/Regress/regress-336100': [FAIL_OK], |
Ben Murdoch | 3fb3ca8 | 2011-12-02 17:19:32 +0000 | [diff] [blame] | 559 | |
| 560 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 561 | # This test fails due to http://code.google.com/p/v8/issues/detail?id=187 |
| 562 | # Failure to clear captures when a lookahead is unwound. |
| 563 | 'ecma_3/RegExp/15.10.2-1': [PASS, FAIL_OK], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 564 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 565 | # This test requires a failure if we try to compile a function with more |
| 566 | # than 65536 arguments. This seems to be a Mozilla restriction. |
| 567 | 'js1_5/Regress/regress-290575': [PASS, FAIL_OK], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 568 | |
| 569 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 570 | # Fails because of the way function declarations are |
| 571 | # handled in V8/JSC. V8 follows IE behavior and introduce |
| 572 | # all nested function declarations when entering the |
| 573 | # surrounding function, whereas Spidermonkey declares |
| 574 | # them dynamically when the statement is executed. |
| 575 | 'ecma_3/Function/scope-001': [FAIL_OK], |
| 576 | 'ecma_3/FunExpr/fe-001': [FAIL_OK], |
| 577 | 'js1_5/Scope/regress-184107': [FAIL_OK], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 578 | |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 579 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 580 | # Function is deletable in V8 and JSC. |
| 581 | 'js1_5/Regress/regress-352604': [FAIL_OK], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 582 | |
| 583 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 584 | # Cannot call strings as functions. Expects not to crash. |
| 585 | 'js1_5/Regress/regress-417893': [FAIL_OK], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 586 | |
| 587 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 588 | # Unsupported use of "[]" as function parameter. We match JSC. |
| 589 | 'js1_5/Regress/regress-416737-01': [FAIL_OK], |
| 590 | 'js1_5/Regress/regress-416737-02': [FAIL_OK], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 591 | |
| 592 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 593 | # Illegal escape-sequences in string literals. Has already been fixed |
| 594 | # by most engines (i.e. V8, JSC, Opera and FF). |
| 595 | 'ecma/Array/15.4.5.1-1': [FAIL_OK], |
| 596 | 'ecma/LexicalConventions/7.7.4': [FAIL_OK], |
| 597 | 'ecma_2/RegExp/hex-001': [FAIL_OK], |
| 598 | 'js1_2/regexp/hexadecimal': [FAIL_OK], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 599 | |
| 600 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 601 | # The source field of RegExp objects is properly escaped. We match JSC. |
| 602 | 'ecma_2/RegExp/constructor-001': [FAIL_OK], |
| 603 | 'ecma_2/RegExp/function-001': [FAIL_OK], |
| 604 | 'ecma_2/RegExp/properties-001': [FAIL_OK], |
Steve Block | 8defd9f | 2010-07-08 12:39:36 +0100 | [diff] [blame] | 605 | |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 606 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 607 | # Negative hexadecimal literals are parsed as NaN. This test is outdated. |
| 608 | 'ecma/TypeConversion/9.3.1-3': [FAIL_OK], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 609 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 610 | ##################### FAILING TESTS ##################### |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 611 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 612 | # This section is for tests that fail in V8 and pass in JSC. |
| 613 | # Tests that fail in both V8 and JSC belong in the FAIL_OK |
| 614 | # category. |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 615 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 616 | # This fails because we don't handle Function.prototype.apply with very large |
| 617 | # numbers of arguments (depending on max stack size). 350256-02 needs more |
| 618 | # than 4Mbytes of stack space. |
| 619 | 'js1_5/Array/regress-350256-02': [FAIL], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 620 | |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 621 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 622 | # This test seems designed to fail (it produces a 700Mbyte string). |
| 623 | # We fail on out of memory. The important thing is not to crash. |
| 624 | 'js1_5/Regress/regress-303213': [FAIL, ['mode == debug', TIMEOUT, NO_VARIANTS]], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 625 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 626 | # This test fails since we now throw in String.prototype.match when apply |
| 627 | # is given null or undefined as this argument (and so does firefox nightly). |
| 628 | 'js1_5/Regress/regress-295052': [FAIL], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 629 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 630 | # Bug 1202592: New ecma_3/String/15.5.4.11 is failing. |
| 631 | 'ecma_3/String/15.5.4.11': [FAIL], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 632 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 633 | # Bug 1202597: New js1_5/Expressions/regress-394673 is failing. |
| 634 | # Marked as: Will not fix. V8 throws an acceptable RangeError. |
| 635 | 'js1_5/Expressions/regress-394673': [FAIL], |
Steve Block | 8defd9f | 2010-07-08 12:39:36 +0100 | [diff] [blame] | 636 | |
Steve Block | 8defd9f | 2010-07-08 12:39:36 +0100 | [diff] [blame] | 637 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 638 | # Bug 762: http://code.google.com/p/v8/issues/detail?id=762 |
| 639 | # We do not correctly handle assignments within "with" |
| 640 | 'ecma_3/Statements/12.10-01': [FAIL], |
Ben Murdoch | 3ef787d | 2012-04-12 10:51:47 +0100 | [diff] [blame] | 641 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 642 | ##################### MOZILLA EXTENSION TESTS ##################### |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 643 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 644 | 'ecma/extensions/15.1.2.1-1': [FAIL_OK], |
| 645 | 'ecma_3/extensions/regress-385393-03': [FAIL_OK], |
| 646 | 'ecma_3/extensions/7.9.1': [FAIL_OK], |
| 647 | 'js1_5/extensions/catchguard-001': [FAIL_OK], |
| 648 | 'js1_5/extensions/catchguard-002': [FAIL_OK], |
| 649 | 'js1_5/extensions/catchguard-003': [FAIL_OK], |
| 650 | 'js1_5/extensions/getset-001': [FAIL_OK], |
| 651 | 'js1_5/extensions/getset-003': [FAIL_OK], |
| 652 | 'js1_5/extensions/no-such-method': [FAIL_OK], |
| 653 | 'js1_5/extensions/regress-104077': [FAIL_OK], |
| 654 | 'js1_5/extensions/regress-226078': [FAIL_OK], |
| 655 | 'js1_5/extensions/regress-303277': [FAIL_OK], |
| 656 | 'js1_5/extensions/regress-304897': [FAIL_OK], |
| 657 | 'js1_5/extensions/regress-306738': [FAIL_OK], |
| 658 | 'js1_5/extensions/regress-311161': [FAIL_OK], |
| 659 | 'js1_5/extensions/regress-311583': [FAIL_OK], |
| 660 | 'js1_5/extensions/regress-311792-01': [FAIL_OK], |
| 661 | 'js1_5/extensions/regress-312278': [FAIL_OK], |
| 662 | 'js1_5/extensions/regress-313630': [FAIL_OK], |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 663 | 'js1_5/extensions/regress-313803': [FAIL_OK], |
| 664 | 'js1_5/extensions/regress-314874': [FAIL_OK], |
| 665 | 'js1_5/extensions/regress-322957': [FAIL_OK], |
| 666 | 'js1_5/extensions/regress-328556': [FAIL_OK], |
| 667 | 'js1_5/extensions/regress-333541': [FAIL_OK], |
| 668 | 'js1_5/extensions/regress-335700': [FAIL_OK], |
| 669 | 'js1_5/extensions/regress-336409-1': [FAIL_OK], |
| 670 | 'js1_5/extensions/regress-336409-2': [FAIL_OK], |
| 671 | 'js1_5/extensions/regress-336410-2': [FAIL_OK], |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 672 | 'js1_5/extensions/regress-346494-01': [FAIL_OK], |
| 673 | 'js1_5/extensions/regress-346494': [FAIL_OK], |
| 674 | 'js1_5/extensions/regress-347306-02': [FAIL_OK], |
| 675 | 'js1_5/extensions/regress-348986': [FAIL_OK], |
| 676 | 'js1_5/extensions/regress-349616': [FAIL_OK], |
| 677 | 'js1_5/extensions/regress-350312-02': [FAIL_OK], |
| 678 | 'js1_5/extensions/regress-350312-03': [FAIL_OK], |
| 679 | 'js1_5/extensions/regress-350531': [FAIL_OK], |
| 680 | 'js1_5/extensions/regress-351102-01': [FAIL_OK], |
| 681 | 'js1_5/extensions/regress-351102-02': [FAIL_OK], |
| 682 | 'js1_5/extensions/regress-351102-06': [FAIL_OK], |
| 683 | 'js1_5/extensions/regress-351973': [FAIL_OK], |
| 684 | 'js1_5/extensions/regress-352060': [FAIL_OK], |
| 685 | 'js1_5/extensions/regress-352094': [FAIL_OK], |
| 686 | 'js1_5/extensions/regress-352261': [FAIL_OK], |
| 687 | 'js1_5/extensions/regress-352281': [FAIL_OK], |
| 688 | 'js1_5/extensions/regress-352455': [FAIL_OK], |
| 689 | 'js1_5/extensions/regress-352604': [FAIL_OK], |
| 690 | 'js1_5/extensions/regress-353214': [FAIL_OK], |
| 691 | 'js1_5/extensions/regress-355339': [FAIL_OK], |
| 692 | 'js1_5/extensions/regress-355497': [FAIL_OK], |
| 693 | 'js1_5/extensions/regress-355622': [FAIL_OK], |
| 694 | 'js1_5/extensions/regress-355736': [FAIL_OK], |
| 695 | 'js1_5/extensions/regress-356085': [FAIL_OK], |
| 696 | 'js1_5/extensions/regress-356106': [FAIL_OK], |
| 697 | 'js1_5/extensions/regress-358594-01': [FAIL_OK], |
| 698 | 'js1_5/extensions/regress-358594-02': [FAIL_OK], |
| 699 | 'js1_5/extensions/regress-358594-03': [FAIL_OK], |
| 700 | 'js1_5/extensions/regress-358594-04': [FAIL_OK], |
| 701 | 'js1_5/extensions/regress-358594-05': [FAIL_OK], |
| 702 | 'js1_5/extensions/regress-358594-06': [FAIL_OK], |
| 703 | 'js1_5/extensions/regress-361346': [FAIL_OK], |
| 704 | 'js1_5/extensions/regress-361360': [FAIL_OK], |
| 705 | 'js1_5/extensions/regress-361558': [FAIL_OK], |
| 706 | 'js1_5/extensions/regress-361571': [FAIL_OK], |
| 707 | 'js1_5/extensions/regress-361856': [FAIL_OK], |
| 708 | 'js1_5/extensions/regress-361964': [FAIL_OK], |
| 709 | 'js1_5/extensions/regress-363988': [FAIL_OK], |
| 710 | 'js1_5/extensions/regress-365869': [FAIL_OK], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 711 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 712 | # Uses non ES5 compatible syntax for setter |
| 713 | 'js1_5/extensions/regress-367501-01': [FAIL_OK], |
| 714 | 'js1_5/extensions/regress-367501-02': [FAIL_OK], |
| 715 | 'js1_5/extensions/regress-367501-03': [FAIL_OK], |
| 716 | 'js1_5/extensions/regress-367501-04': [FAIL_OK], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 717 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 718 | 'js1_5/extensions/regress-367630': [FAIL_OK], |
| 719 | 'js1_5/extensions/regress-367923': [FAIL_OK], |
| 720 | 'js1_5/extensions/regress-368859': [FAIL_OK], |
| 721 | 'js1_5/extensions/regress-369696-01': [FAIL_OK], |
| 722 | 'js1_5/extensions/regress-369696-02': [FAIL_OK], |
| 723 | 'js1_5/extensions/regress-369696-03': [FAIL_OK], |
| 724 | 'js1_5/extensions/regress-374589': [FAIL_OK], |
| 725 | 'js1_5/extensions/regress-375801': [FAIL_OK], |
| 726 | 'js1_5/extensions/regress-376052': [FAIL_OK], |
| 727 | 'js1_5/extensions/regress-379523': [FAIL_OK], |
| 728 | 'js1_5/extensions/regress-380581': [FAIL_OK], |
| 729 | 'js1_5/extensions/regress-380831': [FAIL_OK], |
| 730 | 'js1_5/extensions/regress-381205': [FAIL_OK], |
| 731 | 'js1_5/extensions/regress-381211': [FAIL_OK], |
| 732 | 'js1_5/extensions/regress-381304': [FAIL_OK], |
| 733 | 'js1_5/extensions/regress-382509': [FAIL_OK], |
| 734 | 'js1_5/extensions/regress-383965': [FAIL_OK], |
| 735 | 'js1_5/extensions/regress-384680': [FAIL_OK], |
| 736 | 'js1_5/extensions/regress-385393-09': [FAIL_OK], |
| 737 | 'js1_5/extensions/regress-407501': [FAIL_OK], |
| 738 | 'js1_5/extensions/regress-418730': [FAIL_OK], |
| 739 | 'js1_5/extensions/regress-420612': [FAIL_OK], |
| 740 | 'js1_5/extensions/regress-420869-01': [FAIL_OK], |
| 741 | 'js1_5/extensions/regress-424257': [FAIL_OK], |
| 742 | 'js1_5/extensions/regress-424683-01': [FAIL_OK], |
| 743 | 'js1_5/extensions/regress-429739': [FAIL_OK], |
| 744 | 'js1_5/extensions/regress-454142': [FAIL_OK], |
| 745 | 'js1_5/extensions/regress-465145': [FAIL_OK], |
| 746 | 'js1_5/extensions/regress-469625': [FAIL_OK], |
| 747 | 'js1_5/extensions/regress-472787': [FAIL_OK], |
| 748 | 'js1_5/extensions/regress-44009': [FAIL_OK], |
| 749 | 'js1_5/extensions/regress-50447-1': [FAIL_OK], |
| 750 | 'js1_5/extensions/regress-50447': [FAIL_OK], |
| 751 | 'js1_5/extensions/regress-90596-001': [FAIL_OK], |
| 752 | 'js1_5/extensions/regress-90596-002': [FAIL_OK], |
| 753 | 'js1_5/extensions/regress-96284-001': [FAIL_OK], |
| 754 | 'js1_5/extensions/regress-96284-002': [FAIL_OK], |
| 755 | 'js1_5/extensions/toLocaleFormat-01': [FAIL_OK], |
| 756 | 'js1_5/extensions/toLocaleFormat-02': [FAIL_OK], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 757 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 758 | # TODO(yangguo): Both tests have complex regular expressions (nested (.*)* |
| 759 | # and the like). Please investigate if these tests provide any coverage. |
| 760 | # Furthermore, an exception is expected which is not thrown by v8. |
| 761 | 'js1_5/extensions/regress-330569': [SKIP], |
| 762 | 'js1_5/extensions/regress-351448': [SKIP], |
| 763 | # In the 64-bit version, this test takes longer to run out of memory |
| 764 | # than it does in the 32-bit version when attempting to generate a huge |
| 765 | # error message in debug mode. |
| 766 | 'js1_5/extensions/regress-336410-1': [FAIL_OK, ['mode == debug and arch == x64', TIMEOUT, NO_VARIANTS]], |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 767 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 768 | ##################### DECOMPILATION TESTS ##################### |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 769 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 770 | # We don't really about the outcome of running the |
| 771 | # decompilation tests as long as they don't crash or |
| 772 | # timeout. |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 773 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 774 | 'js1_5/decompilation/regress-344120': [PASS, FAIL], |
| 775 | 'js1_5/decompilation/regress-346892': [PASS, FAIL], |
| 776 | 'js1_5/decompilation/regress-346902': [PASS, FAIL], |
| 777 | 'js1_5/decompilation/regress-346904': [PASS, FAIL], |
| 778 | 'js1_5/decompilation/regress-346915': [PASS, FAIL], |
| 779 | 'js1_5/decompilation/regress-349484': [PASS, FAIL], |
| 780 | 'js1_5/decompilation/regress-349489': [PASS, FAIL], |
| 781 | 'js1_5/decompilation/regress-349491': [PASS, FAIL], |
| 782 | 'js1_5/decompilation/regress-349596': [PASS, FAIL], |
| 783 | 'js1_5/decompilation/regress-349650': [PASS, FAIL], |
| 784 | 'js1_5/decompilation/regress-349663': [PASS, FAIL], |
| 785 | 'js1_5/decompilation/regress-350242': [PASS, FAIL], |
| 786 | 'js1_5/decompilation/regress-350263': [PASS, FAIL], |
| 787 | 'js1_5/decompilation/regress-350271': [PASS, FAIL], |
| 788 | 'js1_5/decompilation/regress-350666': [PASS, FAIL], |
| 789 | 'js1_5/decompilation/regress-350670': [PASS, FAIL], |
| 790 | 'js1_5/decompilation/regress-351104': [PASS, FAIL], |
| 791 | 'js1_5/decompilation/regress-351219': [PASS, FAIL], |
| 792 | 'js1_5/decompilation/regress-351336': [PASS, FAIL], |
| 793 | 'js1_5/decompilation/regress-351597': [PASS, FAIL], |
| 794 | 'js1_5/decompilation/regress-351625': [PASS, FAIL], |
| 795 | 'js1_5/decompilation/regress-351626': [PASS, FAIL], |
| 796 | 'js1_5/decompilation/regress-351693': [PASS, FAIL], |
| 797 | 'js1_5/decompilation/regress-351705': [PASS, FAIL], |
| 798 | 'js1_5/decompilation/regress-351793': [PASS, FAIL], |
| 799 | 'js1_5/decompilation/regress-352013': [PASS, FAIL], |
| 800 | 'js1_5/decompilation/regress-352022': [PASS, FAIL], |
| 801 | 'js1_5/decompilation/regress-352073': [PASS, FAIL], |
| 802 | 'js1_5/decompilation/regress-352202': [PASS, FAIL], |
| 803 | 'js1_5/decompilation/regress-352312': [PASS, FAIL], |
| 804 | 'js1_5/decompilation/regress-352360': [PASS, FAIL], |
| 805 | 'js1_5/decompilation/regress-352375': [PASS, FAIL], |
| 806 | 'js1_5/decompilation/regress-352453': [PASS, FAIL], |
| 807 | 'js1_5/decompilation/regress-352649': [PASS, FAIL], |
| 808 | 'js1_5/decompilation/regress-352873-01': [PASS, FAIL], |
| 809 | 'js1_5/decompilation/regress-352873-02': [PASS, FAIL], |
| 810 | 'js1_5/decompilation/regress-353000': [PASS, FAIL], |
| 811 | 'js1_5/decompilation/regress-353120': [PASS, FAIL], |
| 812 | 'js1_5/decompilation/regress-353146': [PASS, FAIL], |
| 813 | 'js1_5/decompilation/regress-354878': [PASS, FAIL], |
| 814 | 'js1_5/decompilation/regress-354910': [PASS, FAIL], |
| 815 | 'js1_5/decompilation/regress-355992': [PASS, FAIL], |
| 816 | 'js1_5/decompilation/regress-356083': [PASS, FAIL], |
| 817 | 'js1_5/decompilation/regress-356248': [PASS, FAIL], |
| 818 | 'js1_5/decompilation/regress-371692': [PASS, FAIL], |
| 819 | 'js1_5/decompilation/regress-373678': [PASS, FAIL], |
| 820 | 'js1_5/decompilation/regress-375639': [PASS, FAIL], |
| 821 | 'js1_5/decompilation/regress-375882': [PASS, FAIL], |
| 822 | 'js1_5/decompilation/regress-376564': [PASS, FAIL], |
| 823 | 'js1_5/decompilation/regress-383721': [PASS, FAIL], |
| 824 | 'js1_5/decompilation/regress-406555': [PASS, FAIL], |
| 825 | 'js1_5/decompilation/regress-460870': [PASS, FAIL], |
| 826 | }], # ALWAYS |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 827 | |
| 828 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 829 | ['arch == arm or arch == arm64', { |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 830 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 831 | # BUG(3251229): Times out when running new crankshaft test script. |
| 832 | 'ecma_3/RegExp/regress-311414': [SKIP], |
| 833 | 'ecma/Date/15.9.5.8': [SKIP], |
| 834 | 'ecma/Date/15.9.5.10-2': [SKIP], |
| 835 | 'ecma/Date/15.9.5.11-2': [SKIP], |
| 836 | 'ecma/Date/15.9.5.12-2': [SKIP], |
| 837 | 'js1_5/Array/regress-99120-02': [SKIP], |
| 838 | 'js1_5/extensions/regress-371636': [SKIP], |
| 839 | 'js1_5/Regress/regress-203278-1': [SKIP], |
| 840 | 'js1_5/Regress/regress-404755': [SKIP], |
| 841 | 'js1_5/Regress/regress-451322': [SKIP], |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 842 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 843 | # BUG(1040): Allow this test to timeout. |
| 844 | 'js1_5/GC/regress-203278-2': [PASS, TIMEOUT, NO_VARIANTS], |
| 845 | }], # 'arch == arm or arch == arm64' |
Steve Block | 1e0659c | 2011-05-24 12:43:12 +0100 | [diff] [blame] | 846 | |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 847 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 848 | ['arch == arm64', { |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 849 | # BUG(v8:3503): Times out in debug mode. |
| 850 | 'js1_5/Regress/regress-280769-2': [PASS, FAIL, ['mode == debug', SKIP]], |
Emily Bernier | d0a1eb7 | 2015-03-24 16:35:39 -0400 | [diff] [blame^] | 851 | # BUG(v8:3716): Flaky failure. |
| 852 | 'ecma/Date/15.9.5.26-1': [PASS, FAIL], |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 853 | }], # 'arch == arm64' |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 854 | |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 855 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 856 | ['arch == mipsel or arch == mips64el', { |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 857 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 858 | # BUG(3251229): Times out when running new crankshaft test script. |
| 859 | 'ecma_3/RegExp/regress-311414': [SKIP], |
| 860 | 'ecma/Date/15.9.5.8': [SKIP], |
| 861 | 'ecma/Date/15.9.5.10-2': [SKIP], |
| 862 | 'ecma/Date/15.9.5.11-2': [SKIP], |
| 863 | 'ecma/Date/15.9.5.12-2': [SKIP], |
| 864 | 'js1_5/Array/regress-99120-02': [SKIP], |
| 865 | 'js1_5/extensions/regress-371636': [SKIP], |
| 866 | 'js1_5/Regress/regress-203278-1': [SKIP], |
| 867 | 'js1_5/Regress/regress-404755': [SKIP], |
| 868 | 'js1_5/Regress/regress-451322': [SKIP], |
Ben Murdoch | 3ef787d | 2012-04-12 10:51:47 +0100 | [diff] [blame] | 869 | |
Ben Murdoch | 3ef787d | 2012-04-12 10:51:47 +0100 | [diff] [blame] | 870 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 871 | # BUG(1040): Allow this test to timeout. |
| 872 | 'js1_5/GC/regress-203278-2': [PASS, TIMEOUT, NO_VARIANTS], |
| 873 | }], # 'arch == mipsel or arch == mips64el' |
Ben Murdoch | 3ef787d | 2012-04-12 10:51:47 +0100 | [diff] [blame] | 874 | |
Emily Bernier | d0a1eb7 | 2015-03-24 16:35:39 -0400 | [diff] [blame^] | 875 | ['arch == mips64el and simulator_run == True', { |
| 876 | 'js1_5/extensions/regress-355497': [FAIL_OK, 'Flags: --sim-stack-size=512'], |
| 877 | }], |
| 878 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 879 | ['arch == mips', { |
Ben Murdoch | 3ef787d | 2012-04-12 10:51:47 +0100 | [diff] [blame] | 880 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 881 | # BUG(3251229): Times out when running new crankshaft test script. |
| 882 | 'ecma_3/RegExp/regress-311414': [SKIP], |
| 883 | 'ecma/Date/15.9.5.8': [SKIP], |
| 884 | 'ecma/Date/15.9.5.10-2': [SKIP], |
| 885 | 'ecma/Date/15.9.5.11-2': [SKIP], |
| 886 | 'ecma/Date/15.9.5.12-2': [SKIP], |
| 887 | 'js1_5/Array/regress-99120-02': [SKIP], |
| 888 | 'js1_5/extensions/regress-371636': [SKIP], |
| 889 | 'js1_5/Regress/regress-203278-1': [SKIP], |
| 890 | 'js1_5/Regress/regress-404755': [SKIP], |
| 891 | 'js1_5/Regress/regress-451322': [SKIP], |
Ben Murdoch | 3ef787d | 2012-04-12 10:51:47 +0100 | [diff] [blame] | 892 | |
Ben Murdoch | 3ef787d | 2012-04-12 10:51:47 +0100 | [diff] [blame] | 893 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 894 | # BUG(1040): Allow this test to timeout. |
| 895 | 'js1_5/GC/regress-203278-2': [PASS, TIMEOUT, NO_VARIANTS], |
| 896 | }], # 'arch == mips' |
Ben Murdoch | 3ef787d | 2012-04-12 10:51:47 +0100 | [diff] [blame] | 897 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 898 | ['arch == arm64 and simulator_run == True', { |
Ben Murdoch | 3ef787d | 2012-04-12 10:51:47 +0100 | [diff] [blame] | 899 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 900 | 'js1_5/GC/regress-203278-2': [SKIP], |
Ben Murdoch | 3ef787d | 2012-04-12 10:51:47 +0100 | [diff] [blame] | 901 | |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 902 | # These tests time out in debug mode but pass in product mode |
| 903 | 'js1_5/Regress/regress-360969-03': [SKIP], |
| 904 | 'js1_5/Regress/regress-360969-04': [SKIP], |
| 905 | 'js1_5/Regress/regress-360969-05': [SKIP], |
| 906 | 'js1_5/Regress/regress-360969-06': [SKIP], |
| 907 | 'js1_5/extensions/regress-365527': [SKIP], |
| 908 | 'ecma/Date/15.9.5.10-2': [SKIP], |
| 909 | 'js1_5/Regress/regress-416628': [SKIP], |
| 910 | 'js1_5/extensions/regress-371636': [SKIP], |
| 911 | 'ecma_3/RegExp/regress-330684': [SKIP], |
| 912 | 'ecma_3/RegExp/regress-307456': [SKIP], |
| 913 | 'js1_5/Regress/regress-303213': [SKIP], |
| 914 | 'js1_5/extensions/regress-330569': [SKIP], |
| 915 | 'js1_5/extensions/regress-351448': [SKIP], |
| 916 | 'js1_5/extensions/regress-336410-1': [SKIP], |
Emily Bernier | d0a1eb7 | 2015-03-24 16:35:39 -0400 | [diff] [blame^] | 917 | |
| 918 | #BUG(3152): Avoid C stack overflow. |
| 919 | 'js1_5/extensions/regress-355497': [FAIL_OK, 'Flags: --sim-stack-size=512'], |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 920 | }], # 'arch == arm64 and simulator_run == True' |
| 921 | ] |