From 916a923a70450cb549cd0613f3227282e0697f11 Mon Sep 17 00:00:00 2001
From: Shivani Sharma To create a new browsing context, given
- null or a Document
object creator and browsing context group
- group:Document
object creator, browsing context group
+ group, and an optional intendedTopLevelOrigin:
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:
Let browsingContext be the result of creating a new browsing - context with element's node document and element's +
Let topLevelBrowsingContext be element's node document's browsing context's - top-level browsing context's group.
Let topLevelOrigin be topLevelBrowsingContext's + active document's origin.
Let browsingContext be the result of creating a new browsing + context with topLevelBrowsingContext's group + and topLevelOrigin.
Set element's nested browsing context to browsingContext.
Window
objectsWhen 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:
Return top-level origin.
+ +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 @@ -91713,7 +91746,7 @@ import "https://example.com/foo/../module2.mjs";
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.
Let agentCluster be the result of SharedWorkerGlobalScope : WorkerGlobalScope {
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.
+ +