diff --git a/source b/source index 033a9719432..46af8aeea40 100644 --- a/source +++ b/source @@ -105734,8 +105734,8 @@ new PaymentRequest(…); // Allowed to use
A principal realm has a [[HostDefined]] field, which contains the realm's - settings object.
A principal realm has a global object.
The principal realm of any +
The principal realm of any realm realm is defined by the following algorithm:
Fetch the descendants of
and link result given settingsObject, "script
", settings object's realm, and onComplete.
Fetch the descendants of and link result given fetchClient, - destination, settingsObject's - realm, and onComplete. - If performFetch was given, pass it along as well.
If script is a classic script and script's muted errors is true, then return.
-Let settingsObject be the current principal settings - object. Should this work for synthetic realms?
Let realm be the current realm.
If script is not null, then set settingsObject to - script's settings - object.
If script is not null, then set realm to script's + realm.
Let global be settingsObject's global object.
Let global be realm's + global object.
If operation is "reject
", then:
promise.then(null, null)
. For the latter, it is because a revoked Proxy was
- passed. In both cases, all the steps below that would otherwise use job settings
- get skipped.
+ passed. In both cases, all the steps below that would otherwise use realm get
+ skipped.
NewPromiseResolveThenableJob
@@ -109794,8 +109790,7 @@ dictionary PromiseRejectionEventInit : EventInit
If active script is not null, set script execution context to a new
JavaScript execution context, with its Function field set to null, its Realm field
- set to active script's settings
- object's realm, and its
+ set to active script's realm, and its
ScriptOrModule set to active script's
record. If the result of running the module type allowed steps given
- moduleType and settingsObject's realm is false, then:
Let completion be Completion Record { [[Type]]: throw, @@ -110198,10 +110192,6 @@ import "https://example.com/foo/../module2.mjs";
Let settingsObject be moduleMapRealm's - principal realm's - settings object.
Disallow further import maps given moduleMapRealm.
Let url be the result of resolving a @@ -110223,15 +110213,17 @@ import "https://example.com/foo/../module2.mjs";
Let settingsObject be moduleMapRealm's + principal realm's + settings object.
Let fetchOptions be the result of getting the descendant script fetch options given originalFetchOptions, url, and settingsObject.
Let destination be "script"
.
Let fetchClient be moduleMapRealm's - principal realm's - settings object.
Let fetchClient be settingsObject.
If loadState is not undefined, then: