diff --git a/spec.html b/spec.html index 5062c3bb47..5a8b3b813a 100644 --- a/spec.html +++ b/spec.html @@ -8573,7 +8573,7 @@

[[Get]] ( _P_, _Receiver_ )

1. Return ? _targetEnvRec_.GetBindingValue(_binding_.[[BindingName]], *true*). -

ResolveExport is idempotent and side-effect free. An implementation might choose to pre-compute or cache the ResolveExport results for the [[Exports]] of each module namespace exotic object.

+

ResolveExport is deterministic with respect to its parameters and side-effect free. An implementation might choose to pre-compute or cache the ResolveExport results for the [[Exports]] of each module namespace exotic object.

@@ -21574,7 +21574,7 @@

Abstract Module Records

Return the binding of a name exported by this module. Bindings are represented by a ResolvedBinding Record, of the form { [[Module]]: Module Record, [[BindingName]]: String }. Return *null* if the name cannot be resolved, or `"ambiguous"` if multiple bindings were found.

-

This operation must be idempotent if it completes normally. Each time it is called with a specific _exportName_, _resolveSet_ pair as arguments it must return the same result.

+

This operation must be deterministic with respect to its parameters if it completes normally. Each time it is called with a specific _exportName_, _resolveSet_ pair as arguments it must return the same result.

@@ -22557,7 +22557,7 @@

Runtime Semantics: HostResolveImportedModule ( _referencingModule_, _specifi If a Module Record corresponding to the pair _referencingModule_, _specifier_ does not exist or cannot be created, an exception must be thrown.
  • - This operation must be idempotent if it completes normally. Each time it is called with a specific _referencingModule_, _specifier_ pair as arguments it must return the same Module Record instance. + This operation must be deterministic with respect to its parameters if it completes normally. Each time it is called with a specific _referencingModule_, _specifier_ pair as arguments it must return the same Module Record instance.
  • Multiple different _referencingModule_, _specifier_ pairs may map to the same Module Record instance. The actual mapping semantic is implementation-defined but typically a normalization process is applied to _specifier_ as part of the mapping process. A typical normalization process would include actions such as alphabetic case folding and expansion of relative and abbreviated path specifiers.