diff --git a/source b/source index 8cab36f5476..60441e8c455 100644 --- a/source +++ b/source @@ -76812,6 +76812,10 @@ dictionary DragEventInit : MouseEventInit {
creator context security
The result of executing Is environment settings object a secure context? on creator document's relevant settings object
+ +
creator active service worker
+
creator document's relevant settings object's active service worker
@@ -76854,27 +76858,32 @@ dictionary DragEventInit : MouseEventInit { document.

  • -

    Set the origin of document:

    +

    If browsingContext has a creator browsing context, then:

    - -
  • +
  • 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 Document is the initial "about:blank" document -

    The one it was assigned when its browsing context was - created.

    +

    A unique opaque origin assigned when the + Document is created or the one it was assigned when + its browsing context was created if the browsing context had a creator + browsing context.

    If the Document is a non-initial "about:blank" document
    @@ -82134,11 +82145,40 @@ State: <OUTPUT NAME=I>1</OUTPUT> <INPUT VALUE="Increment" TYPE=BUTTON O additionally run the following algorithm after creating the new object:

      -
    1. 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.

    2. +
    3. +

      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:

      + +
        +
      1. Let settingsObject be browsingContext's active + document's environment settings object.

      2. + +
      3. Set settingsObject's creation URL to + reservedEnvironment's creation + URL.

      4. + +
      5. Set settingsObject's active service worker to + reservedEnvironment's active service worker.

      6. + +
      7. Set reservedEnvironment's id + to the empty string.

      8. +
      + +

      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.

      +
    4. Otherwise:

      @@ -82161,7 +82201,7 @@ State: <OUTPUT NAME=I>1</OUTPUT> <INPUT VALUE="Increment" TYPE=BUTTON O
    5. Set up a window environment settings object with realm execution - context and reservedEnvironment, if present.

    6. + context and reservedEnvironment.

  • @@ -82195,6 +82235,12 @@ State: <OUTPUT NAME=I>1</OUTPUT> <INPUT VALUE="Increment" TYPE=BUTTON O
  • 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.