diff --git a/source b/source index d537e7c3860..9c6096db27a 100644 --- a/source +++ b/source @@ -79269,8 +79269,8 @@ dictionary DragEventInit : MouseEventInit {

To create a new browsing context, given - null or a Document object creator and browsing context group - group:

+ null or a Document object creator, browsing context group + group, and an optional intendedTopLevelOrigin:

@@ -79315,8 +79315,12 @@ dictionary DragEventInit : MouseEventInit { -
  • Set up a window environment settings object with realm execution - context, and let settingsObject be the result.

  • +
  • Let topLevelOrigin be intendedTopLevelOrigin, if present, otherwise + let topLevelOrigin be 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 Document, marked as an HTML document in quirks mode, whose DragEventInit : MouseEventInit { given an element element:

      -
    1. Let browsingContext be the result of creating a new browsing - context with element's node document and element's +

    2. Let topLevelBrowsingContext be element's node document's browsing context's - top-level browsing context's group.

    3. + top-level browsing context.

      + +
    4. Let topLevelOrigin be topLevelBrowsingContext's + active document's origin.

    5. + +
    6. Let browsingContext be the result of creating a new browsing + context with topLevelBrowsingContext's group + and topLevelOrigin.

    7. Set element's nested browsing context to browsingContext.

    8. @@ -81437,7 +81447,8 @@ interface BarProp {

      Script settings for Window objects

      When the user agent is required to set up a window environment settings object, - given a JavaScript execution context execution context and an optional + 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:

        @@ -81517,6 +81528,13 @@ interface BarProp { +
        The top-level origin
        +
        + +

        Return top-level origin.

        + +
        +
        The HTTPS state
        @@ -85130,8 +85148,14 @@ interface Location { // but see also top-level origin + +
        + +

        The origin of the top-level browsing context at the time + this settings object was set up.

        + +
        +
        An HTTPS state

        An HTTPS state value representing the security properties of the network @@ -91713,7 +91746,7 @@ import "https://example.com/foo/../module2.mjs";

        1. Let clusterKey be the result of obtaining an agent cluster key given + data-x="obtain-agent-cluster-key" data-export="">obtaining an agent cluster key given origin.

        2. Let agentCluster be the result of SharedWorkerGlobalScope : WorkerGlobalScope {

        +
        The top-level origin
        +
        + +

        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.

        + +
        +
        The HTTPS state