diff --git a/source b/source index a65eae126d1..2fe1cb54d3c 100644 --- a/source +++ b/source @@ -3117,7 +3117,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
Let realm execution context be the result of creating a new realm - given agent and the following customizations:
+Let customizations be the following algorithm given a realm realm:
-For the global object, create a new Window object.
Window object.For the global this binding, use browsingContext's
- WindowProxy object.
WindowProxy
+ object.Let realm execution context be the result of creating a new realm + given agent and customizations.
Let topLevelCreationURL be about:blank if embedder is
null; otherwise embedder's relevant settings object's top-level
creation URL.
Let realmExecutionContext be the result of creating a new realm - given agent and the following customizations:
+Let customizations be the following algorithm given a realm realm:
-For the global object, create a new Window object.
Window object.For the global this binding, use browsingContext's
- WindowProxy object.
WindowProxy
+ object.Let realmExecutionContext be the result of creating a new realm + given agent and customizations.
Set window to the global object of realmExecutionContext's Realm component.
To create a new - realm in an agent agent, optionally with instructions to create a - global object or a global this binding (or both), the following steps are taken:
+ realm in an agent agent, with a customizations algorithm + customizations:Perform InitializeHostDefinedRealm() - with the provided customizations for creating the global object and the global this - binding.
Let realm execution context be the running JavaScript execution - context.
- -This is the JavaScript execution context created in the previous - step.
-Remove realm execution context from the JavaScript execution context - stack.
Let realm execution context be MakeRealm(customizations).
Let realm be realm execution context's Realm component.
Let realm execution context be the result of creating a new realm - given agent and the following customizations:
+Let customizations be the following algorithm given a realm realm:
-For the global object, if is shared is true, create a new
- SharedWorkerGlobalScope object. Otherwise, create a new
- DedicatedWorkerGlobalScope object.
SharedWorkerGlobalScope object if is shared is true; otherwise a new DedicatedWorkerGlobalScope object.Let realm execution context be the result of creating a new realm + given agent and customizations.
Let worker global scope be the global object of realm execution context's Realm component. @@ -132229,15 +132227,19 @@ interface WorkletGlobalScope {}; agent.
Let realmExecutionContext be the result of creating a new realm given - agent and the following customizations:
+Let customizations be the following algorithm given a realm realm:
-For the global object, create a new object of the type given by worklet's - worklet global scope type.
Let realmExecutionContext be the result of creating a new realm + given agent and customizations.
Let workletGlobalScope be the global object of realmExecutionContext's Realm component.