Skip to content

Commit

Permalink
Fix incorrect variable reference in "apply the history step"
Browse files Browse the repository at this point in the history
Closes whatwg#10703.
  • Loading branch information
domenic authored Oct 17, 2024
1 parent 24f5496 commit a41f832
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion source
Original file line number Diff line number Diff line change
Expand Up @@ -102790,6 +102790,9 @@ location.href = '#foo';</code></pre>
<p>In both cases, let <var>afterPotentialUnloads</var> be the following steps:</p>

<ol>
<li><p>Let <var>previousEntry</var> be <var>navigable</var>'s <span
data-x="nav-active-history-entry">active session history entry</span>.</p></li>

<li><p>If <var>changingNavigableContinuation</var>'s <span
data-x="changing-nav-continuation-update-only">update-only</span> is false, then
<span>activate history entry</span> <var>targetEntry</var> for
Expand All @@ -102801,7 +102804,7 @@ location.href = '#foo';</code></pre>
<var>changingNavigableContinuation</var>'s <span
data-x="changing-nav-continuation-update-only">update-only</span>,
<var>scriptHistoryLength</var>, <var>scriptHistoryIndex</var>, <var>navigationType</var>,
<var>entriesForNavigationAPI</var>, and <var>displayedEntry</var>.</p></li>
<var>entriesForNavigationAPI</var>, and <var>previousEntry</var>.</p></li>

<li><p>If <var>targetEntry</var>'s <span data-x="she-document">document</span> is equal to
<var>displayedDocument</var>, then perform <var>updateDocument</var>.</p></li>
Expand Down

0 comments on commit a41f832

Please sign in to comment.