| OLD | NEW |
| 1 # Copyright 2013 the V8 project authors. All rights reserved. | 1 # Copyright 2013 the V8 project authors. All rights reserved. |
| 2 # Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. | 2 # Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. |
| 3 # | 3 # |
| 4 # Redistribution and use in source and binary forms, with or without | 4 # Redistribution and use in source and binary forms, with or without |
| 5 # modification, are permitted provided that the following conditions | 5 # modification, are permitted provided that the following conditions |
| 6 # are met: | 6 # are met: |
| 7 # 1. Redistributions of source code must retain the above copyright | 7 # 1. Redistributions of source code must retain the above copyright |
| 8 # notice, this list of conditions and the following disclaimer. | 8 # notice, this list of conditions and the following disclaimer. |
| 9 # 2. Redistributions in binary form must reproduce the above copyright | 9 # 2. Redistributions in binary form must reproduce the above copyright |
| 10 # notice, this list of conditions and the following disclaimer in the | 10 # notice, this list of conditions and the following disclaimer in the |
| (...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 435 FAIL Invalid: "for (a++ in b) break" should throw undefined | 435 FAIL Invalid: "for (a++ in b) break" should throw undefined |
| 436 FAIL Invalid: "function f() { for (a++ in b) break }" should throw undefined | 436 FAIL Invalid: "function f() { for (a++ in b) break }" should throw undefined |
| 437 PASS Valid: "for ((a++) in b) break" | 437 PASS Valid: "for ((a++) in b) break" |
| 438 PASS Valid: "function f() { for ((a++) in b) break }" | 438 PASS Valid: "function f() { for ((a++) in b) break }" |
| 439 FAIL Invalid: "for (++a in b) break" should throw undefined | 439 FAIL Invalid: "for (++a in b) break" should throw undefined |
| 440 FAIL Invalid: "function f() { for (++a in b) break }" should throw undefined | 440 FAIL Invalid: "function f() { for (++a in b) break }" should throw undefined |
| 441 PASS Valid: "for ((++a) in b) break" | 441 PASS Valid: "for ((++a) in b) break" |
| 442 PASS Valid: "function f() { for ((++a) in b) break }" | 442 PASS Valid: "function f() { for ((++a) in b) break }" |
| 443 FAIL Invalid: "for (a, b in c) break" should throw undefined | 443 FAIL Invalid: "for (a, b in c) break" should throw undefined |
| 444 FAIL Invalid: "function f() { for (a, b in c) break }" should throw undefined | 444 FAIL Invalid: "function f() { for (a, b in c) break }" should throw undefined |
| 445 PASS Invalid: "for (a,b in c ;;) break" | 445 FAIL Invalid: "for (a,b in c ;;) break" should throw undefined |
| 446 PASS Invalid: "function f() { for (a,b in c ;;) break }" | 446 FAIL Invalid: "function f() { for (a,b in c ;;) break }" should throw undefined |
| 447 PASS Valid: "for (a,(b in c) ;;) break" | 447 PASS Valid: "for (a,(b in c) ;;) break" |
| 448 PASS Valid: "function f() { for (a,(b in c) ;;) break }" | 448 PASS Valid: "function f() { for (a,(b in c) ;;) break }" |
| 449 PASS Valid: "for ((a, b) in c) break" | 449 PASS Valid: "for ((a, b) in c) break" |
| 450 PASS Valid: "function f() { for ((a, b) in c) break }" | 450 PASS Valid: "function f() { for ((a, b) in c) break }" |
| 451 FAIL Invalid: "for (a ? b : c in c) break" should throw undefined | 451 FAIL Invalid: "for (a ? b : c in c) break" should throw undefined |
| 452 FAIL Invalid: "function f() { for (a ? b : c in c) break }" should throw undefin
ed | 452 FAIL Invalid: "function f() { for (a ? b : c in c) break }" should throw undefin
ed |
| 453 PASS Valid: "for ((a ? b : c) in c) break" | 453 PASS Valid: "for ((a ? b : c) in c) break" |
| 454 PASS Valid: "function f() { for ((a ? b : c) in c) break }" | 454 PASS Valid: "function f() { for ((a ? b : c) in c) break }" |
| 455 PASS Valid: "for (var a in b in c) break" | 455 PASS Valid: "for (var a in b in c) break" |
| 456 PASS Valid: "function f() { for (var a in b in c) break }" | 456 PASS Valid: "function f() { for (var a in b in c) break }" |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 602 PASS Invalid: "function f() { var a.b = c }" | 602 PASS Invalid: "function f() { var a.b = c }" |
| 603 PASS Invalid: "var a.b;" | 603 PASS Invalid: "var a.b;" |
| 604 PASS Invalid: "function f() { var a.b; }" | 604 PASS Invalid: "function f() { var a.b; }" |
| 605 FAIL e.line should be 1 (of type number). Was undefined (of type undefined). | 605 FAIL e.line should be 1 (of type number). Was undefined (of type undefined). |
| 606 PASS foo is 'PASS' | 606 PASS foo is 'PASS' |
| 607 PASS bar is 'PASS' | 607 PASS bar is 'PASS' |
| 608 PASS successfullyParsed is true | 608 PASS successfullyParsed is true |
| 609 | 609 |
| 610 TEST COMPLETE | 610 TEST COMPLETE |
| 611 | 611 |
| OLD | NEW |