From 7128df76d76cbfdedbf9ff889f4dca431609d03e Mon Sep 17 00:00:00 2001
From: Michael Dyck
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
@@ -111268,15 +111274,21 @@ location.href = '#foo';
requestsOAC.
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
@@ -115430,13 +115442,12 @@ new PaymentRequest(…); // Allowed to use
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: Perform InitializeHostDefinedRealm()
- with the provided customizations for creating the global object and the global this
- binding. Perform InitializeHostDefinedRealm(customizations). Let realm execution context be the running JavaScript execution
@@ -130657,14 +130668,18 @@ interface SharedWorkerGlobalScope : WorkerGlobalScope
is shared. Run the rest of these steps in that agent. 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
- Let realm execution context be the result of creating a new realm
+ given agent and customizations. 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
From 772b5a58d0cb7c94c35c18602bacde1846b1df48 Mon Sep 17 00:00:00 2001
From: Michael Dyck Perform Let realm execution context be InitializeHostDefinedRealm(customizations). 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 be realm execution context's Realm component. Let realm execution context be InitializeHostDefinedRealm(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 customizations. Let realm execution context be the result of creating a new realm
+ given agent and customizations. Let topLevelCreationURL be Let realmExecutionContext be the result of creating a new realm
- given agent and customizations. 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. Let realm execution context be the result of creating a new realm
- given agent and customizations. Let realm execution context be the result of creating a new realm
+ given agent and customizations. Let worker global scope be the global
@@ -132243,10 +132237,8 @@ interface WorkletGlobalScope {};
Let realmExecutionContext be the result of creating a new realm given
- agent and customizations. 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. To create a new
realm in an agent agent, with a customizations algorithm
- customizations, the following steps are taken: Let realm execution context be
-
-
-
+ SharedWorkerGlobalScope object. Otherwise, create a new
- DedicatedWorkerGlobalScope object.
+
+ SharedWorkerGlobalScope object if is shared is true; otherwise a new DedicatedWorkerGlobalScope object.
-
+
+
+
-
about:blank if embedder is
null; otherwise embedder's relevant settings object's top-level
@@ -111286,10 +111284,8 @@ location.href = '#foo';