Do not expect specific error type in import-attributes/allow-nlt-before-with.js

Hosts are free to throw whatever error they want during module loading: there is no guarantee that the error thrown due to the import with `type: "foo"` is a SyntaxError.
This commit is contained in:
Nicolò Ribaudo 2024-01-11 16:36:52 +01:00 committed by Philip Chimento
parent a1ba783ca3
commit 8b1bd25b49
1 changed files with 0 additions and 1 deletions

View File

@ -19,7 +19,6 @@ info: |
negative: negative:
phase: resolution phase: resolution
type: SyntaxError
features: [import-attributes, globalThis] features: [import-attributes, globalThis]
flags: [module, raw] flags: [module, raw]
---*/ ---*/