Skip to content

Commit

Permalink
Fix browsing context creation steps (#737)
Browse files Browse the repository at this point in the history
SHA: 0fa2d99
Reason: push, by jgraham

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
OrKoN and github-actions[bot] committed Jul 8, 2024
1 parent 0356a7a commit 84a39c5
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<link href="https://www.w3.org/StyleSheets/TR/2021/W3C-ED" rel="stylesheet">
<meta content="Bikeshed version 82ce88815, updated Thu Sep 7 16:33:55 2023 -0700" name="generator">
<link href="https://w3c.github.io/webdriver-bidi/" rel="canonical">
<meta content="a46d71b903972b8d49c4e4dc631644393216cbe9" name="document-revision">
<meta content="0fa2d99bef9de5aae86cedb8e2be4835e6d70b4d" name="document-revision">
<style>
var {
color: #cd5c5c
Expand Down Expand Up @@ -567,7 +567,7 @@
<div class="head">
<p data-fill-with="logo"><a class="logo" href="https://www.w3.org/"> <img alt="W3C" height="48" src="https://www.w3.org/StyleSheets/TR/2021/logos/W3C" width="72"> </a> </p>
<h1 class="p-name no-ref" id="title">WebDriver BiDi</h1>
<p id="w3c-state"><a href="https://www.w3.org/standards/types#ED">Editor’s Draft</a>, <time class="dt-updated" datetime="2024-07-03">3 July 2024</time></p>
<p id="w3c-state"><a href="https://www.w3.org/standards/types#ED">Editor’s Draft</a>, <time class="dt-updated" datetime="2024-07-08">8 July 2024</time></p>
<details open>
<summary>More details about this document</summary>
<div data-fill-with="spec-metadata">
Expand Down Expand Up @@ -3299,9 +3299,10 @@ <h5 class="heading settled" data-level="7.3.3.4" id="command-browsingContext-cre
<li data-md>
<p>If the implementation is unable to create a new <a data-link-type="dfn" href="https://html.spec.whatwg.org/multipage/document-sequences.html#top-level-traversable" id="ref-for-top-level-traversable⑦">top-level traversable</a> with <a data-link-type="dfn" href="#associated-user-context" id="ref-for-associated-user-context⑨">associated user context</a> <var>user context</var> for any reason, return <a data-link-type="dfn" href="https://w3c.github.io/webdriver/#dfn-errors" id="ref-for-dfn-errors②⑤">error</a> with <a data-link-type="dfn" href="https://w3c.github.io/webdriver/#dfn-error-code" id="ref-for-dfn-error-code②②">error code</a> <a data-link-type="dfn" href="https://w3c.github.io/webdriver/#dfn-unsupported-operation" id="ref-for-dfn-unsupported-operation③">unsupported operation</a>.</p>
<li data-md>
<p>Create a new <a data-link-type="dfn" href="https://html.spec.whatwg.org/multipage/document-sequences.html#top-level-browsing-context" id="ref-for-top-level-browsing-context①⓪">top-level browsing context</a> by running the <a data-link-type="dfn" href="https://html.spec.whatwg.org/multipage/window-object.html#window-open-steps" id="ref-for-window-open-steps">window open
steps</a> with <var>url</var> set to "<code>about:blank</code>", <var>target</var> set to the empty string, and <var>features</var> set to "<code>noopener</code>", and setting the <a data-link-type="dfn" href="#associated-user-context" id="ref-for-associated-user-context①⓪">associated user context</a> for the newly created <a data-link-type="dfn" href="https://html.spec.whatwg.org/multipage/document-sequences.html#top-level-traversable" id="ref-for-top-level-traversable⑧">top-level traversable</a> to <var>user context</var>. Which OS
window the new <a data-link-type="dfn" href="https://html.spec.whatwg.org/multipage/document-sequences.html#browsing-context" id="ref-for-browsing-context⑥">browsing context</a> is created in depends on <var>type</var> and <var>reference context</var>:</p>
<p>Create a new <a data-link-type="dfn" href="https://html.spec.whatwg.org/multipage/document-sequences.html#top-level-browsing-context" id="ref-for-top-level-browsing-context①⓪">top-level browsing context</a> by running
the <a data-link-type="dfn" href="https://html.spec.whatwg.org/multipage/document-sequences.html#creating-a-new-top-level-traversable" id="ref-for-creating-a-new-top-level-traversable">create a new top-level traversable</a> steps with null and empty string,
and setting the <a data-link-type="dfn" href="#associated-user-context" id="ref-for-associated-user-context①⓪">associated user context</a> for the newly created <a data-link-type="dfn" href="https://html.spec.whatwg.org/multipage/document-sequences.html#top-level-traversable" id="ref-for-top-level-traversable⑧">top-level traversable</a> to <var>user context</var>.
Which OS window the new <a data-link-type="dfn" href="https://html.spec.whatwg.org/multipage/document-sequences.html#browsing-context" id="ref-for-browsing-context⑥">browsing context</a> is created in depends on <var>type</var> and <var>reference context</var>:</p>
<ul>
<li data-md>
<p>If <var>type</var> is "<code>tab</code>" and the implementation supports
Expand Down Expand Up @@ -10708,6 +10709,7 @@ <h3 class="no-num no-ref heading settled" id="index-defined-elsewhere"><span cla
<li><span class="dfn-paneled" id="3752e9b0">confirm</span>
<li><span class="dfn-paneled" id="9d2630e3">context mode</span>
<li><span class="dfn-paneled" id="860a2f31">create a classic script</span>
<li><span class="dfn-paneled" id="46fa7fd2">create a new top-level traversable</span>
<li><span class="dfn-paneled" id="ad5c87c1">current session history step</span>
<li><span class="dfn-paneled" id="12b8dfc0">current settings object</span>
<li><span class="dfn-paneled" id="180e7028">default classic script fetch options</span>
Expand Down Expand Up @@ -10775,7 +10777,6 @@ <h3 class="no-num no-ref heading settled" id="index-defined-elsewhere"><span cla
<li><span class="dfn-paneled" id="825cbc48">user interaction task source</span>
<li><span class="dfn-paneled" id="f245d73f">visible</span>
<li><span class="dfn-paneled" id="5474e1ba">width</span>
<li><span class="dfn-paneled" id="f7061546">window open steps</span>
<li><span class="dfn-paneled" id="aaaa2760">worker event loop</span>
<li><span class="dfn-paneled" id="18e19756">worklet global scopes</span>
</ul>
Expand Down Expand Up @@ -11638,6 +11639,7 @@ <h2 class="no-num no-ref heading settled" id="issues-index"><span class="content
window.dfnpanelData['3752e9b0'] = {"dfnID": "3752e9b0", "url": "https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-confirm", "dfnText": "confirm", "refSections": [{"refs": [{"id": "ref-for-dom-confirm"}], "title": "7.3.3.6. The browsingContext.handleUserPrompt Command"}], "external": true};
window.dfnpanelData['9d2630e3'] = {"dfnID": "9d2630e3", "url": "https://html.spec.whatwg.org/multipage//canvas.html#offscreencanvas-context-mode", "dfnText": "context mode", "refSections": [{"refs": [{"id": "ref-for-offscreencanvas-context-mode"}], "title": "7.3.3.2. The browsingContext.captureScreenshot Command"}], "external": true};
window.dfnpanelData['860a2f31'] = {"dfnID": "860a2f31", "url": "https://html.spec.whatwg.org/multipage/webappapis.html#creating-a-classic-script", "dfnText": "create a classic script", "refSections": [{"refs": [{"id": "ref-for-creating-a-classic-script"}], "title": "7.5.4.3. The script.callFunction Command"}, {"refs": [{"id": "ref-for-creating-a-classic-script\u2460"}], "title": "7.5.4.4. The script.evaluate Command"}], "external": true};
window.dfnpanelData['46fa7fd2'] = {"dfnID": "46fa7fd2", "url": "https://html.spec.whatwg.org/multipage/document-sequences.html#creating-a-new-top-level-traversable", "dfnText": "create a new top-level traversable", "refSections": [{"refs": [{"id": "ref-for-creating-a-new-top-level-traversable"}], "title": "7.3.3.4. The browsingContext.create Command"}], "external": true};
window.dfnpanelData['ad5c87c1'] = {"dfnID": "ad5c87c1", "url": "https://html.spec.whatwg.org/multipage/document-sequences.html#tn-current-session-history-step", "dfnText": "current session history step", "refSections": [{"refs": [{"id": "ref-for-tn-current-session-history-step"}], "title": "7.3.3.12. The browsingContext.traverseHistory Command"}], "external": true};
window.dfnpanelData['12b8dfc0'] = {"dfnID": "12b8dfc0", "url": "https://html.spec.whatwg.org/multipage/webappapis.html#current-settings-object", "dfnText": "current settings object", "refSections": [{"refs": [{"id": "ref-for-current-settings-object"}], "title": "7.7.3.1. The log.entryAdded Event"}], "external": true};
window.dfnpanelData['180e7028'] = {"dfnID": "180e7028", "url": "https://html.spec.whatwg.org/multipage/webappapis.html#default-classic-script-fetch-options", "dfnText": "default classic script fetch options", "refSections": [{"refs": [{"id": "ref-for-default-classic-script-fetch-options"}], "title": "7.5.2. Preload Scripts"}, {"refs": [{"id": "ref-for-default-classic-script-fetch-options\u2460"}], "title": "7.5.4.3. The script.callFunction Command"}, {"refs": [{"id": "ref-for-default-classic-script-fetch-options\u2461"}], "title": "7.5.4.4. The script.evaluate Command"}], "external": true};
Expand Down Expand Up @@ -11705,7 +11707,6 @@ <h2 class="no-num no-ref heading settled" id="issues-index"><span class="content
window.dfnpanelData['825cbc48'] = {"dfnID": "825cbc48", "url": "https://html.spec.whatwg.org/multipage/webappapis.html#user-interaction-task-source", "dfnText": "user interaction task source", "refSections": [{"refs": [{"id": "ref-for-user-interaction-task-source"}], "title": "7.8.3.3. The input.setFiles Command"}], "external": true};
window.dfnpanelData['f245d73f'] = {"dfnID": "f245d73f", "url": "https://html.spec.whatwg.org/multipage/document-sequences.html#system-visibility-state", "dfnText": "visible", "refSections": [{"refs": [{"id": "ref-for-system-visibility-state"}, {"id": "ref-for-system-visibility-state\u2460"}, {"id": "ref-for-system-visibility-state\u2461"}, {"id": "ref-for-system-visibility-state\u2462"}, {"id": "ref-for-system-visibility-state\u2463"}], "title": "7.3.3.1. The browsingContext.activate Command"}], "external": true};
window.dfnpanelData['5474e1ba'] = {"dfnID": "5474e1ba", "url": "https://html.spec.whatwg.org/multipage/canvas.html#dom-canvas-width", "dfnText": "width", "refSections": [{"refs": [{"id": "ref-for-dom-canvas-width"}], "title": "7.3.3.2. The browsingContext.captureScreenshot Command"}], "external": true};
window.dfnpanelData['f7061546'] = {"dfnID": "f7061546", "url": "https://html.spec.whatwg.org/multipage/window-object.html#window-open-steps", "dfnText": "window open steps", "refSections": [{"refs": [{"id": "ref-for-window-open-steps"}], "title": "7.3.3.4. The browsingContext.create Command"}], "external": true};
window.dfnpanelData['aaaa2760'] = {"dfnID": "aaaa2760", "url": "https://html.spec.whatwg.org/multipage/webappapis.html#worker-event-loop-2", "dfnText": "worker event loop", "refSections": [{"refs": [{"id": "ref-for-worker-event-loop-2"}], "title": "7.5.5.3. The script.realmDestroyed Event"}], "external": true};
window.dfnpanelData['18e19756'] = {"dfnID": "18e19756", "url": "https://html.spec.whatwg.org/multipage/worklets.html#concept-document-worklet-global-scopes", "dfnText": "worklet global scopes", "refSections": [{"refs": [{"id": "ref-for-concept-document-worklet-global-scopes"}], "title": "7.5.5.3. The script.realmDestroyed Event"}], "external": true};
window.dfnpanelData['53275e46'] = {"dfnID": "53275e46", "url": "https://infra.spec.whatwg.org/#list-append", "dfnText": "append (for list)", "refSections": [{"refs": [{"id": "ref-for-list-append"}], "title": "7.2.3.3. The browser.getUserContexts Command"}, {"refs": [{"id": "ref-for-list-append\u2460"}, {"id": "ref-for-list-append\u2461"}, {"id": "ref-for-list-append\u2462"}, {"id": "ref-for-list-append\u2463"}, {"id": "ref-for-list-append\u2464"}, {"id": "ref-for-list-append\u2465"}, {"id": "ref-for-list-append\u2466"}, {"id": "ref-for-list-append\u2467"}, {"id": "ref-for-list-append\u2468"}, {"id": "ref-for-list-append\u2460\u24ea"}, {"id": "ref-for-list-append\u2460\u2460"}], "title": "7.3.3.7. The browsingContext.locateNodes Command"}, {"refs": [{"id": "ref-for-list-append\u2460\u2461"}, {"id": "ref-for-list-append\u2460\u2462"}], "title": "7.4.2. Network Intercepts"}, {"refs": [{"id": "ref-for-list-append\u2460\u2463"}], "title": "7.4.3.1. The network.AuthChallenge Type"}, {"refs": [{"id": "ref-for-list-append\u2460\u2464"}], "title": "7.4.4.1. The network.addIntercept Command"}, {"refs": [{"id": "ref-for-list-append\u2460\u2465"}], "title": "7.4.4.8. The network.setCacheBehavior Command"}], "external": true};
Expand Down

0 comments on commit 84a39c5

Please sign in to comment.