Skip to content

Commit 4467ddf

Browse files
authored
Fix return value checking for unload cancelation
Closes #11357.
1 parent 78d2678 commit 4467ddf

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

source

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99109,7 +99109,7 @@ interface <dfn interface>NotRestoredReasons</dfn> {
9910999109
document</span>'s <span>inclusive descendant navigables</span>.</p></li>
9911099110

9911199111
<li><p>If the result of <span>checking if unloading is canceled</span> for <var>toUnload</var> is
99112-
true, then return.</p></li>
99112+
not "<code data-x="">continue</code>", then return.</p></li>
9911399113

9911499114
<li>
9911599115
<p><span data-x="tn-append-session-history-traversal-steps">Append the following session history
@@ -101592,8 +101592,9 @@ location.href = '#foo';</code></pre>
101592101592
document</span>'s <span>inclusive descendant navigables</span>.</p>
101593101593

101594101594
<li>
101595-
<p>If <var>unloadPromptCanceled</var> is true, or <var>navigable</var>'s <span>ongoing
101596-
navigation</span> is no longer <var>navigationId</var>, then:</p>
101595+
<p>If <var>unloadPromptCanceled</var> is not "<code data-x="">continue</code>", or
101596+
<var>navigable</var>'s <span>ongoing navigation</span> is no longer
101597+
<var>navigationId</var>:</p>
101597101598

101598101599
<ol>
101599101600
<li><p>Invoke <span>WebDriver BiDi navigation failed</span> with <var>navigable</var> and a

0 commit comments

Comments
 (0)