diff --git a/tasks/coverage/codegen_test262.snap b/tasks/coverage/codegen_test262.snap index 65cff5d9274d53..91dd7a9e0b2f8a 100644 --- a/tasks/coverage/codegen_test262.snap +++ b/tasks/coverage/codegen_test262.snap @@ -1,3 +1,3 @@ codegen_test262 Summary: -AST Parsed : 44738/44738 (100.00%) -Positive Passed: 44738/44738 (100.00%) +AST Parsed : 45668/45668 (100.00%) +Positive Passed: 45668/45668 (100.00%) diff --git a/tasks/coverage/minifier_test262.snap b/tasks/coverage/minifier_test262.snap index cb57fc58a5a3cf..cd433d9fb6872c 100644 --- a/tasks/coverage/minifier_test262.snap +++ b/tasks/coverage/minifier_test262.snap @@ -1,3 +1,3 @@ minifier_test262 Summary: -AST Parsed : 44738/44738 (100.00%) -Positive Passed: 44738/44738 (100.00%) +AST Parsed : 45668/45668 (100.00%) +Positive Passed: 45668/45668 (100.00%) diff --git a/tasks/coverage/parser_test262.snap b/tasks/coverage/parser_test262.snap index 50c08458179e69..0b6ecc4caf28ab 100644 --- a/tasks/coverage/parser_test262.snap +++ b/tasks/coverage/parser_test262.snap @@ -1,7 +1,7 @@ parser_test262 Summary: -AST Parsed : 44161/44161 (100.00%) -Positive Passed: 44161/44161 (100.00%) -Negative Passed: 3918/3918 (100.00%) +AST Parsed : 45075/45075 (100.00%) +Positive Passed: 45075/45075 (100.00%) +Negative Passed: 3925/3925 (100.00%) × '0'-prefixed octal literals and octal escape sequences are deprecated ╭─[annexB/language/expressions/template-literal/legacy-octal-escape-sequence-strict.js:17:1] 17 │ @@ -12971,18 +12971,25 @@ Negative Passed: 3918/3918 (100.00%) · ───────────────── ╰──── + × Keywords cannot contain escape characters + ╭─[language/expressions/dynamic-import/escape-sequence-import.js:34:1] + 34 │ + 35 │ im\u0070ort('./empty_FIXTURE.js'); + · ─────────── + ╰──── + × The keyword 'yield' is reserved - ╭─[language/expressions/dynamic-import/2nd-param-yield-ident-invalid.js:18:1] + ╭─[language/expressions/dynamic-import/import-assertions/2nd-param-yield-ident-invalid.js:18:1] 18 │ 19 │ import('./empty_FIXTURE.js', yield); · ───── ╰──── - × Keywords cannot contain escape characters - ╭─[language/expressions/dynamic-import/escape-sequence-import.js:34:1] - 34 │ - 35 │ im\u0070ort('./empty_FIXTURE.js'); - · ─────────── + × The keyword 'yield' is reserved + ╭─[language/expressions/dynamic-import/import-attributes/2nd-param-yield-ident-invalid.js:18:1] + 18 │ + 19 │ import('./empty_FIXTURE.js', yield); + · ───── ╰──── × Cannot assign to this expression @@ -18593,6 +18600,27 @@ Negative Passed: 3918/3918 (100.00%) · ▲ ╰──── + × Keywords cannot contain escape characters + ╭─[language/literals/boolean/false-with-unicode.js:19:1] + 19 │ + 20 │ f\u{61}lse; + · ────────── + ╰──── + + × Keywords cannot contain escape characters + ╭─[language/literals/boolean/true-with-unicode.js:19:1] + 19 │ + 20 │ tru\u{65}; + · ───────── + ╰──── + + × Keywords cannot contain escape characters + ╭─[language/literals/null/null-with-unicode.js:19:1] + 19 │ + 20 │ n\u{75}ll; + · ───────── + ╰──── + × '0'-prefixed octal literals and octal escape sequences are deprecated ╭─[language/literals/numeric/7.8.3-1gs.js:14:1] 14 │ @@ -19320,45 +19348,6 @@ Negative Passed: 3918/3918 (100.00%) · ─ ╰──── - × Identifier `test262_a` has already been declared - ╭─[language/module-code/early-dup-assert-key-export.js:20:1] - 20 │ export * from './import-assertion-3_FIXTURE.js' assert { - 21 │ test262_a: '', - · ────┬──── - · ╰── `test262_a` has already been declared here - 22 │ test262_b: '', - 23 │ 'test262_\u0061': '' - · ────────┬─────── - · ╰── It can not be redeclared here - 24 │ }; - ╰──── - - × Identifier `test262_a` has already been declared - ╭─[language/module-code/early-dup-assert-key-import-nobinding.js:21:1] - 21 │ import './import-assertion-2_FIXTURE.js' assert { - 22 │ test262_a: '', - · ────┬──── - · ╰── `test262_a` has already been declared here - 23 │ test262_b: '', - 24 │ 'test262_\u0061': '' - · ────────┬─────── - · ╰── It can not be redeclared here - 25 │ }; - ╰──── - - × Identifier `test262_a` has already been declared - ╭─[language/module-code/early-dup-assert-key-import-withbinding.js:21:1] - 21 │ import x from './import-assertion-1_FIXTURE.js' assert { - 22 │ test262_a: '', - · ────┬──── - · ╰── `test262_a` has already been declared here - 23 │ test262_b: '', - 24 │ 'test262_\u0061': '' - · ────────┬─────── - · ╰── It can not be redeclared here - 25 │ }; - ╰──── - × Duplicated export 'z' ╭─[language/module-code/early-dup-export-as-star-as.js:17:1] 17 │ var x; @@ -19739,6 +19728,78 @@ Negative Passed: 3918/3918 (100.00%) 22 │ ╰──── + × Identifier `type` has already been declared + ╭─[language/module-code/import-assertions/early-dup-assert-key-export.js:20:1] + 20 │ export * from './import-assertion-3_FIXTURE.js' assert { + 21 │ type: 'json', + · ──┬─ + · ╰── `type` has already been declared here + 22 │ 'typ\u0065': '' + · ─────┬───── + · ╰── It can not be redeclared here + 23 │ }; + ╰──── + + × Identifier `type` has already been declared + ╭─[language/module-code/import-assertions/early-dup-assert-key-import-nobinding.js:21:1] + 21 │ import './import-assertion-2_FIXTURE.js' assert { + 22 │ type: 'json', + · ──┬─ + · ╰── `type` has already been declared here + 23 │ 'typ\u0065': '' + · ─────┬───── + · ╰── It can not be redeclared here + 24 │ }; + ╰──── + + × Identifier `type` has already been declared + ╭─[language/module-code/import-assertions/early-dup-assert-key-import-withbinding.js:21:1] + 21 │ import x from './import-assertion-1_FIXTURE.js' assert { + 22 │ type: 'json', + · ──┬─ + · ╰── `type` has already been declared here + 23 │ 'typ\u0065': '' + · ─────┬───── + · ╰── It can not be redeclared here + 24 │ }; + ╰──── + + × Identifier `type` has already been declared + ╭─[language/module-code/import-attributes/early-dup-attribute-key-export.js:20:1] + 20 │ export * from './import-attribute-3_FIXTURE.js' with { + 21 │ type: 'json', + · ──┬─ + · ╰── `type` has already been declared here + 22 │ 'typ\u0065': '' + · ─────┬───── + · ╰── It can not be redeclared here + 23 │ }; + ╰──── + + × Identifier `type` has already been declared + ╭─[language/module-code/import-attributes/early-dup-attribute-key-import-nobinding.js:21:1] + 21 │ import './import-attribute-2_FIXTURE.js' with { + 22 │ type: 'json', + · ──┬─ + · ╰── `type` has already been declared here + 23 │ 'typ\u0065': '' + · ─────┬───── + · ╰── It can not be redeclared here + 24 │ }; + ╰──── + + × Identifier `type` has already been declared + ╭─[language/module-code/import-attributes/early-dup-attribute-key-import-withbinding.js:21:1] + 21 │ import x from './import-attribute-1_FIXTURE.js' with { + 22 │ type: 'json', + · ──┬─ + · ╰── `type` has already been declared here + 23 │ 'typ\u0065': '' + · ─────┬───── + · ╰── It can not be redeclared here + 24 │ }; + ╰──── + × Private identifier '#x' is not allowed outside class bodies ╭─[language/module-code/invalid-private-names-call-expression-bad-reference.js:39:1] 39 │ diff --git a/tasks/coverage/src/test262.rs b/tasks/coverage/src/test262.rs index 6a9568afa20bbd..42bd81b1d90a1a 100644 --- a/tasks/coverage/src/test262.rs +++ b/tasks/coverage/src/test262.rs @@ -86,6 +86,8 @@ impl Suite for Test262Suite { fn skip_test_path(&self, path: &Path) -> bool { let path = path.to_string_lossy(); + // ignore markdown files + path.ends_with(".md") || // ignore fixtures path.contains("_FIXTURE") || // ignore regexp as we don't have a regexp parser for now diff --git a/tasks/coverage/test262 b/tasks/coverage/test262 index c4642dd714175b..2060494f280ba8 160000 --- a/tasks/coverage/test262 +++ b/tasks/coverage/test262 @@ -1 +1 @@ -Subproject commit c4642dd714175b5d27939c920abc6059c9fddb06 +Subproject commit 2060494f280ba89d71a0f51d4ff171bafe476a05