diff --git a/source b/source index 246e97db5f3..6d431c0c2cb 100644 --- a/source +++ b/source @@ -76904,25 +76904,16 @@ dictionary DragEventInit : MouseEventInit {
Let browsingContext be a new browsing context.
Call the JavaScript InitializeHostDefinedRealm() abstract operation - with the following customizations:
+Create a new JavaScript realm with the following customizations:
For the global object, create a new Window
object
- window.
For the global object, create a new Window
object.
For the global this value, use browsingContext's +
For the global this binding, use browsingContext's
WindowProxy
object.
Let realm execution context be the running JavaScript execution - context.
- -This is the JavaScript execution context created in the previous - step.
+Let realm execution context be the result.
Set up a window environment settings object with realm execution @@ -82279,24 +82270,16 @@ interface Location { // but see also InitializeHostDefinedRealm() abstract operation - with the following customizations:
+Create a new JavaScript realm with the following customizations:
For the global object, create a new Window
object.
For the global this value, use browsingContext's +
For the global this binding, use browsingContext's
WindowProxy
object.
Let realm execution context be the running JavaScript execution - context.
-This is the JavaScript execution context created in the previous - step.
+Let realm execution context be the result.
Set up a window environment settings object with realm execution @@ -87476,7 +87459,7 @@ interface ApplicationCache : EventTarget { field of a JavaScript realm.
In this specification, all JavaScript
- realms are initialized with are created with global objects that are either Window
or
WorkerGlobalScope
objects.
Each global object in this specification is created during the initialization of a corresponding JavaScript + data-x="create a new JavaScript realm">creation of a corresponding JavaScript realm, known as the global object's Realm.
To create a new JavaScript realm, 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.
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.
When defining algorithm steps throughout this specification, it is often important to indicate @@ -90628,30 +90633,22 @@ document.body.appendChild(frame) document, without firing any mutation events.
Call the JavaScript InitializeHostDefinedRealm() abstract operation - with the following customizations:
+Create a new JavaScript realm with the following customizations:
For the global object, create a new Window
object
window.
For the global this value, use document's browsing
+ For the global this binding, use document's browsing
context's associated WindowProxy
.
Let realm execution context be the result.
+This is not universally implemented and can perhaps be removed; see issue #1698.
Let realm execution context be the running JavaScript execution - context.
- -This is the JavaScript execution context created in the previous - step.
-Set up a window environment settings object with realm execution context.
Call the JavaScript InitializeHostDefinedRealm() abstract - operation with the following customizations:
+Create a new JavaScript realm with the following customization:
For the global object, if is shared is true, create a new
SharedWorkerGlobalScope
object. Otherwise, create a new
DedicatedWorkerGlobalScope
object.
Let realm execution context be the running JavaScript execution - context.
- -This is the JavaScript execution context created in the previous - step.
+Let realm execution context be the result.
This is the DedicatedWorkerGlobalScope
or
- SharedWorkerGlobalScope
object created when calling InitializeHostDefinedRealm.
SharedWorkerGlobalScope
object created in the previous step.
Set up a worker environment settings object with realm execution