| 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 |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 429 chapter13/13.1/13.1-3-10-s: FAIL | 420 chapter13/13.1/13.1-3-10-s: FAIL |
| 430 # SyntaxError if arguments used as function identifier in function declaration | 421 # SyntaxError if arguments used as function identifier in function declaration |
| 431 # in strict code | 422 # in strict code |
| 432 # Test fails to return true on success (invalid test case). | 423 # Test fails to return true on success (invalid test case). |
| 433 chapter13/13.1/13.1-3-11-s: FAIL | 424 chapter13/13.1/13.1-3-11-s: FAIL |
| 434 # SyntaxError if arguments used as function identifier in function expression | 425 # SyntaxError if arguments used as function identifier in function expression |
| 435 # in strict code | 426 # in strict code |
| 436 # Test fails to return true on success (invalid test case). | 427 # Test fails to return true on success (invalid test case). |
| 437 chapter13/13.1/13.1-3-12-s: FAIL | 428 chapter13/13.1/13.1-3-12-s: FAIL |
| 438 | 429 |
| 439 # 'use strict' directive - correct usage | |
| 440 # depends on "this is not coerced to an object in strict mode (undefined)" | |
| 441 chapter14/14.1/14.1-1-s: FAIL | |
| 442 # "use strict" directive - correct usage double quotes | |
| 443 # depends on "this is not coerced to an object in strict mode (undefined)" | |
| 444 chapter14/14.1/14.1-2-s: FAIL | |
| 445 # 'use strict' directive - may follow other directives | |
| 446 # depends on "this is not coerced to an object in strict mode (undefined)" | |
| 447 chapter14/14.1/14.1-8-s: FAIL | |
| 448 # 'use strict' directive - may occur multiple times | |
| 449 # depends on "this is not coerced to an object in strict mode (undefined)" | |
| 450 chapter14/14.1/14.1-9-s: FAIL | |
| 451 # other directives - may follow 'use strict' directive | |
| 452 # depends on "this is not coerced to an object in strict mode (undefined)" | |
| 453 chapter14/14.1/14.1-10-s: FAIL | |
| 454 # comments may preceed 'use strict' directive | |
| 455 # depends on "this is not coerced to an object in strict mode (undefined)" | |
| 456 chapter14/14.1/14.1-11-s: FAIL | |
| 457 # comments may follow 'use strict' directive | |
| 458 # depends on "this is not coerced to an object in strict mode (undefined)" | |
| 459 chapter14/14.1/14.1-12-s: FAIL | |
| 460 # semicolon insertion works for'use strict' directive | |
| 461 # depends on "this is not coerced to an object in strict mode (undefined)" | |
| 462 chapter14/14.1/14.1-13-s: FAIL | |
| 463 # semicolon insertion may come before 'use strict' directive | |
| 464 # depends on "this is not coerced to an object in strict mode (undefined)" | |
| 465 chapter14/14.1/14.1-14-s: FAIL | |
| 466 # blank lines may come before 'use strict' directive | |
| 467 # depends on "this is not coerced to an object in strict mode (undefined)" | |
| 468 chapter14/14.1/14.1-15-s: FAIL | |
| 469 | |
| 470 # Duplicate combined parameter name allowed in Function constructor called | 430 # Duplicate combined parameter name allowed in Function constructor called |
| 471 # in strict mode if body not strict | 431 # in strict mode if body not strict |
| 472 # Test fails to return true on success (invalid test case). | 432 # Test fails to return true on success (invalid test case). |
| 473 chapter15/15.3/15.3.2/15.3.2.1/15.3.2.1-11-6-s: FAIL | 433 chapter15/15.3/15.3.2/15.3.2.1/15.3.2.1-11-6-s: FAIL |
| 474 | 434 |
| 475 # Array.prototype.every - thisArg not passed to strict callbackfn | |
| 476 chapter15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-1-s: FAIL | |
| 477 # Array.prototype.some - thisArg not passed to strict callbackfn | |
| 478 chapter15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-1-s: FAIL | |
| 479 # Array.prototype.forEach - thisArg not passed to strict callbackfn | |
| 480 chapter15/15.4/15.4.4/15.4.4.18/15.4.4.18-5-1-s: FAIL | |
| 481 # Array.prototype.map - thisArg not passed to strict callbackfn | |
| 482 chapter15/15.4/15.4.4/15.4.4.19/15.4.4.19-5-1-s: FAIL | |
| 483 # Array.prototype.filter - thisArg not passed to strict callbackfn | |
| 484 chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-5-1-s: FAIL | |
| 485 # Array.prototype.reduce - null passed as thisValue to strict callbackfn | 435 # Array.prototype.reduce - null passed as thisValue to strict callbackfn |
| 436 # Invalid test case: http://es5conform.codeplex.com/workitem/29085 |
| 486 chapter15/15.4/15.4.4/15.4.4.21/15.4.4.21-9-c-ii-4-s: FAIL | 437 chapter15/15.4/15.4.4/15.4.4.21/15.4.4.21-9-c-ii-4-s: FAIL |
| 487 | 438 |
| 488 [ $arch == mips ] | 439 [ $arch == mips ] |
| 489 | 440 |
| 490 # Skip all tests on MIPS. | 441 # Skip all tests on MIPS. |
| 491 *: SKIP | 442 *: SKIP |
| OLD | NEW |