From 4d422bde5f901abdee6402ebd6a52f15141cc44d Mon Sep 17 00:00:00 2001
From: Domenic Denicola Document
.
Return window's associated
- Document
.
Return the current character encoding @@ -85814,11 +85808,12 @@ interface BarProp { environment is the result of running these steps:
Assert: environment has a responsible document.
Assert: environment's global
+ object is a Window
.
Return environment's responsible document's browsing context's top-level browsing context's - browsing session.
Return environment's global + object's browsing context's top-level browsing + context's browsing session.
A URL that represents the location of the resource with which this environment is associated.
-In the case of an environment settings object, this URL might be
- distinct from the environment settings object's responsible
- document's URL, due to mechanisms such as
- history.pushState()
.
In the case of a Window
environment settings object,
+ this URL might be distinct from its global
+ object's associated
+ Document
's URL, due to
+ mechanisms such as history.pushState()
which modify
+ the latter.
A module map that is used when importing JavaScript modules.
-A Document
that is assigned responsibility for actions taken by the scripts that
- use this environment settings object.
For example, the URL of the
- responsible document is used to set the URL of the Document
after it has been reset
- using document.open()
.
If the responsible event loop is not a window event loop, then the - environment settings object has no responsible document.
-If the task is being queued by or for a script, then - return the script's settings object's responsible document.
Document
.
Assert: this step is never reached, because one of the previous conditions must be true. Really?
Document
.
- If the document is fully active, but the event listeners all have - scripts whose settings objects specify responsible documents that are not fully - active, then the messages will not be received unless and until the documents become - fully active again.
+If the document is fully active, but the event listeners were all + created in the context of documents that are not fully active, then the + messages will not be received unless and until the documents become fully active + again.
Each event loop has a task source called the unshipped port
message queue. This is a virtual task source: it must act as if it contained
@@ -102750,15 +102733,16 @@ interface SharedWorkerGlobalScope : WorkerGlobalScope
global scope. This list includes the implicit MessagePort
in the case of dedicated workers.
Given an environment settings object
- o when creating or obtaining a worker, the relevant owner to add depends on
- the type of global object specified by
- o. If o specifies a global
- object that is a WorkerGlobalScope
object (i.e., if we are creating a nested
- dedicated worker), then the relevant owner is that global object. Otherwise, o
- specifies a global object that is a
- Window
object, and the relevant owner is the responsible document
- specified by o.
Given an environment settings
+ object o when creating or obtaining a worker, the relevant owner to
+ add depends on the type of global
+ object specified by o. If o's global object is a WorkerGlobalScope
+ object (i.e., if we are creating a nested dedicated worker), then the relevant owner is that
+ global object. Otherwise, o's global
+ object is a Window
object, and the relevant owner is that
+ Window
's associated
+ Document
.
Not applicable (the responsible event loop is not a window event - loop).
Return UTF-8.
@@ -104381,10 +104361,6 @@ interface WorkletGlobalScope {}; data-x="concept-WorkletGlobalScope-module-map">module map.Not applicable (the responsible event loop is not a window event - loop).
Return UTF-8.
@@ -119613,7 +119589,10 @@ if (s = prompt('What is your name?')) {Document
are in any of the following namespaces: HTML namespace, SVG namespace, MathML namespace
Document
has no focusable area (e.g. from XLink) other than the viewport.
Document
has no hyperlinks (e.g. from XLink).
- Document
as the responsible document.
+ Window
object with this Document
as its associated Document
.
Document
have any registered event listeners.