Skip to content

Commit 725ca64

Browse files
committed
Fix review issues
1 parent 1fa8df3 commit 725ca64

File tree

1 file changed

+24
-23
lines changed

1 file changed

+24
-23
lines changed

source

Lines changed: 24 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -84920,23 +84920,23 @@ interface <dfn interface>History</dfn> {
8492084920
<li><p>Let <var>specified browsing context</var> be the <span>browsing context</span> of
8492184921
the <var>specified entry</var>.</p></li>
8492284922

84923-
<li><p>If <var>source browsing context</var> is not <span>allowed to navigate</span>
84924-
<var>specified browsing context</var>, then invoke <span>WebDriver BiDi navigation failed</span> with
84925-
with <var>source browsing context</var>, and a <span>WebDriver BiDi navigation status</span> whose <span
84926-
data-x="navigation-status-id">id</span> is <var>navigationId</var>, <span
84927-
data-x="navigation-status-status">status</span> is "<code
84928-
data-x="navigation-status-canceled">canceled</code>", and <span
84929-
data-x="navigation-status-url">url</span> is <var>resource</var>'s <span
84930-
data-x="concept-request-url">url</span>, then return.</p></li>
84923+
<li><p>If any of the following are true:</p>
8493184924

84932-
<li><p>If the <var>specified browsing context</var>'s <span>active document</span>'s <span>unload
84933-
counter</span> is greater than 0, then invoke <span>WebDriver BiDi navigation failed</span> with
84934-
with <var>source browsing context</var>, and a <span>WebDriver BiDi navigation status</span> whose <span
84935-
data-x="navigation-status-id">id</span> is <var>navigationId</var>, <span
84936-
data-x="navigation-status-status">status</span> is "<code
84937-
data-x="navigation-status-canceled">canceled</code>", and <span
84938-
data-x="navigation-status-url">url</span> is <var>resource</var>'s <span
84939-
data-x="concept-request-url">url</span>, then return.</p></li>
84925+
<ol>
84926+
<li><p><var>Source browsing context</var> is not <span>allowed to navigate</span>
84927+
<var>specified browsing context</var>; or<p></li>
84928+
84929+
<li><p>The <var>specified browsing context</var>'s <span>active document</span>'s <span>unload
84930+
counter</span> is greater than 0.</p></li>
84931+
</ol>
84932+
84933+
<p>Then invoke <span>WebDriver BiDi navigation failed</span> with
84934+
with <var>source browsing context</var>, and a <span>WebDriver BiDi navigation status</span> whose <span
84935+
data-x="navigation-status-id">id</span> is <var>navigationId</var>, <span
84936+
data-x="navigation-status-status">status</span> is "<code
84937+
data-x="navigation-status-canceled">canceled</code>", and <span
84938+
data-x="navigation-status-url">url</span> is <var>resource</var>'s <span
84939+
data-x="concept-request-url">url</span>, and return.</p></li>
8494084940

8494184941
<li>
8494284942
<p><span>Queue a global task</span> on the <span>history traversal task source</span> given
@@ -88264,7 +88264,7 @@ new PaymentRequest(&hellip;); // Allowed to use
8826488264
data-x="traverse-history-hh"><var>historyHandling</var></dfn> (default "<code
8826588265
data-x="hh-default">default</code>"), an optional boolean <dfn><var>nonBlockingEvents</var></dfn>
8826688266
(default false), an optional boolean <dfn><var>explicitHistoryNavigation</var></dfn> (default
88267-
false), optional <span data-x="navigation-id">navigation id</span>
88267+
false), and an optional <span data-x="navigation-id">navigation id</span>
8826888268
<dfn data-x="traverse-history-navigationid"><var>navigationId</var></dfn> (default null):</p>
8826988269

8827088270
<p class="note">This algorithm is not just invoked when <span data-x="traverse the history by a
@@ -88325,10 +88325,11 @@ new PaymentRequest(&hellip;); // Allowed to use
8832588325
a WebDriver-initiated history traversal from the bfcache and a UA initated history traversal. -->
8832688326
<ol>
8832788327
<li><p>If <var>newDocument</var>'s <span data-x="concept-document-navigation-id">navigation
88328-
id</span> is not null, let <var>navigationId</var> be <var>newDocument</var>'s <span
88329-
data-x="concept-document-navigation-id">navigation id</span>. Otherwise let
88330-
<var>navigationId</var> be the result of <span>generating a random UUID</span>.
88331-
<ref spec=UUID></p></li>
88328+
id</span> is not null, set <var>navigationId</var> to <var>newDocument</var>'s <span
88329+
data-x="concept-document-navigation-id">navigation id</span>.
88330+
88331+
<li><p>Otherwise, set <var>navigationId</var> to the result of <span>generating a random
88332+
UUID</span>. <ref spec=UUID></p></li>
8833288333
</ol>
8833388334
</li>
8833488335

@@ -88513,7 +88514,7 @@ new PaymentRequest(&hellip;); // Allowed to use
8851388514
<span data-x="concept-document-bc">browsing context</span>, and a new <span>WebDriver
8851488515
BiDi navigation status</span> whose <span data-x="navigation-status-id">id</span> is
8851588516
<var>navigationId</var>, <span data-x="navigation-status-url">url</span> is
88516-
<var>resource</var>'s <span data-x="concept-request-url">url</span>, and <span
88517+
<var>resource</var>'s <span data-x="concept-request-url">URL</span>, and <span
8851788518
data-x="navigation-status-status">status</span> is "<code
8851888519
data-x="navigation-status-complete">complete</code>".</p></li>
8851988520
</ol>
@@ -88534,7 +88535,7 @@ new PaymentRequest(&hellip;); // Allowed to use
8853488535
<span data-x="concept-document-bc">browsing context</span>, and a new <span>WebDriver
8853588536
BiDi navigation status</span> whose <span data-x="navigation-status-id">id</span> is
8853688537
<var>navigationId</var>, <span data-x="navigation-status-url">url</span> is
88537-
<var>resource</var>'s <span data-x="concept-request-url">url</span>, and <span
88538+
<var>resource</var>'s <span data-x="concept-request-url">URL</span>, and <span
8853888539
data-x="navigation-status-status">status</span> is "<code
8853988540
data-x="navigation-status-complete">complete</code>".</p></li>
8854088541
</ol>

0 commit comments

Comments
 (0)