diff --git a/spec.html b/spec.html index e8ab2fe115..34a4096181 100644 --- a/spec.html +++ b/spec.html @@ -9915,11 +9915,19 @@

Static Semantics: PropName ( ): a String or ~empty~

1. Return the PropName of |PropertyName|. - LiteralPropertyName : IdentifierName + + LiteralPropertyName : IdentifierName + + AttributeKey : IdentifierName + 1. Return the StringValue of |IdentifierName|. - LiteralPropertyName : StringLiteral + + LiteralPropertyName : StringLiteral + + AttributeKey : StringLiteral + 1. Return the SV of |StringLiteral|. @@ -26267,7 +26275,7 @@

ModuleRequest Records

A LoadedModuleRequest Record represents the request to import a module together with the resulting Module Record. It consists of the same fields defined in table , with the addition of [[Module]]:

- +
@@ -26440,14 +26448,14 @@

Static Semantics: ModuleRequests ( ): a List of ModuleRequest Records

ExportDeclaration : `export` ExportFromClause FromClause `;` - 1. Let _specifier_ be SV of |FromClause|. + 1. Let _specifier_ be the SV of |FromClause|. 1. Return a List whose sole element is the ModuleRequest Record { [[Specifier]]: _specifier_, [[Attributes]]: « » }. ExportDeclaration : `export` ExportFromClause FromClause WithClause `;` - 1. Let _specifier_ be SV of |FromClause|. + 1. Let _specifier_ be the SV of |FromClause|. 1. Let _attributes_ be WithClauseToAttributes of |WithClause|. 1. Return a List whose sole element is the ModuleRequest Record { [[Specifier]]: _specifier_, [[Attributes]]: _attributes_ }. @@ -28575,7 +28583,7 @@

1. If _result_ is a normal completion, then 1. If _referrer_.[[LoadedModules]] contains a LoadedModuleRequest Record _record_ such that ModuleRequestsEqual(_record_, _moduleRequest_) is *true*, then - 1. Assert: _record_.[[Module]] is _result_.[[Value]]. + 1. Assert: _record_.[[Module]] and _result_.[[Value]] are the same Module Record. 1. Else, 1. Append the LoadedModuleRequest Record { [[Specifier]]: _moduleRequest_.[[Specifier]], [[Attributes]]: _moduleRequest_.[[Attributes]], [[Module]]: _result_.[[Value]] } to _referrer_.[[LoadedModules]]. 1. If _payload_ is a GraphLoadingState Record, then @@ -28844,7 +28852,7 @@

- +

Static Semantics: WithClauseToAttributes ( ): a List of ImportAttribute Records

@@ -28868,14 +28876,14 @@

Static Semantics: WithClauseToAttributes ( ): a List of ImportAttribute Reco WithEntries : AttributeKey `:` StringLiteral 1. Let _key_ be the PropName of |AttributeKey|. - 1. Let _entry_ be the ImportAttribute Record { [[Key]]: _key_, [[Value]]: SV of |StringLiteral| }. + 1. Let _entry_ be the ImportAttribute Record { [[Key]]: _key_, [[Value]]: the SV of |StringLiteral| }. 1. Return « _entry_ ». WithEntries : AttributeKey `:` StringLiteral `,` WithEntries 1. Let _key_ be the PropName of |AttributeKey|. - 1. Let _entry_ be the ImportAttribute Record { [[Key]]: _key_, [[Value]]: SV of |StringLiteral| }. + 1. Let _entry_ be the ImportAttribute Record { [[Key]]: _key_, [[Value]]: the SV of |StringLiteral| }. 1. Let _rest_ be WithClauseToAttributes of |WithEntries|. 1. Return the list-concatenation of « _entry_ » and _rest_. @@ -50532,6 +50540,7 @@

Scripts and Modules

+