Skip to content

Commit

Permalink
Fix browsing context creation steps (#737)
Browse files Browse the repository at this point in the history
---------

Co-authored-by: Julian Descottes <[email protected]>
  • Loading branch information
OrKoN and juliandescottes authored Jul 8, 2024
1 parent a46d71b commit 0fa2d99
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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/
Expand Down Expand Up @@ -3184,13 +3184,10 @@ The [=remote end steps=] with |command parameters| are:

<!-- This is based on step 5 of https://w3c.github.io/webdriver/#new-window,
but without using the "current browsing context" concept. -->
1. Create a new [=top-level browsing context=] by running the [=window open
steps=] with <var ignore>url</var> set to "<code>about:blank</code>", <var
ignore>target</var> set to the empty string, and <var ignore>features</var>
set to "<code>noopener</code>", 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 "<code>tab</code>" and the implementation supports
multiple browsing contexts in the same OS window:
Expand Down

0 comments on commit 0fa2d99

Please sign in to comment.