Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix browsing context creation steps #737

Merged
merged 2 commits into from
Jul 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -3155,13 +3155,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
Loading