From 0fa2d99bef9de5aae86cedb8e2be4835e6d70b4d Mon Sep 17 00:00:00 2001 From: Alex Rudenko Date: Mon, 8 Jul 2024 11:41:34 +0200 Subject: [PATCH] Fix browsing context creation steps (#737) --------- Co-authored-by: Julian Descottes --- index.bs | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/index.bs b/index.bs index 8017e11f..a5ed25a5 100644 --- a/index.bs +++ b/index.bs @@ -193,6 +193,7 @@ spec: HTML; urlPrefix: https://html.spec.whatwg.org/multipage/ text: context mode; url: /canvas.html#offscreencanvas-context-mode text: create a classic script; url: webappapis.html#creating-a-classic-script text: create a new browsing context; url: browsers.html#creating-a-new-browsing-context + text: create a new top-level traversable; url: document-sequences.html#creating-a-new-top-level-traversable text: default classic script fetch options; url: webappapis.html#default-classic-script-fetch-options text: default view; url: nav-history-apis.html#dom-document-defaultview text: descendant navigables; utl: document-sequences.html#descendant-navigables @@ -229,7 +230,6 @@ spec: HTML; urlPrefix: https://html.spec.whatwg.org/multipage/ text: traverse the history by a delta; url: browsing-the-web.html#traverse-the-history-by-a-delta text: update the file selection; url: input.html#update-the-file-selection text: visible; url: document-sequences.html#system-visibility-state - text: window open steps; url: window-object.html#window-open-steps text: worker event loop; url: webappapis.html#worker-event-loop-2 text: worklet global scopes; url:worklets.html#concept-document-worklet-global-scopes spec: INFRA; urlPrefix: https://infra.spec.whatwg.org/ @@ -3184,13 +3184,10 @@ The [=remote end steps=] with |command parameters| are: - 1. Create a new [=top-level browsing context=] by running the [=window open - steps=] with url set to "about:blank", target set to the empty string, and features - set to "noopener", and setting the [=associated user context=] - for the newly created [=/top-level traversable=] to |user context|. Which OS - window the new [=/browsing context=] is created in depends on |type| and - |reference context|: + 1. Create a new [=top-level browsing context=] by running + the [=/create a new top-level traversable=] steps with null and empty string, + and setting the [=associated user context=] for the newly created [=/top-level traversable=] to |user context|. + Which OS window the new [=/browsing context=] is created in depends on |type| and |reference context|: * If |type| is "tab" and the implementation supports multiple browsing contexts in the same OS window: