diff --git a/source b/source index 8cab36f5476..60441e8c455 100644 --- a/source +++ b/source @@ -76812,6 +76812,10 @@ dictionary DragEventInit : MouseEventInit {
Set the origin of document:
+If browsingContext has a creator browsing context, then:
-If browsingContext has a creator browsing context, then the - origin of document is the creator origin.
Set the origin of document to the + creator origin.
Otherwise, the origin of document is a unique opaque origin.
Set document's referrer to the + serialization of creator + URL.
If browsingContext has a creator browsing context, then set - document's referrer to the serialization of creator URL.
Set document's referrer + policy to the creator referrer policy.
If browsingContext has a creator browsing context, then set - document's referrer policy to - the creator referrer policy.
Set settingsObject's + active service worker to the + creator active service worker.
Implement the sandboxing for document.
If document's active sandboxing flag set has its sandboxed + origin browsing context flag set, then set document's relevant settings + object's active service + worker to null.
Set the allow* flags for document.
Add document to browsingContext's session
@@ -79251,8 +79260,10 @@ callback FrameRequestCallback = void (DOMHighResTimeStampIf the The one it was assigned when its browsing context was
- created. A unique opaque origin assigned when the
+ Document
is the initial "about:blank
" document
- Document
is created or the one it was assigned when
+ its browsing context was created if the browsing context had a creator
+ browsing context.Document
is a non-initial "about:blank
" document
If browsingContext's only entry in its session history is the
- about:blank
Document
that was added when browsingContext
- was created, and navigation is occurring
- with replacement enabled, and that Document
has the same
- origin as the new Document
, then do nothing.
If browsingContext's only entry in its session history is the
+ about:blank
Document
that was added when browsingContext
+ was created, and navigation is occurring
+ with replacement enabled, and that Document
has the same
+ origin as the new Document
, then:
Let settingsObject be browsingContext's active + document's environment settings object.
Set settingsObject's creation URL to + reservedEnvironment's creation + URL.
Set settingsObject's active service worker to + reservedEnvironment's active service worker.
Set reservedEnvironment's id + to the empty string.
The initial about:blank
Document
's environment
+ settings object is reused for the new Document
in this case. The reserved
+ environment transfers its creation URL
+ and active service worker to
+ the reused environment settings object but does not transfer its id. The reserved environment is not searchable by the
+ environment’s id from this point
+ on.
Otherwise:
@@ -82161,7 +82201,7 @@ State: <OUTPUT NAME=I>1</OUTPUT> <INPUT VALUE="Increment" TYPE=BUTTON OSet up a window environment settings object with realm execution - context and reservedEnvironment, if present.
Implement the sandboxing for the Document
.
If the Document
's active sandboxing flag set has its
+ sandboxed origin browsing context flag set, then set the Document
's
+ relevant settings object's active service worker to
+ null.
Set the allow* flags for the Document
.