From 7c6312a4cc4bc07e62db8d1d626c7bcb8ef4f5ca Mon Sep 17 00:00:00 2001
From: shivanigithub Let topLevelOrigin be origin if embedder is null;
otherwise embedder's relevant settings object's top-level
origin. Let settingsObject be the result of setting up a window environment settings object given realm
- execution context and topLevelOrigin.
Let document be a new When the user agent is required to set up a window environment settings object,
- given a JavaScript execution context execution context, a
- top-level origin top-level origin, and an optional
- environment reserved environment, it must run the following steps: To set up a window environment settings object, given a JavaScript execution
+ context execution context and null or an environment
+ reservedEnvironment, run these steps: Let realm be the value of execution context's Realm
@@ -78669,11 +78669,6 @@ interface BarProp {
data-x="concept-document-window">associated Document
, marked as an HTML document in quirks mode, whose BarProp {
Script settings for
- Window
objects
.Document
Return top-level origin.
-Return the HTTPS state of @@ -78701,23 +78696,20 @@ interface BarProp {
If reserved environment is given, then:
+If reservedEnvironment is non-null, then:
Set settings object's id to - reserved environment's id, - settings object's creation - URL to reserved environment's creation URL, settings object's - target browsing context to - reserved environment's reservedEnvironment's id, settings + object's target browsing + context to reservedEnvironment's target browsing context, and settings object's active - service worker to reserved environment's to reservedEnvironment's active service worker.
Set reserved environment's id to +
Set reservedEnvironment's id to the empty string.
The identity of the reserved environment is considered to be fully @@ -78736,6 +78728,17 @@ interface BarProp { settings object's active service worker to null.
Set settings object's creation
+ URL to url, settings object's top-level creation URL
+ to url, and settings object's top-level origin to
+ window's associated
+ Document
's origin.
The latter two are overridden by create a new nested browsing + context.
+Set realm's [[HostDefined]] field to settings object.
Return settings object.
Run process a navigate response with null, resource, navigationType, the source browsing context, - browsingContext, sandboxFlags, incumbentNavigationOrigin, and - activeDocumentNavigationOrigin.
Set reservedEnvironment's top-level creation URL to + currentURL and reservedEnvironment's top-level origin to + null.
If browsingContext is not a top-level browsing context, then:
+ +Let topLevelEnvironment be browsingContext's top-level + browsing context's active document's relevant settings + object.
Set reservedEnvironment's top-level creation URL to + topLevelEnvironment's top-level creation URL and + reservedEnvironment's top-level origin to + topLevelEnvironment's top-level origin. +
Set request's reserved client to reservedEnvironment.
multipart/x-mixed-replace
"An explicitly supported XML MIME type is an XML MIME type for which @@ -82185,7 +82213,7 @@ interface Location { // but see also response response, a browsing context browsingContext, a sandboxing flag set sandboxFlags, two origins - incumbentNavigationOrigin, activeDocumentNavigationOrigin, and an optional + incumbentNavigationOrigin, activeDocumentNavigationOrigin, and null or an environment reservedEnvironment:
When an HTML document is to be loaded in a browsing - context, provided browsingContext, request, response, - sandboxFlags, incumbentNavigationOrigin, and - activeDocumentNavigationOrigin, the user agent must queue a task on the - networking task source to:
+When an HTML document is to be loaded, given a + browsingContext, request, response, sandboxFlags, + incumbentNavigationOrigin, activeDocumentNavigationOrigin, and + environment, the user agent must queue a task on the networking task + source to:
Let document be the result of creating and initializing a Document
object providing "html
", "text/html
",
request, response, browsingContext, sandboxFlags,
- incumbentNavigationOrigin, and activeDocumentNavigationOrigin.
Create an HTML parser and associate it with the document. Each @@ -82509,14 +82532,15 @@ new PaymentRequest(…); // Allowed to use
When faced with displaying an XML file inline, provided browsingContext,
request, response, sandboxFlags,
- incumbentNavigationOrigin, and activeDocumentNavigationOrigin, user agents
- must follow the requirements defined in XML and Namespaces in XML,
- XML Media Types, DOM, and other relevant specifications to create and initialize a Document
object
- providing "xml
", type, request, response,
- browsingContext, sandboxFlags, incumbentNavigationOrigin, and
- activeDocumentNavigationOrigin. It must also create and a corresponding XML
- parser.
Document
object providing "xml
", type,
+ request, response, browsingContext, sandboxFlags,
+ incumbentNavigationOrigin, activeDocumentNavigationOrigin, and
+ environment. It must also create and a corresponding XML parser.
At the time of writing, the XML specification community had not actually yet specified how XML and the DOM interact.
@@ -82560,17 +82584,19 @@ new PaymentRequest(…); // Allowed to useWhen a plain text document is to be loaded in a browsing context, provided - browsingContext, request, response, sandboxFlags, - incumbentNavigationOrigin, and activeDocumentNavigationOrigin, the user - agent must queue a task on the networking task source to: +
When a plain text document is to be loaded, provided a browsingContext, + request, response, sandboxFlags, + incumbentNavigationOrigin, activeDocumentNavigationOrigin, and + environment, the user agent must queue a task on the networking task + source to:
Let document be the result of creating and initialize a Document
object
providing "html
", type, request,
response, browsingContext, sandboxFlags,
- incumbentNavigationOrigin, and activeDocumentNavigationOrigin.
Create an HTML parser and associate it with the document. Act as if the tokenizer had emitted a start tag token with the tag name "pre" followed by a single @@ -82637,17 +82663,18 @@ new PaymentRequest(…); // Allowed to use
When an image, video, or audio resource is to be loaded in a browsing context, - provided browsingContext, request, response, - sandboxFlags, incumbentNavigationOrigin, and - activeDocumentNavigationOrigin, the user agent should: +
When an image, video, or audio resource is to be loaded, provided a browsingContext, + request, response, sandboxFlags, + incumbentNavigationOrigin, activeDocumentNavigationOrigin, and + environment, the user agent should:
Let document be the result of creating and initialize a Document
object
providing "html
", type, request,
response, browsingContext, sandboxFlags,
- incumbentNavigationOrigin, and activeDocumentNavigationOrigin.
Append an html
element to document.
When a resource that requires an external resource to be rendered is to be loaded in a - browsing context, provided browsingContext, request, - response, sandboxFlags, incumbentNavigationOrigin, and - activeDocumentNavigationOrigin, the user agent should: +
When a resource that requires an external resource to be rendered is to be loaded, provided a + browsingContext, request, response, sandboxFlags, + incumbentNavigationOrigin, activeDocumentNavigationOrigin, and + environment, the user agent should:
Let document be the result of creating and initialize a Document
object
providing "html
", type, request,
response, browsingContext, sandboxFlags,
- incumbentNavigationOrigin, and activeDocumentNavigationOrigin.
Mark document as being a plugin document
When the user agent is to display a user agent page inline in a browsing context,
- the user agent should create and initialize a
- Document
object providing "html
", "text/html
", null, null, browsingContext, an empty set, null, and null,
- and then either associate that Document
with a custom rendering that is not rendered
- using the normal Document
rendering rules, or mutate that Document
until
- it represents the content the user agent wants to render.
When the user agent is to display a user agent page inline, the user agent should create and initialize a Document
object
+ providing "html
", "text/html
", null, null,
+ browsingContext, an empty set, null, null, and null, and then either associate that
+ Document
with a custom rendering that is not rendered using the normal
+ Document
rendering rules, or mutate that Document
until it represents
+ the content the user agent wants to render.
An opaque string that uniquely identifies the environment.
An opaque string that uniquely identifies this environment.
A URL record that represents the location of the resource with which the +
A URL record 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
@@ -86131,6 +86159,27 @@ interface ApplicationCache : EventTarget {
history.pushState()
.
Null or a URL record that represents the location of the top-level resource + either with which this environment is directly associated or is associated with a + descendant thereof. It is null for workers and worklets.
An implementation-defined value (for non-dedicated workers), null, or an + origin. For a top-level navigation + request, it is null. Otherwise it is the origin of the target browsing context's + top-level browsing context's active document at the time this + environment was set up.
+ +This is distinct from the top-level creation URL's origin when sandboxing, workers, and worklets are + involved.
+Null or a target browsing context for a ApplicationCache : EventTarget {
An origin used in security checks.
The origin of the top-level browsing context at the time - this settings object was set up.
-An HTTPS state value representing the security properties of the network @@ -98361,16 +98403,6 @@ interface SharedWorkerGlobalScope : WorkerGlobalScope { origin otherwise.
Return outside settings's top-level origin for a dedicated - worker.
- -For shared and service workers this is still undefined and is being worked on, - since such workers could be associated with multiple top-level browsing contexts.
-Return worker global scope's SharedWorkerGlobalScope : WorkerGlobalScope {
Set settings object's id to a new
unique opaque string, settings object's creation URL to worker global
- scope's url, settings object's 's url, settings object's top-level creation URL
+ to null, settings object's target browsing context to null, and
settings object's active
service worker to null. If worker global scope is a Otherwise, set settings object's top-level origin to an
+ implementation-defined value. See Client-Side
+ Storage Partitioning for the latest on properly defining this. Set realm's [[HostDefined]] field to settings object. Return settings object.DedicatedWorkerGlobalScope
object,
+ then set settings object's top-level origin to outside
+ settings's top-level origin.