Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 1 | # Copyright 2009 the V8 project authors. All rights reserved. |
| 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 | prefix es5conform |
| 29 | def UNIMPLEMENTED = PASS || FAIL |
| 30 | def FAIL_OK = FAIL, OKAY |
| 31 | |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 32 | |
| 33 | ############################################################################## |
Steve Block | 8defd9f | 2010-07-08 12:39:36 +0100 | [diff] [blame] | 34 | # Non UTF8 characters in test files. |
| 35 | chapter10/10.4/10.4.2/10.4.2-3-c-2-s: FAIL_OK |
| 36 | chapter10/10.4/10.4.2/10.4.2-3-c-1-s: FAIL_OK |
| 37 | chapter10/10.4/10.4.2/10.4.2-2-c-1: FAIL_OK |
| 38 | |
| 39 | # We do not implement the error chekcs specified in the production rules |
| 40 | # of 11.1.5 (Object initializer). |
| 41 | # We are compatible with Safari and Firefox. |
| 42 | chapter11/11.1/11.1.5: UNIMPLEMENTED |
| 43 | |
Steve Block | 8defd9f | 2010-07-08 12:39:36 +0100 | [diff] [blame] | 44 | # We do not have a global object called 'global' as required by tests. |
| 45 | chapter15/15.1: FAIL_OK |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 46 | |
Steve Block | 8defd9f | 2010-07-08 12:39:36 +0100 | [diff] [blame] | 47 | # NaN is writable. We are compatible with JSC. |
Leon Clarke | e46be81 | 2010-01-19 14:06:41 +0000 | [diff] [blame] | 48 | chapter15/15.2/15.2.3/15.2.3.3/15.2.3.3-4-178: FAIL_OK |
Steve Block | 8defd9f | 2010-07-08 12:39:36 +0100 | [diff] [blame] | 49 | # Infinity is writable. We are compatible with JSC. |
Leon Clarke | e46be81 | 2010-01-19 14:06:41 +0000 | [diff] [blame] | 50 | chapter15/15.2/15.2.3/15.2.3.3/15.2.3.3-4-179: FAIL_OK |
Steve Block | 8defd9f | 2010-07-08 12:39:36 +0100 | [diff] [blame] | 51 | # undefined is writable. We are compatible with JSC. |
Leon Clarke | e46be81 | 2010-01-19 14:06:41 +0000 | [diff] [blame] | 52 | chapter15/15.2/15.2.3/15.2.3.3/15.2.3.3-4-180: FAIL_OK |
Leon Clarke | e46be81 | 2010-01-19 14:06:41 +0000 | [diff] [blame] | 53 | |
Steve Block | 8defd9f | 2010-07-08 12:39:36 +0100 | [diff] [blame] | 54 | # Our Function object has an "arguments" property which is used as a |
| 55 | # non-property in the test. |
Leon Clarke | e46be81 | 2010-01-19 14:06:41 +0000 | [diff] [blame] | 56 | chapter15/15.2/15.2.3/15.2.3.3/15.2.3.3-4-183: FAIL_OK |
| 57 | |
Steve Block | 8defd9f | 2010-07-08 12:39:36 +0100 | [diff] [blame] | 58 | # Our Function object has a "caller" property which is used as a |
| 59 | # non-property in in the test. |
Leon Clarke | e46be81 | 2010-01-19 14:06:41 +0000 | [diff] [blame] | 60 | chapter15/15.2/15.2.3/15.2.3.3/15.2.3.3-4-184: FAIL_OK |
| 61 | |
Steve Block | 8defd9f | 2010-07-08 12:39:36 +0100 | [diff] [blame] | 62 | # Our function object has a name property which is used as a |
| 63 | # non-property in the test. |
Leon Clarke | e46be81 | 2010-01-19 14:06:41 +0000 | [diff] [blame] | 64 | chapter15/15.2/15.2.3/15.2.3.3/15.2.3.3-4-188: FAIL_OK |
Leon Clarke | e46be81 | 2010-01-19 14:06:41 +0000 | [diff] [blame] | 65 | |
| 66 | # NOT IMPLEMENTED: RegExp.prototype.source |
Steve Block | 8defd9f | 2010-07-08 12:39:36 +0100 | [diff] [blame] | 67 | chapter15/15.2/15.2.3/15.2.3.3/15.2.3.3-4-212: UNIMPLEMENTED |
Leon Clarke | e46be81 | 2010-01-19 14:06:41 +0000 | [diff] [blame] | 68 | |
| 69 | # NOT IMPLEMENTED: RegExp.prototype.global |
Steve Block | 8defd9f | 2010-07-08 12:39:36 +0100 | [diff] [blame] | 70 | chapter15/15.2/15.2.3/15.2.3.3/15.2.3.3-4-213: UNIMPLEMENTED |
Leon Clarke | e46be81 | 2010-01-19 14:06:41 +0000 | [diff] [blame] | 71 | |
| 72 | # NOT IMPLEMENTED: RegExp.prototype.ignoreCase |
Steve Block | 8defd9f | 2010-07-08 12:39:36 +0100 | [diff] [blame] | 73 | chapter15/15.2/15.2.3/15.2.3.3/15.2.3.3-4-214: UNIMPLEMENTED |
Leon Clarke | e46be81 | 2010-01-19 14:06:41 +0000 | [diff] [blame] | 74 | |
| 75 | # NOT IMPLEMENTED: RegExp.prototype.multiline |
Steve Block | 8defd9f | 2010-07-08 12:39:36 +0100 | [diff] [blame] | 76 | chapter15/15.2/15.2.3/15.2.3.3/15.2.3.3-4-215: UNIMPLEMENTED |
Leon Clarke | e46be81 | 2010-01-19 14:06:41 +0000 | [diff] [blame] | 77 | |
Leon Clarke | e46be81 | 2010-01-19 14:06:41 +0000 | [diff] [blame] | 78 | # All of the tests below marked SUBSETFAIL (in 15.2.3.4) fail because |
| 79 | # the tests assumes that objects can not have more properties |
| 80 | # than those described in the spec - but according to spec they can |
| 81 | # have additional properties. |
| 82 | # All compareArray calls in these tests could be exchanged with a |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 83 | # isSubsetOfArray call (I will upload a patch to the es5conform site). |
Leon Clarke | e46be81 | 2010-01-19 14:06:41 +0000 | [diff] [blame] | 84 | |
| 85 | # SUBSETFAIL |
| 86 | chapter15/15.2/15.2.3/15.2.3.4/15.2.3.4-4-1: FAIL_OK |
| 87 | |
Steve Block | 8defd9f | 2010-07-08 12:39:36 +0100 | [diff] [blame] | 88 | # SUBSETFAIL + we do not implement all methods on Object. |
Leon Clarke | e46be81 | 2010-01-19 14:06:41 +0000 | [diff] [blame] | 89 | chapter15/15.2/15.2.3/15.2.3.4/15.2.3.4-4-2: FAIL_OK |
| 90 | |
| 91 | # SUBSETFAIL |
| 92 | chapter15/15.2/15.2.3/15.2.3.4/15.2.3.4-4-3: FAIL_OK |
| 93 | |
Steve Block | 1e0659c | 2011-05-24 12:43:12 +0100 | [diff] [blame] | 94 | # SUBSETFAIL |
Leon Clarke | e46be81 | 2010-01-19 14:06:41 +0000 | [diff] [blame] | 95 | chapter15/15.2/15.2.3/15.2.3.4/15.2.3.4-4-4: FAIL_OK |
| 96 | |
| 97 | # SUBSETFAIL |
| 98 | chapter15/15.2/15.2.3/15.2.3.4/15.2.3.4-4-5: FAIL_OK |
| 99 | |
| 100 | # SUBSETFAIL |
| 101 | chapter15/15.2/15.2.3/15.2.3.4/15.2.3.4-4-6: FAIL_OK |
| 102 | |
| 103 | # SUBSETFAIL |
| 104 | chapter15/15.2/15.2.3/15.2.3.4/15.2.3.4-4-7: FAIL_OK |
| 105 | |
| 106 | # SUBSETFAIL |
Leon Clarke | e46be81 | 2010-01-19 14:06:41 +0000 | [diff] [blame] | 107 | chapter15/15.2/15.2.3/15.2.3.4/15.2.3.4-4-11: FAIL_OK |
| 108 | |
Steve Block | 8defd9f | 2010-07-08 12:39:36 +0100 | [diff] [blame] | 109 | # We do not implement all methods on RegExp. |
| 110 | chapter15/15.2/15.2.3/15.2.3.4/15.2.3.4-4-13: FAIL |
Leon Clarke | e46be81 | 2010-01-19 14:06:41 +0000 | [diff] [blame] | 111 | |
| 112 | # SUBSETFAIL |
| 113 | chapter15/15.2/15.2.3/15.2.3.4/15.2.3.4-4-14: FAIL_OK |
| 114 | |
Steve Block | 8defd9f | 2010-07-08 12:39:36 +0100 | [diff] [blame] | 115 | # EvalError.prototype does not have message property. |
| 116 | chapter15/15.2/15.2.3/15.2.3.4/15.2.3.4-4-15: FAIL |
Leon Clarke | e46be81 | 2010-01-19 14:06:41 +0000 | [diff] [blame] | 117 | |
Steve Block | 8defd9f | 2010-07-08 12:39:36 +0100 | [diff] [blame] | 118 | # Rangeerror.prototype does not have message property. |
| 119 | chapter15/15.2/15.2.3/15.2.3.4/15.2.3.4-4-16: FAIL |
Leon Clarke | e46be81 | 2010-01-19 14:06:41 +0000 | [diff] [blame] | 120 | |
Steve Block | 8defd9f | 2010-07-08 12:39:36 +0100 | [diff] [blame] | 121 | # ReferenceError.prototype does not have message property. |
| 122 | chapter15/15.2/15.2.3/15.2.3.4/15.2.3.4-4-17: FAIL |
Leon Clarke | e46be81 | 2010-01-19 14:06:41 +0000 | [diff] [blame] | 123 | |
Steve Block | 8defd9f | 2010-07-08 12:39:36 +0100 | [diff] [blame] | 124 | # SyntaxError.prototype does not have message property. |
| 125 | chapter15/15.2/15.2.3/15.2.3.4/15.2.3.4-4-18: FAIL |
Leon Clarke | e46be81 | 2010-01-19 14:06:41 +0000 | [diff] [blame] | 126 | |
Steve Block | 8defd9f | 2010-07-08 12:39:36 +0100 | [diff] [blame] | 127 | # TypeError.prototype does not have message property. |
| 128 | chapter15/15.2/15.2.3/15.2.3.4/15.2.3.4-4-19: FAIL |
Leon Clarke | e46be81 | 2010-01-19 14:06:41 +0000 | [diff] [blame] | 129 | |
Steve Block | 8defd9f | 2010-07-08 12:39:36 +0100 | [diff] [blame] | 130 | # URIError.prototype does not have message property. |
| 131 | chapter15/15.2/15.2.3/15.2.3.4/15.2.3.4-4-20: FAIL |
Leon Clarke | e46be81 | 2010-01-19 14:06:41 +0000 | [diff] [blame] | 132 | |
| 133 | # SUBSETFAIL |
| 134 | chapter15/15.2/15.2.3/15.2.3.4/15.2.3.4-4-22: FAIL_OK |
| 135 | |
| 136 | # SUBSETFAIL |
| 137 | chapter15/15.2/15.2.3/15.2.3.4/15.2.3.4-4-23: FAIL_OK |
| 138 | |
| 139 | # SUBSETFAIL |
| 140 | chapter15/15.2/15.2.3/15.2.3.4/15.2.3.4-4-24: FAIL_OK |
| 141 | |
| 142 | # SUBSETFAIL |
| 143 | chapter15/15.2/15.2.3/15.2.3.4/15.2.3.4-4-25: FAIL_OK |
| 144 | |
| 145 | # SUBSETFAIL |
| 146 | chapter15/15.2/15.2.3/15.2.3.4/15.2.3.4-4-26: FAIL_OK |
| 147 | |
| 148 | # SUBSETFAIL |
| 149 | chapter15/15.2/15.2.3/15.2.3.4/15.2.3.4-4-27: FAIL_OK |
| 150 | |
| 151 | # SUBSETFAIL |
| 152 | chapter15/15.2/15.2.3/15.2.3.4/15.2.3.4-4-28: FAIL_OK |
| 153 | |
| 154 | # SUBSETFAIL |
| 155 | chapter15/15.2/15.2.3/15.2.3.4/15.2.3.4-4-29: FAIL_OK |
| 156 | |
| 157 | # SUBSETFAIL |
| 158 | chapter15/15.2/15.2.3/15.2.3.4/15.2.3.4-4-30: FAIL_OK |
| 159 | |
| 160 | # SUBSETFAIL |
| 161 | chapter15/15.2/15.2.3/15.2.3.4/15.2.3.4-4-31: FAIL_OK |
| 162 | |
| 163 | # SUBSETFAIL |
| 164 | chapter15/15.2/15.2.3/15.2.3.4/15.2.3.4-4-32: FAIL_OK |
| 165 | |
| 166 | # SUBSETFAIL |
| 167 | chapter15/15.2/15.2.3/15.2.3.4/15.2.3.4-4-33: FAIL_OK |
| 168 | |
| 169 | # SUBSETFAIL |
| 170 | chapter15/15.2/15.2.3/15.2.3.4/15.2.3.4-4-34: FAIL_OK |
| 171 | |
| 172 | # SUBSETFAIL |
| 173 | chapter15/15.2/15.2.3/15.2.3.4/15.2.3.4-4-35: FAIL_OK |
| 174 | |
Steve Block | 8defd9f | 2010-07-08 12:39:36 +0100 | [diff] [blame] | 175 | # Bad test - the test at the end should be "i === true". |
Leon Clarke | e46be81 | 2010-01-19 14:06:41 +0000 | [diff] [blame] | 176 | chapter15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-10: FAIL_OK |
| 177 | |
Steve Block | 8defd9f | 2010-07-08 12:39:36 +0100 | [diff] [blame] | 178 | # Bad test - according to spec some returns a Boolean, not a number. |
| 179 | chapter15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-9: FAIL_OK |
Leon Clarke | e46be81 | 2010-01-19 14:06:41 +0000 | [diff] [blame] | 180 | |
Steve Block | 8defd9f | 2010-07-08 12:39:36 +0100 | [diff] [blame] | 181 | # Bad test - uses unitialized variable a in precondition check. |
| 182 | chapter15/15.4/15.4.4/15.4.4.19/15.4.4.19-9-3: FAIL_OK |
Leon Clarke | e46be81 | 2010-01-19 14:06:41 +0000 | [diff] [blame] | 183 | |
Steve Block | 8defd9f | 2010-07-08 12:39:36 +0100 | [diff] [blame] | 184 | # We do not implement Array mapping functions correctly if array |
| 185 | # entries are added for nonexistent entries smaller than length by |
| 186 | # the callback function. We are compatible with JSC. |
| 187 | # See http://code.google.com/p/v8/issues/detail?id=755 |
| 188 | chapter15/15.4/15.4.4/15.4.4.22/15.4.4.22-9-1: FAIL_OK |
Leon Clarke | e46be81 | 2010-01-19 14:06:41 +0000 | [diff] [blame] | 189 | |
Steve Block | 8defd9f | 2010-07-08 12:39:36 +0100 | [diff] [blame] | 190 | # Bad tests, path in test file is wrong. This will crash the test |
| 191 | # script so we mark it SKIP. |
| 192 | chapter15/15.4/15.4.4/15.4.4.22/15.4.4.22-9-c-ii-4: SKIP |
| 193 | chapter15/15.4/15.4.4/15.4.4.22/15.4.4.22-9-c-ii-4-s: SKIP |
Leon Clarke | e46be81 | 2010-01-19 14:06:41 +0000 | [diff] [blame] | 194 | |
Steve Block | 8defd9f | 2010-07-08 12:39:36 +0100 | [diff] [blame] | 195 | # Bad test - deleting the property on o in callbackfn will |
| 196 | # have no effect on the actual array on which reduceRight is called. |
| 197 | chapter15/15.4/15.4.4/15.4.4.22/15.4.4.22-9-7: FAIL_OK |
Leon Clarke | e46be81 | 2010-01-19 14:06:41 +0000 | [diff] [blame] | 198 | |
Steve Block | 8defd9f | 2010-07-08 12:39:36 +0100 | [diff] [blame] | 199 | # We do not correctly recognize \uFEFF as whitespace |
| 200 | chapter15/15.5/15.5.4/15.5.4.20/15.5.4.20-4-10: FAIL |
| 201 | chapter15/15.5/15.5.4/15.5.4.20/15.5.4.20-4-18: FAIL |
| 202 | chapter15/15.5/15.5.4/15.5.4.20/15.5.4.20-4-34: FAIL |
| 203 | |
| 204 | # RegExp.prototype is not of type RegExp - we are bug compatible with JSC. |
| 205 | chapter15/15.10/15.10.6/15.10.6: FAIL_OK |
| 206 | |
| 207 | # We do not have the properties of a RegExp instance on RegExp.prototype. |
| 208 | # The spec says we should - but we are currently bug compatible with JSC. |
| 209 | chapter15/15.10/15.10.7/15.10.7.1/15.10.7.1-1: FAIL_OK |
| 210 | chapter15/15.10/15.10.7/15.10.7.1/15.10.7.1-2: FAIL_OK |
| 211 | chapter15/15.10/15.10.7/15.10.7.2/15.10.7.2-1: FAIL_OK |
| 212 | chapter15/15.10/15.10.7/15.10.7.2/15.10.7.2-2: FAIL_OK |
| 213 | chapter15/15.10/15.10.7/15.10.7.3/15.10.7.3-1: FAIL_OK |
| 214 | chapter15/15.10/15.10.7/15.10.7.3/15.10.7.3-2: FAIL_OK |
| 215 | chapter15/15.10/15.10.7/15.10.7.4/15.10.7.4-1: FAIL_OK |
| 216 | chapter15/15.10/15.10.7/15.10.7.4/15.10.7.4-2: FAIL_OK |
| 217 | chapter15/15.10/15.10.7/15.10.7.5/15.10.7.5-1: FAIL_OK |
| 218 | chapter15/15.10/15.10.7/15.10.7.5/15.10.7.5-2: FAIL_OK |
Andrei Popescu | 3100271 | 2010-02-23 13:46:05 +0000 | [diff] [blame] | 219 | |
Steve Block | 1e0659c | 2011-05-24 12:43:12 +0100 | [diff] [blame] | 220 | ############################################################################## |
| 221 | # Unimplemented parts of strict mode |
| 222 | # Setting expectations to fail only so that the tests trigger as soon as |
| 223 | # the strict mode feature gets implemented |
| 224 | |
| 225 | # A directive preceeding an 'use strict' directive may not contain |
| 226 | # an OctalEscapeSequence |
| 227 | # Incorrect test - need double escape in eval. |
| 228 | chapter07/7.8/7.8.4/7.8.4-1-s: FAIL |
| 229 | |
Steve Block | 1e0659c | 2011-05-24 12:43:12 +0100 | [diff] [blame] | 230 | # arguments.caller is non-configurable in strict mode |
Steve Block | 44f0eee | 2011-05-26 01:26:41 +0100 | [diff] [blame] | 231 | # Invalid test case. Checks for "writable == true" and presence of "put".. |
Steve Block | 1e0659c | 2011-05-24 12:43:12 +0100 | [diff] [blame] | 232 | chapter10/10.6/10.6-13-b-3-s: FAIL |
Steve Block | 1e0659c | 2011-05-24 12:43:12 +0100 | [diff] [blame] | 233 | # arguments.callee is non-configurable in strict mode |
Steve Block | 44f0eee | 2011-05-26 01:26:41 +0100 | [diff] [blame] | 234 | # Invalid test case. Checks for "put" property accessor. |
Steve Block | 1e0659c | 2011-05-24 12:43:12 +0100 | [diff] [blame] | 235 | chapter10/10.6/10.6-13-c-3-s: FAIL |
| 236 | |
| 237 | # simple assignment throws TypeError if LeftHandSide is a property reference |
| 238 | # with a primitive base value (this is undefined) |
| 239 | chapter11/11.13/11.13.1/11.13.1-1-7-s: FAIL |
| 240 | |
| 241 | # simple assignment throws TypeError if LeftHandSide is a readonly property |
| 242 | # in strict mode (Global.NaN) |
| 243 | chapter11/11.13/11.13.1/11.13.1-4-2-s: FAIL |
| 244 | # simple assignment throws TypeError if LeftHandSide is a readonly property |
| 245 | # in strict mode (Global.Infinity) |
| 246 | chapter11/11.13/11.13.1/11.13.1-4-3-s: FAIL |
| 247 | # simple assignment throws TypeError if LeftHandSide is a readonly property |
| 248 | # in strict mode (Global.length) |
| 249 | chapter11/11.13/11.13.1/11.13.1-4-4-s: FAIL |
| 250 | # simple assignment throws TypeError if LeftHandSide is a readonly property |
Steve Block | 1e0659c | 2011-05-24 12:43:12 +0100 | [diff] [blame] | 251 | # in strict mode (Global.undefined) |
| 252 | chapter11/11.13/11.13.1/11.13.1-4-27-s: FAIL |
| 253 | |
Steve Block | 1e0659c | 2011-05-24 12:43:12 +0100 | [diff] [blame] | 254 | # delete operator throws TypeError when when deleting a non-configurable |
| 255 | # data property in strict mode (Global.NaN) |
Ben Murdoch | e0cee9b | 2011-05-25 10:26:03 +0100 | [diff] [blame] | 256 | # Invalid test case - "this" is not a global object within the test case. |
| 257 | # (http://es5conform.codeplex.com/workitem/29151) |
| 258 | chapter11/11.4/11.4.1/11.4.1-4.a-4-s: FAIL_OK |
Steve Block | 1e0659c | 2011-05-24 12:43:12 +0100 | [diff] [blame] | 259 | |
| 260 | # delete operator throws ReferenceError when deleting a direct reference |
| 261 | # to a var in strict mode |
Ben Murdoch | e0cee9b | 2011-05-25 10:26:03 +0100 | [diff] [blame] | 262 | # Invalid test case. Test expects ReferenceError instead of SyntaxError. |
| 263 | # http://es5conform.codeplex.com/workitem/29084 |
Steve Block | 1e0659c | 2011-05-24 12:43:12 +0100 | [diff] [blame] | 264 | chapter11/11.4/11.4.1/11.4.1-5-1-s: FAIL |
| 265 | # delete operator throws ReferenceError when deleting a direct reference |
| 266 | # to a function argument in strict mode |
Ben Murdoch | e0cee9b | 2011-05-25 10:26:03 +0100 | [diff] [blame] | 267 | # Invalid test case. Test expects ReferenceError instead of SyntaxError. |
| 268 | # http://es5conform.codeplex.com/workitem/29084 |
Steve Block | 1e0659c | 2011-05-24 12:43:12 +0100 | [diff] [blame] | 269 | chapter11/11.4/11.4.1/11.4.1-5-2-s: FAIL |
| 270 | # delete operator throws ReferenceError when deleting a direct reference |
| 271 | # to a function name in strict mode |
Ben Murdoch | e0cee9b | 2011-05-25 10:26:03 +0100 | [diff] [blame] | 272 | # Invalid test case. Test expects ReferenceError instead of SyntaxError. |
| 273 | # http://es5conform.codeplex.com/workitem/29084 |
Steve Block | 1e0659c | 2011-05-24 12:43:12 +0100 | [diff] [blame] | 274 | chapter11/11.4/11.4.1/11.4.1-5-3-s: FAIL |
Steve Block | 1e0659c | 2011-05-24 12:43:12 +0100 | [diff] [blame] | 275 | |
| 276 | # eval - a function declaring a var named 'eval' throws EvalError in strict mode |
| 277 | # Invalid test case. SyntaxError should be expected instead of EvalError. |
| 278 | chapter12/12.2/12.2.1/12.2.1-1-s: FAIL |
| 279 | # eval - a function assigning into 'eval' throws EvalError in strict mode |
| 280 | # Invalid test case. SyntaxError should be expected instead of EvalError. |
| 281 | chapter12/12.2/12.2.1/12.2.1-2-s: FAIL |
| 282 | # eval - a function expr declaring a var named 'eval' throws EvalError |
| 283 | # in strict mode |
| 284 | # Invalid test case. SyntaxError should be expected instead of EvalError. |
| 285 | chapter12/12.2/12.2.1/12.2.1-3-s: FAIL |
| 286 | # eval - a function expr assigning into 'eval' throws a EvalError in strict mode |
| 287 | # Invalid test case. SyntaxError should be expected instead of EvalError. |
| 288 | chapter12/12.2/12.2.1/12.2.1-4-s: FAIL |
| 289 | # eval - a Function declaring var named 'eval' throws EvalError in strict mode |
| 290 | # Invalid test case. SyntaxError should be expected instead of EvalError. |
| 291 | chapter12/12.2/12.2.1/12.2.1-5-s: FAIL |
| 292 | # eval - a Function assigning into 'eval' throws EvalError in strict mode |
| 293 | # Invalid test case. SyntaxError should be expected instead of EvalError. |
| 294 | chapter12/12.2/12.2.1/12.2.1-6-s: FAIL |
| 295 | # eval - a direct eval declaring a var named 'eval' throws EvalError |
| 296 | # in strict mode |
| 297 | # Invalid test case. SyntaxError should be expected instead of EvalError. |
| 298 | chapter12/12.2/12.2.1/12.2.1-7-s: FAIL |
| 299 | # eval - a direct eval assigning into 'eval' throws EvalError in strict mode |
| 300 | # Invalid test case. SyntaxError should be expected instead of EvalError. |
| 301 | chapter12/12.2/12.2.1/12.2.1-8-s: FAIL |
| 302 | # eval - an indirect eval declaring a var named 'eval' throws EvalError |
| 303 | # in strict mode |
| 304 | # Invalid test case. SyntaxError should be expected instead of EvalError. |
| 305 | chapter12/12.2/12.2.1/12.2.1-9-s: FAIL |
| 306 | # eval - an indirect eval assigning into 'eval' throws EvalError in strict mode |
| 307 | # Invalid test case. SyntaxError should be expected instead of EvalError. |
| 308 | chapter12/12.2/12.2.1/12.2.1-10-s: FAIL |
| 309 | |
| 310 | # SyntaxError if eval used as function identifier in function declaration |
| 311 | # with strict body |
| 312 | # Test fails to return true on success (invalid test case). |
| 313 | chapter13/13.1/13.1-3-3-s: FAIL |
| 314 | # SyntaxError if eval used as function identifier in function expression |
| 315 | # with strict body |
| 316 | # Test fails to return true on success (invalid test case). |
| 317 | chapter13/13.1/13.1-3-4-s: FAIL |
| 318 | # SyntaxError if eval used as function identifier in function declaration |
| 319 | # in strict code |
| 320 | # Test fails to return true on success (invalid test case). |
| 321 | chapter13/13.1/13.1-3-5-s: FAIL |
| 322 | # SyntaxError if eval used as function identifier in function expression |
| 323 | # in strict code |
| 324 | # Test fails to return true on success (invalid test case). |
| 325 | chapter13/13.1/13.1-3-6-s: FAIL |
| 326 | # SyntaxError if arguments used as function identifier in function declaration |
| 327 | # with strict body |
| 328 | # Test fails to return true on success (invalid test case). |
| 329 | chapter13/13.1/13.1-3-9-s: FAIL |
| 330 | # SyntaxError if arguments used as function identifier in function expression |
| 331 | # with strict body |
| 332 | # Test fails to return true on success (invalid test case). |
| 333 | chapter13/13.1/13.1-3-10-s: FAIL |
| 334 | # SyntaxError if arguments used as function identifier in function declaration |
| 335 | # in strict code |
| 336 | # Test fails to return true on success (invalid test case). |
| 337 | chapter13/13.1/13.1-3-11-s: FAIL |
| 338 | # SyntaxError if arguments used as function identifier in function expression |
| 339 | # in strict code |
| 340 | # Test fails to return true on success (invalid test case). |
| 341 | chapter13/13.1/13.1-3-12-s: FAIL |
| 342 | |
Steve Block | 1e0659c | 2011-05-24 12:43:12 +0100 | [diff] [blame] | 343 | # Duplicate combined parameter name allowed in Function constructor called |
| 344 | # in strict mode if body not strict |
| 345 | # Test fails to return true on success (invalid test case). |
| 346 | chapter15/15.3/15.3.2/15.3.2.1/15.3.2.1-11-6-s: FAIL |
| 347 | |
Steve Block | 1e0659c | 2011-05-24 12:43:12 +0100 | [diff] [blame] | 348 | # Array.prototype.reduce - null passed as thisValue to strict callbackfn |
Ben Murdoch | e0cee9b | 2011-05-25 10:26:03 +0100 | [diff] [blame] | 349 | # Invalid test case: http://es5conform.codeplex.com/workitem/29085 |
Steve Block | 1e0659c | 2011-05-24 12:43:12 +0100 | [diff] [blame] | 350 | chapter15/15.4/15.4.4/15.4.4.21/15.4.4.21-9-c-ii-4-s: FAIL |
| 351 | |
Andrei Popescu | 3100271 | 2010-02-23 13:46:05 +0000 | [diff] [blame] | 352 | [ $arch == mips ] |
| 353 | |
| 354 | # Skip all tests on MIPS. |
| 355 | *: SKIP |