| OLD | NEW |
| 1 # Copyright 2009 the V8 project authors. All rights reserved. | 1 # Copyright 2009 the V8 project authors. All rights reserved. |
| 2 # Redistribution and use in source and binary forms, with or without | 2 # Redistribution and use in source and binary forms, with or without |
| 3 # modification, are permitted provided that the following conditions are | 3 # modification, are permitted provided that the following conditions are |
| 4 # met: | 4 # met: |
| 5 # | 5 # |
| 6 # * Redistributions of source code must retain the above copyright | 6 # * Redistributions of source code must retain the above copyright |
| 7 # notice, this list of conditions and the following disclaimer. | 7 # notice, this list of conditions and the following disclaimer. |
| 8 # * Redistributions in binary form must reproduce the above | 8 # * Redistributions in binary form must reproduce the above |
| 9 # copyright notice, this list of conditions and the following | 9 # copyright notice, this list of conditions and the following |
| 10 # disclaimer in the documentation and/or other materials provided | 10 # disclaimer in the documentation and/or other materials provided |
| (...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 232 ############################################################################## | 232 ############################################################################## |
| 233 # Unimplemented parts of strict mode | 233 # Unimplemented parts of strict mode |
| 234 # Setting expectations to fail only so that the tests trigger as soon as | 234 # Setting expectations to fail only so that the tests trigger as soon as |
| 235 # the strict mode feature gets implemented | 235 # the strict mode feature gets implemented |
| 236 | 236 |
| 237 # A directive preceeding an 'use strict' directive may not contain | 237 # A directive preceeding an 'use strict' directive may not contain |
| 238 # an OctalEscapeSequence | 238 # an OctalEscapeSequence |
| 239 # Incorrect test - need double escape in eval. | 239 # Incorrect test - need double escape in eval. |
| 240 chapter07/7.8/7.8.4/7.8.4-1-s: FAIL | 240 chapter07/7.8/7.8.4/7.8.4-1-s: FAIL |
| 241 | 241 |
| 242 # this is not coerced to an object in strict mode (Number) | |
| 243 chapter10/10.4/10.4.3/10.4.3-1-1-s: FAIL | |
| 244 # this is not coerced to an object in strict mode (string) | |
| 245 chapter10/10.4/10.4.3/10.4.3-1-2-s: FAIL | |
| 246 # this is not coerced to an object in strict mode (undefined) | |
| 247 chapter10/10.4/10.4.3/10.4.3-1-3-s: FAIL | |
| 248 # this is not coerced to an object in strict mode (boolean) | |
| 249 chapter10/10.4/10.4.3/10.4.3-1-4-s: FAIL | |
| 250 | |
| 251 # arguments[i] remains same after changing actual parameters in strict mode | 242 # arguments[i] remains same after changing actual parameters in strict mode |
| 252 chapter10/10.6/10.6-10-c-ii-1-s: FAIL | 243 chapter10/10.6/10.6-10-c-ii-1-s: FAIL |
| 253 # arguments[i] doesn't map to actual parameters in strict mode | 244 # arguments[i] doesn't map to actual parameters in strict mode |
| 254 chapter10/10.6/10.6-10-c-ii-2-s: FAIL | 245 chapter10/10.6/10.6-10-c-ii-2-s: FAIL |
| 255 | 246 |
| 256 # Accessing caller property of Arguments object throws TypeError in strict mode | 247 # Accessing caller property of Arguments object throws TypeError in strict mode |
| 257 chapter10/10.6/10.6-13-b-1-s: FAIL | 248 chapter10/10.6/10.6-13-b-1-s: FAIL |
| 258 # arguments.caller exists in strict mode | 249 # arguments.caller exists in strict mode |
| 259 chapter10/10.6/10.6-13-b-2-s: FAIL | 250 chapter10/10.6/10.6-13-b-2-s: FAIL |
| 260 # arguments.caller is non-configurable in strict mode | 251 # arguments.caller is non-configurable in strict mode |
| 261 chapter10/10.6/10.6-13-b-3-s: FAIL | 252 chapter10/10.6/10.6-13-b-3-s: FAIL |
| 262 # Accessing callee property of Arguments object throws TypeError in strict mode | 253 # Accessing callee property of Arguments object throws TypeError in strict mode |
| 263 chapter10/10.6/10.6-13-c-1-s: FAIL | 254 chapter10/10.6/10.6-13-c-1-s: FAIL |
| 264 # arguments.callee is non-configurable in strict mode | 255 # arguments.callee is non-configurable in strict mode |
| 265 chapter10/10.6/10.6-13-c-3-s: FAIL | 256 chapter10/10.6/10.6-13-c-3-s: FAIL |
| 266 | 257 |
| 267 # simple assignment throws ReferenceError if LeftHandSide is an unresolvable | |
| 268 # reference in strict mode | |
| 269 chapter11/11.13/11.13.1/11.13.1-1-5-s: FAIL | |
| 270 # simple assignment throws TypeError if LeftHandSide is a property reference | 258 # simple assignment throws TypeError if LeftHandSide is a property reference |
| 271 # with a primitive base value (this is undefined) | 259 # with a primitive base value (this is undefined) |
| 272 chapter11/11.13/11.13.1/11.13.1-1-7-s: FAIL | 260 chapter11/11.13/11.13.1/11.13.1-1-7-s: FAIL |
| 273 | 261 |
| 274 # simple assignment throws TypeError if LeftHandSide is a readonly property | 262 # simple assignment throws TypeError if LeftHandSide is a readonly property |
| 275 # in strict mode (Global.NaN) | 263 # in strict mode (Global.NaN) |
| 276 chapter11/11.13/11.13.1/11.13.1-4-2-s: FAIL | 264 chapter11/11.13/11.13.1/11.13.1-4-2-s: FAIL |
| 277 # simple assignment throws TypeError if LeftHandSide is a readonly property | 265 # simple assignment throws TypeError if LeftHandSide is a readonly property |
| 278 # in strict mode (Global.Infinity) | 266 # in strict mode (Global.Infinity) |
| 279 chapter11/11.13/11.13.1/11.13.1-4-3-s: FAIL | 267 chapter11/11.13/11.13.1/11.13.1-4-3-s: FAIL |
| 280 # simple assignment throws TypeError if LeftHandSide is a readonly property | 268 # simple assignment throws TypeError if LeftHandSide is a readonly property |
| 281 # in strict mode (Global.length) | 269 # in strict mode (Global.length) |
| 282 chapter11/11.13/11.13.1/11.13.1-4-4-s: FAIL | 270 chapter11/11.13/11.13.1/11.13.1-4-4-s: FAIL |
| 283 # simple assignment throws TypeError if LeftHandSide is a readonly property | 271 # simple assignment throws TypeError if LeftHandSide is a readonly property |
| 284 # in strict mode (Object.length) | |
| 285 chapter11/11.13/11.13.1/11.13.1-4-5-s: FAIL | |
| 286 # simple assignment throws TypeError if LeftHandSide is a readonly property | |
| 287 # in strict mode (Function.length) | |
| 288 chapter11/11.13/11.13.1/11.13.1-4-6-s: FAIL | |
| 289 # simple assignment throws TypeError if LeftHandSide is a readonly property | |
| 290 # in strict mode (Array.length) | |
| 291 chapter11/11.13/11.13.1/11.13.1-4-7-s: FAIL | |
| 292 # simple assignment throws TypeError if LeftHandSide is a readonly property | |
| 293 # in strict mode (String.length) | |
| 294 chapter11/11.13/11.13.1/11.13.1-4-8-s: FAIL | |
| 295 # simple assignment throws TypeError if LeftHandSide is a readonly property | |
| 296 # in strict mode (Boolean.length) | |
| 297 chapter11/11.13/11.13.1/11.13.1-4-9-s: FAIL | |
| 298 # simple assignment throws TypeError if LeftHandSide is a readonly property | |
| 299 # in strict mode (Number.length) | |
| 300 chapter11/11.13/11.13.1/11.13.1-4-10-s: FAIL | |
| 301 # simple assignment throws TypeError if LeftHandSide is a readonly property | |
| 302 # in strict mode (Date.length) | |
| 303 chapter11/11.13/11.13.1/11.13.1-4-11-s: FAIL | |
| 304 # simple assignment throws TypeError if LeftHandSide is a readonly property | |
| 305 # in strict mode (RegExp.length) | |
| 306 chapter11/11.13/11.13.1/11.13.1-4-12-s: FAIL | |
| 307 # simple assignment throws TypeError if LeftHandSide is a readonly property | |
| 308 # in strict mode (Error.length) | |
| 309 chapter11/11.13/11.13.1/11.13.1-4-13-s: FAIL | |
| 310 # simple assignment throws TypeError if LeftHandSide is a readonly property | |
| 311 # in strict mode (Number.MAX_VALUE) | |
| 312 chapter11/11.13/11.13.1/11.13.1-4-14-s: FAIL | |
| 313 # simple assignment throws TypeError if LeftHandSide is a readonly property | |
| 314 # in strict mode (Number.MIN_VALUE) | |
| 315 chapter11/11.13/11.13.1/11.13.1-4-15-s: FAIL | |
| 316 # simple assignment throws TypeError if LeftHandSide is a readonly property | |
| 317 # in strict mode (Number.NaN) | |
| 318 chapter11/11.13/11.13.1/11.13.1-4-16-s: FAIL | |
| 319 # simple assignment throws TypeError if LeftHandSide is a readonly property | |
| 320 # in strict mode (Number.NEGATIVE_INFINITY) | |
| 321 chapter11/11.13/11.13.1/11.13.1-4-17-s: FAIL | |
| 322 # simple assignment throws TypeError if LeftHandSide is a readonly property | |
| 323 # in strict mode (Number.POSITIVE_INFINITY) | |
| 324 chapter11/11.13/11.13.1/11.13.1-4-18-s: FAIL | |
| 325 # simple assignment throws TypeError if LeftHandSide is a readonly property | |
| 326 # in strict mode (Math.E) | |
| 327 chapter11/11.13/11.13.1/11.13.1-4-19-s: FAIL | |
| 328 # simple assignment throws TypeError if LeftHandSide is a readonly property | |
| 329 # in strict mode (Math.LN10) | |
| 330 chapter11/11.13/11.13.1/11.13.1-4-20-s: FAIL | |
| 331 # simple assignment throws TypeError if LeftHandSide is a readonly property | |
| 332 # in strict mode (Math.LN2) | |
| 333 chapter11/11.13/11.13.1/11.13.1-4-21-s: FAIL | |
| 334 # simple assignment throws TypeError if LeftHandSide is a readonly property | |
| 335 # in strict mode (Math.LOG2E) | |
| 336 chapter11/11.13/11.13.1/11.13.1-4-22-s: FAIL | |
| 337 # simple assignment throws TypeError if LeftHandSide is a readonly property | |
| 338 # in strict mode (Math.LOG10E) | |
| 339 chapter11/11.13/11.13.1/11.13.1-4-23-s: FAIL | |
| 340 # simple assignment throws TypeError if LeftHandSide is a readonly property | |
| 341 # in strict mode (Math.PI) | |
| 342 chapter11/11.13/11.13.1/11.13.1-4-24-s: FAIL | |
| 343 # simple assignment throws TypeError if LeftHandSide is a readonly property | |
| 344 # in strict mode (Math.SQRT1_2) | |
| 345 chapter11/11.13/11.13.1/11.13.1-4-25-s: FAIL | |
| 346 # simple assignment throws TypeError if LeftHandSide is a readonly property | |
| 347 # in strict mode (Math.SQRT2) | |
| 348 chapter11/11.13/11.13.1/11.13.1-4-26-s: FAIL | |
| 349 # simple assignment throws TypeError if LeftHandSide is a readonly property | |
| 350 # in strict mode (Global.undefined) | 272 # in strict mode (Global.undefined) |
| 351 chapter11/11.13/11.13.1/11.13.1-4-27-s: FAIL | 273 chapter11/11.13/11.13.1/11.13.1-4-27-s: FAIL |
| 352 | 274 |
| 353 # delete operator throws TypeError when deleting a non-configurable data | |
| 354 # property in strict mode | |
| 355 chapter11/11.4/11.4.1/11.4.1-4.a-3-s: FAIL | |
| 356 # delete operator throws TypeError when when deleting a non-configurable | 275 # delete operator throws TypeError when when deleting a non-configurable |
| 357 # data property in strict mode (Global.NaN) | 276 # data property in strict mode (Global.NaN) |
| 358 chapter11/11.4/11.4.1/11.4.1-4.a-4-s: FAIL | 277 # Invalid test case - "this" is not a global object within the test case. |
| 359 # delete operator throws TypeError when deleting a non-configurable data | 278 # (http://es5conform.codeplex.com/workitem/29151) |
| 360 # property in strict mode (Math.LN2) | 279 chapter11/11.4/11.4.1/11.4.1-4.a-4-s: FAIL_OK |
| 361 chapter11/11.4/11.4.1/11.4.1-4.a-9-s: FAIL | |
| 362 | 280 |
| 363 # delete operator throws ReferenceError when deleting a direct reference | 281 # delete operator throws ReferenceError when deleting a direct reference |
| 364 # to a var in strict mode | 282 # to a var in strict mode |
| 283 # Invalid test case. Test expects ReferenceError instead of SyntaxError. |
| 284 # http://es5conform.codeplex.com/workitem/29084 |
| 365 chapter11/11.4/11.4.1/11.4.1-5-1-s: FAIL | 285 chapter11/11.4/11.4.1/11.4.1-5-1-s: FAIL |
| 366 # delete operator throws ReferenceError when deleting a direct reference | 286 # delete operator throws ReferenceError when deleting a direct reference |
| 367 # to a function argument in strict mode | 287 # to a function argument in strict mode |
| 288 # Invalid test case. Test expects ReferenceError instead of SyntaxError. |
| 289 # http://es5conform.codeplex.com/workitem/29084 |
| 368 chapter11/11.4/11.4.1/11.4.1-5-2-s: FAIL | 290 chapter11/11.4/11.4.1/11.4.1-5-2-s: FAIL |
| 369 # delete operator throws ReferenceError when deleting a direct reference | 291 # delete operator throws ReferenceError when deleting a direct reference |
| 370 # to a function name in strict mode | 292 # to a function name in strict mode |
| 293 # Invalid test case. Test expects ReferenceError instead of SyntaxError. |
| 294 # http://es5conform.codeplex.com/workitem/29084 |
| 371 chapter11/11.4/11.4.1/11.4.1-5-3-s: FAIL | 295 chapter11/11.4/11.4.1/11.4.1-5-3-s: FAIL |
| 372 # delete operator throws SyntaxError when deleting a direct reference | |
| 373 # to a function argument(object) in strict mode | |
| 374 chapter11/11.4/11.4.1/11.4.1-5-4-s: FAIL | |
| 375 | 296 |
| 376 # eval - a function declaring a var named 'eval' throws EvalError in strict mode | 297 # eval - a function declaring a var named 'eval' throws EvalError in strict mode |
| 377 # Invalid test case. SyntaxError should be expected instead of EvalError. | 298 # Invalid test case. SyntaxError should be expected instead of EvalError. |
| 378 chapter12/12.2/12.2.1/12.2.1-1-s: FAIL | 299 chapter12/12.2/12.2.1/12.2.1-1-s: FAIL |
| 379 # eval - a function assigning into 'eval' throws EvalError in strict mode | 300 # eval - a function assigning into 'eval' throws EvalError in strict mode |
| 380 # Invalid test case. SyntaxError should be expected instead of EvalError. | 301 # Invalid test case. SyntaxError should be expected instead of EvalError. |
| 381 chapter12/12.2/12.2.1/12.2.1-2-s: FAIL | 302 chapter12/12.2/12.2.1/12.2.1-2-s: FAIL |
| 382 # eval - a function expr declaring a var named 'eval' throws EvalError | 303 # eval - a function expr declaring a var named 'eval' throws EvalError |
| 383 # in strict mode | 304 # in strict mode |
| 384 # Invalid test case. SyntaxError should be expected instead of EvalError. | 305 # Invalid test case. SyntaxError should be expected instead of EvalError. |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 433 chapter13/13.1/13.1-3-10-s: FAIL | 354 chapter13/13.1/13.1-3-10-s: FAIL |
| 434 # SyntaxError if arguments used as function identifier in function declaration | 355 # SyntaxError if arguments used as function identifier in function declaration |
| 435 # in strict code | 356 # in strict code |
| 436 # Test fails to return true on success (invalid test case). | 357 # Test fails to return true on success (invalid test case). |
| 437 chapter13/13.1/13.1-3-11-s: FAIL | 358 chapter13/13.1/13.1-3-11-s: FAIL |
| 438 # SyntaxError if arguments used as function identifier in function expression | 359 # SyntaxError if arguments used as function identifier in function expression |
| 439 # in strict code | 360 # in strict code |
| 440 # Test fails to return true on success (invalid test case). | 361 # Test fails to return true on success (invalid test case). |
| 441 chapter13/13.1/13.1-3-12-s: FAIL | 362 chapter13/13.1/13.1-3-12-s: FAIL |
| 442 | 363 |
| 443 # 'use strict' directive - correct usage | |
| 444 # depends on "this is not coerced to an object in strict mode (undefined)" | |
| 445 chapter14/14.1/14.1-1-s: FAIL | |
| 446 # "use strict" directive - correct usage double quotes | |
| 447 # depends on "this is not coerced to an object in strict mode (undefined)" | |
| 448 chapter14/14.1/14.1-2-s: FAIL | |
| 449 # 'use strict' directive - may follow other directives | |
| 450 # depends on "this is not coerced to an object in strict mode (undefined)" | |
| 451 chapter14/14.1/14.1-8-s: FAIL | |
| 452 # 'use strict' directive - may occur multiple times | |
| 453 # depends on "this is not coerced to an object in strict mode (undefined)" | |
| 454 chapter14/14.1/14.1-9-s: FAIL | |
| 455 # other directives - may follow 'use strict' directive | |
| 456 # depends on "this is not coerced to an object in strict mode (undefined)" | |
| 457 chapter14/14.1/14.1-10-s: FAIL | |
| 458 # comments may preceed 'use strict' directive | |
| 459 # depends on "this is not coerced to an object in strict mode (undefined)" | |
| 460 chapter14/14.1/14.1-11-s: FAIL | |
| 461 # comments may follow 'use strict' directive | |
| 462 # depends on "this is not coerced to an object in strict mode (undefined)" | |
| 463 chapter14/14.1/14.1-12-s: FAIL | |
| 464 # semicolon insertion works for'use strict' directive | |
| 465 # depends on "this is not coerced to an object in strict mode (undefined)" | |
| 466 chapter14/14.1/14.1-13-s: FAIL | |
| 467 # semicolon insertion may come before 'use strict' directive | |
| 468 # depends on "this is not coerced to an object in strict mode (undefined)" | |
| 469 chapter14/14.1/14.1-14-s: FAIL | |
| 470 # blank lines may come before 'use strict' directive | |
| 471 # depends on "this is not coerced to an object in strict mode (undefined)" | |
| 472 chapter14/14.1/14.1-15-s: FAIL | |
| 473 | |
| 474 # Duplicate combined parameter name allowed in Function constructor called | 364 # Duplicate combined parameter name allowed in Function constructor called |
| 475 # in strict mode if body not strict | 365 # in strict mode if body not strict |
| 476 # Test fails to return true on success (invalid test case). | 366 # Test fails to return true on success (invalid test case). |
| 477 chapter15/15.3/15.3.2/15.3.2.1/15.3.2.1-11-6-s: FAIL | 367 chapter15/15.3/15.3.2/15.3.2.1/15.3.2.1-11-6-s: FAIL |
| 478 | 368 |
| 479 # Array.prototype.every - thisArg not passed to strict callbackfn | |
| 480 chapter15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-1-s: FAIL | |
| 481 # Array.prototype.some - thisArg not passed to strict callbackfn | |
| 482 chapter15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-1-s: FAIL | |
| 483 # Array.prototype.forEach - thisArg not passed to strict callbackfn | |
| 484 chapter15/15.4/15.4.4/15.4.4.18/15.4.4.18-5-1-s: FAIL | |
| 485 # Array.prototype.map - thisArg not passed to strict callbackfn | |
| 486 chapter15/15.4/15.4.4/15.4.4.19/15.4.4.19-5-1-s: FAIL | |
| 487 # Array.prototype.filter - thisArg not passed to strict callbackfn | |
| 488 chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-5-1-s: FAIL | |
| 489 # Array.prototype.reduce - null passed as thisValue to strict callbackfn | 369 # Array.prototype.reduce - null passed as thisValue to strict callbackfn |
| 370 # Invalid test case: http://es5conform.codeplex.com/workitem/29085 |
| 490 chapter15/15.4/15.4.4/15.4.4.21/15.4.4.21-9-c-ii-4-s: FAIL | 371 chapter15/15.4/15.4.4/15.4.4.21/15.4.4.21-9-c-ii-4-s: FAIL |
| 491 | 372 |
| 492 [ $arch == mips ] | 373 [ $arch == mips ] |
| 493 | 374 |
| 494 # Skip all tests on MIPS. | 375 # Skip all tests on MIPS. |
| 495 *: SKIP | 376 *: SKIP |
| OLD | NEW |