Skip to content

Commit

Permalink
Rename |is root| to |include parent id| (#726)
Browse files Browse the repository at this point in the history
SHA: a86a0c7
Reason: push, by OrKoN

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
OrKoN and github-actions[bot] committed Jun 13, 2024
1 parent e8028e5 commit 7bc7e0e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 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="41a17c419bc8b8a24a6bb599ed18c1e18bafa29f" name="document-revision">
<meta content="a86a0c74dd6c7d92854c929f6427aea9da1a2b73" name="document-revision">
<style>
var {
color: #cd5c5c
Expand Down Expand Up @@ -2645,7 +2645,7 @@ <h5 class="heading settled" data-level="7.3.2.2" id="type-browsingContext-Info">
</ol>
</div>
<div class="algorithm" data-algorithm="get the browsing context info">
To <dfn class="dfn-paneled" data-dfn-type="dfn" data-noexport id="get-the-browsing-context-info">get the browsing context info</dfn> given <var>context</var>, <var>max depth</var> and <var>is root</var>:
To <dfn class="dfn-paneled" data-dfn-type="dfn" data-noexport id="get-the-browsing-context-info">get the browsing context info</dfn> given <var>context</var>, <var>max depth</var> and <var>include parent id</var>:
<ol>
<li data-md>
<p>Let <var>context id</var> be the <a data-link-type="dfn" href="#browsing-context-id" id="ref-for-browsing-context-id②">browsing context id</a> for <var>context</var>.</p>
Expand Down Expand Up @@ -2685,7 +2685,7 @@ <h5 class="heading settled" data-level="7.3.2.2" id="type-browsingContext-Info">
<p>Let <var>opener id</var> be the <a data-link-type="dfn" href="#browsing-context-id" id="ref-for-browsing-context-id④">browsing context id</a> for <var>context</var>’s <a data-link-type="dfn" href="#original-opener" id="ref-for-original-opener">original opener</a>, if <var>context</var>’s <a data-link-type="dfn" href="#original-opener" id="ref-for-original-opener①">original opener</a> is not null,
and null otherwise.</p>
<li data-md>
<p>Let <var>context info</var> be a <a data-link-type="dfn" href="https://infra.spec.whatwg.org/#ordered-map" id="ref-for-ordered-map①⑦">map</a> matching the <code>browsingContext.Info</code> production with the <code>context</code> field set to <var>context id</var>, the <code>parent</code> field set to <var>parent id</var> if <var>is root</var> is <code>true</code>, or unset otherwise, the <code>url</code> field set to <var>url</var>, the <code>userContext</code> field set to <var>user context</var>’s <a data-link-type="dfn" href="#user-context-user-context-id" id="ref-for-user-context-user-context-id④">user context id</a>, <code>originalOpener</code> field set to <var>opener id</var>, and the <code>children</code> field
<p>Let <var>context info</var> be a <a data-link-type="dfn" href="https://infra.spec.whatwg.org/#ordered-map" id="ref-for-ordered-map①⑦">map</a> matching the <code>browsingContext.Info</code> production with the <code>context</code> field set to <var>context id</var>, the <code>parent</code> field set to <var>parent id</var> if <var>include parent id</var> is <code>true</code>, or unset otherwise, the <code>url</code> field set to <var>url</var>, the <code>userContext</code> field set to <var>user context</var>’s <a data-link-type="dfn" href="#user-context-user-context-id" id="ref-for-user-context-user-context-id④">user context id</a>, <code>originalOpener</code> field set to <var>opener id</var>, and the <code>children</code> field
set to <var>child infos</var>.</p>
<li data-md>
<p>Return <var>context info</var>.</p>
Expand Down

0 comments on commit 7bc7e0e

Please sign in to comment.