Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update test262 #13347

Merged
merged 2 commits into from
May 21, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FLOW_COMMIT = a1f9a4c709dcebb27a5084acf47755fbae699c25
TEST262_COMMIT = 4f50cbfc771ffe41ac5e4a9d2f12b1d3a5d3b938
TEST262_COMMIT = 5e0fc43c6641e6655632ca73479c79f1dcb86a17
TYPESCRIPT_COMMIT = 3de706a8525c2ded782fc032fa4afe2e485100d3

# Fix color output until TravisCI fixes https://github.com/travis-ci/travis-ci/issues/7967
Expand Down
17 changes: 16 additions & 1 deletion scripts/parser-tests/test262/allowlist.txt
Original file line number Diff line number Diff line change
@@ -1 +1,16 @@

language/module-code/import-assertion-key-identifiername.js(default)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There tests fail because we currently throw The only accepted module attribute is type`. We might want to relax that restriction.

language/module-code/import-assertion-key-identifiername.js(strict mode)
language/module-code/import-assertion-key-string-double.js(default)
language/module-code/import-assertion-key-string-double.js(strict mode)
language/module-code/import-assertion-key-string-single.js(default)
language/module-code/import-assertion-key-string-single.js(strict mode)
language/module-code/import-assertion-many.js(default)
language/module-code/import-assertion-many.js(strict mode)
language/module-code/import-assertion-newlines.js(default)
language/module-code/import-assertion-newlines.js(strict mode)
language/module-code/import-assertion-trlng-comma.js(default)
language/module-code/import-assertion-trlng-comma.js(strict mode)
language/module-code/import-assertion-value-string-double.js(default)
language/module-code/import-assertion-value-string-double.js(strict mode)
language/module-code/import-assertion-value-string-single.js(default)
language/module-code/import-assertion-value-string-single.js(strict mode)
1 change: 1 addition & 0 deletions scripts/parser-tests/test262/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ const featuresToPlugins = {
"class-fields-private-in": "privateIn",
"class-static-block": "classStaticBlock",
"top-level-await": "topLevelAwait",
"import-assertions": "importAssertions",
};

const unmappedFeatures = new Set();
Expand Down