Skip to content

Commit 38d81e3

Browse files
syg review
1 parent 9e092f7 commit 38d81e3

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

spec.html

+3-11
Original file line numberDiff line numberDiff line change
@@ -19791,7 +19791,7 @@ <h1>
1979119791
1. If AllImportAttributesSupported(_attributes_) is *false*, then
1979219792
1. Perform ! Call(_promiseCapability_.[[Reject]], *undefined*, « a newly created *TypeError* object »).
1979319793
1. Return _promiseCapability_.[[Promise]].
19794-
1. Sort _attributes_ according to the lexicographic order of their [[Key]] fields, treating the value of each such field as a sequence of UTF-16 code unit values. NOTE: This sorting is observable only in that hosts are prohibited from changing behaviour based on the order in which attributes are enumerated.
19794+
1. Sort _attributes_ according to the lexicographic order of their [[Key]] field, treating the value of each such field as a sequence of UTF-16 code unit values. NOTE: This sorting is observable only in that hosts are prohibited from changing behaviour based on the order in which attributes are enumerated.
1979519795
1. Let _moduleRequest_ be a new ModuleRequest Record { [[Specifier]]: _specifierString_, [[Attributes]]: _attributes_ }.
1979619796
1. Perform HostLoadImportedModule(_referrer_, _moduleRequest_, ~empty~, _promiseCapability_).
1979719797
1. Return _promiseCapability_.[[Promise]].
@@ -26507,15 +26507,7 @@ <h1>
2650726507
1. Let _rightAttrsCount_ be the number of elements in _rightAttrs_.
2650826508
1. If _leftAttrsCount_ ≠ _rightAttrsCount_, return *false*.
2650926509
1. For each ImportAttribute Record _l_ of _leftAttrs_, do
26510-
1. Let _found_ be *false*.
26511-
1. For each ImportAttribute Record _r_ of _rightAttrs_, do
26512-
1. If _l_.[[Key]] is _r_.[[Key]], then
26513-
1. If _l_.[[Value]] is _r_.[[Value]], then
26514-
1. Assert: _found_ is *false*.
26515-
1. Set _found_ to *true*.
26516-
1. Else,
26517-
1. Return *false*.
26518-
1. If _found_ is *false*, return *false*.
26510+
1. If _rightAttrs_ does not contain an ImportAttribute Record _r_ such that _l_.[[Key]] is _r_.[[Key]] and _l_.[[Value]] is _r_.[[Value]], return *false*.
2651926511
1. Return *true*.
2652026512
</emu-alg>
2652126513
</emu-clause>
@@ -28994,7 +28986,7 @@ <h1>Static Semantics: WithClauseToAttributes ( ): a List of ImportAttribute Reco
2899428986
</emu-grammar>
2899528987
<emu-alg>
2899628988
1. Let _attributes_ be WithClauseToAttributes of |WithEntries|.
28997-
1. Sort _attributes_ according to the lexicographic order of their [[Key]] fields, treating the value of each such field as a sequence of UTF-16 code unit values. NOTE: This sorting is observable only in that hosts are prohibited from changing behaviour based on the order in which attributes are enumerated.
28989+
1. Sort _attributes_ according to the lexicographic order of their [[Key]] field, treating the value of each such field as a sequence of UTF-16 code unit values. NOTE: This sorting is observable only in that hosts are prohibited from changing behaviour based on the order in which attributes are enumerated.
2899828990
1. Return _attributes_.
2899928991
</emu-alg>
2900028992

0 commit comments

Comments
 (0)