Name Description Size
browser.js 0
early-dup-assert-key-export.js --- description: WithClause may not have duplicate keys (export declaration) esid: sec-modules info: | WithClause: AttributesKeyword { WithEntries,opt } - It is a Syntax Error if WithClauseToAttributes of WithClause has two entries a and b such that a.[[Key]] is b.[[Key]]. features: [import-assertions] flags: [module] negative: phase: parse type: SyntaxError --- 766
early-dup-assert-key-import-nobinding.js --- description: > WithClause may not have duplicate keys (import declaration without binding) esid: sec-modules info: | WithClause: AttributesKeyword { WithEntries,opt } - It is a Syntax Error if WithClauseToAttributes of WithClause has two entries a and b such that a.[[Key]] is b.[[Key]]. features: [import-assertions] flags: [module] negative: phase: parse type: SyntaxError --- 779
early-dup-assert-key-import-withbinding.js --- description: > WithClause may not have duplicate keys (import declaration with binding) esid: sec-modules info: | WithClause: AttributesKeyword { WithEntries,opt } - It is a Syntax Error if WithClauseToAttributes of WithClause has two entries a and b such that a.[[Key]] is b.[[Key]]. features: [import-assertions] flags: [module] negative: phase: parse type: SyntaxError --- 783
ensure-linking-error_FIXTURE.js 448
eval-gtbndng-indirect-faux-assertion.js --- description: > `assert` AttributesKeyword in WithClause in ImportDeclaration may not be preceded by a line terminator esid: sec-modules info: | ImportDeclaration: import ModuleSpecifier[no LineTerminator here] WithClause; WithClause: AttributesKeyword {} AttributesKeyword { WithEntries ,opt } AttributesKeyword: with [no LineTerminator here] assert The restriction LineTerminator could be verified more simply with a negative syntax test. This test is designed to parse successfully in order to verify the restriction more precisely. features: [import-assertions, globalThis] flags: [module, raw] --- 1313
import-assertion-1_FIXTURE.js 197
import-assertion-2_FIXTURE.js 197
import-assertion-3_FIXTURE.js 197
import-assertion-empty.js --- description: WithClause in ImportDeclaration may be empty esid: sec-modules info: | ImportDeclaration: import ModuleSpecifier[no LineTerminator here] WithClause; WithClause: assert {} assert {WithEntries ,opt} WithEntries: AttributeKey : StringLiteral AttributeKey : StringLiteral , WithEntries AttributeKey: IdentifierName StringLiteral features: [import-assertions, globalThis] flags: [module] --- 921
import-assertion-key-identifiername.js --- description: > WithClause in ImportDeclaration may use any valid IdentifierName as a key esid: sec-modules info: | ImportDeclaration: import ModuleSpecifier[no LineTerminator here] WithClause; WithClause: assert {} assert {WithEntries ,opt} WithEntries: AttributeKey : StringLiteral AttributeKey : StringLiteral , WithEntries AttributeKey: IdentifierName StringLiteral negative: phase: resolution type: SyntaxError features: [import-assertions] flags: [module] --- 1069
import-assertion-key-string-double.js --- description: > WithClause in ImportDeclaration may use a string literal as a key (delimited with U+0022) esid: sec-modules info: | ImportDeclaration: import ModuleSpecifier[no LineTerminator here] WithClause; WithClause: assert {} assert {WithEntries ,opt} WithEntries: AttributeKey : StringLiteral AttributeKey : StringLiteral , WithEntries AttributeKey: IdentifierName StringLiteral negative: phase: resolution type: SyntaxError features: [import-assertions, globalThis] flags: [module] --- 1134
import-assertion-key-string-single.js --- description: > WithClause in ImportDeclaration may use a string literal as a key (delimited with U+0027) esid: sec-modules info: | ImportDeclaration: import ModuleSpecifier[no LineTerminator here] WithClause; WithClause: assert {} assert {WithEntries ,opt} WithEntries: AttributeKey : StringLiteral AttributeKey : StringLiteral , WithEntries AttributeKey: IdentifierName StringLiteral negative: phase: resolution type: SyntaxError features: [import-assertions, globalThis] flags: [module] --- 1134
import-assertion-many.js --- description: > WithClause in ImportDeclaration may contain multiple WithEntries esid: sec-modules info: | ImportDeclaration: import ModuleSpecifier[no LineTerminator here] WithClause; WithClause: assert {} assert {WithEntries ,opt} WithEntries: AttributeKey : StringLiteral AttributeKey : StringLiteral , WithEntries AttributeKey: IdentifierName StringLiteral negative: phase: resolution type: SyntaxError features: [import-assertions, globalThis] flags: [module] --- 1181
import-assertion-newlines.js --- description: > WithClause in ImportDeclaration may include line terminators esid: sec-modules info: | ImportDeclaration: import ModuleSpecifier[no LineTerminator here] WithClause; WithClause: assert {} assert {WithEntries ,opt} WithEntries: AttributeKey : StringLiteral AttributeKey : StringLiteral , WithEntries AttributeKey: IdentifierName StringLiteral This test uses all four LineFeed characters in order to completely verify the grammar. negative: phase: resolution type: SyntaxError features: [import-assertions, globalThis] flags: [module] --- 1335
import-assertion-trlng-comma.js --- description: > WithClause in ImportDeclaration may contain a trailing comma esid: sec-modules info: | ImportDeclaration: import ModuleSpecifier[no LineTerminator here] WithClause; WithClause: assert {} assert {WithEntries ,opt} WithEntries: AttributeKey : StringLiteral AttributeKey : StringLiteral , WithEntries AttributeKey: IdentifierName StringLiteral negative: phase: resolution type: SyntaxError features: [import-assertions, globalThis] flags: [module] --- 1057
import-assertion-value-string-double.js --- description: > WithClause in ImportDeclaration may use a string literal as a value (delimited with U+0022) esid: sec-modules info: | ImportDeclaration: import ModuleSpecifier[no LineTerminator here] WithClause; WithClause: assert {} assert {WithEntries ,opt} WithEntries: AttributeKey : StringLiteral AttributeKey : StringLiteral , WithEntries AttributeKey: IdentifierName StringLiteral negative: phase: resolution type: SyntaxError features: [import-assertions, globalThis] flags: [module] --- 1101
import-assertion-value-string-single.js --- description: > WithClause in ImportDeclaration may use a string literal as a value (delimited with U+0027) esid: sec-modules info: | ImportDeclaration: import ModuleSpecifier[no LineTerminator here] WithClause; WithClause: assert {} assert {WithEntries ,opt} WithEntries: AttributeKey : StringLiteral AttributeKey : StringLiteral , WithEntries AttributeKey: IdentifierName StringLiteral features: [import-assertions, globalThis] negative: phase: resolution type: SyntaxError flags: [module] --- 1101
README.md Make sure to keep the tests in this folder aligned 99
shell.js 0