You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: spec.html
+3-11
Original file line number
Diff line number
Diff line change
@@ -19791,7 +19791,7 @@ <h1>
19791
19791
1. If AllImportAttributesSupported(_attributes_) is *false*, then
19792
19792
1. Perform ! Call(_promiseCapability_.[[Reject]], *undefined*, « a newly created *TypeError* object »).
19793
19793
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.
19795
19795
1. Let _moduleRequest_ be a new ModuleRequest Record { [[Specifier]]: _specifierString_, [[Attributes]]: _attributes_ }.
1. Let _rightAttrsCount_ be the number of elements in _rightAttrs_.
26508
26508
1. If _leftAttrsCount_ ≠ _rightAttrsCount_, return *false*.
26509
26509
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*.
26519
26511
1. Return *true*.
26520
26512
</emu-alg>
26521
26513
</emu-clause>
@@ -28994,7 +28986,7 @@ <h1>Static Semantics: WithClauseToAttributes ( ): a List of ImportAttribute Reco
28994
28986
</emu-grammar>
28995
28987
<emu-alg>
28996
28988
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.
0 commit comments