Repository navigation
Commit 9a165b7
committed
test(test262): parse the strict scenario strictly, not just run it
The scenario put the directive on the bundled output, so a test ran
strictly but was still parsed as sloppy source. A loader now puts it on
the entry instead, which is what test262 means by the strict variant.
That alone un-skips the `yield` case: webpack already rejects the
reserved word once it parses the test strictly.1 parent 063b3b2 commit 9a165b7
2 files changed
Lines changed: 30 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
620 | 620 | | |
621 | 621 | | |
622 | 622 | | |
623 | | - | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
624 | 634 | | |
625 | | - | |
| 635 | + | |
626 | 636 | | |
627 | 637 | | |
628 | 638 | | |
| |||
645 | 655 | | |
646 | 656 | | |
647 | 657 | | |
648 | | - | |
| 658 | + | |
| 659 | + | |
649 | 660 | | |
650 | 661 | | |
651 | 662 | | |
| |||
889 | 900 | | |
890 | 901 | | |
891 | 902 | | |
892 | | - | |
893 | | - | |
894 | | - | |
895 | 903 | | |
896 | 904 | | |
897 | 905 | | |
| |||
0 commit comments