Skip to content

Commit a41f832

Browse files
authored
Fix incorrect variable reference in "apply the history step"
Closes whatwg#10703.
1 parent 24f5496 commit a41f832

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

source

+4-1
Original file line numberDiff line numberDiff line change
@@ -102790,6 +102790,9 @@ location.href = '#foo';</code></pre>
102790102790
<p>In both cases, let <var>afterPotentialUnloads</var> be the following steps:</p>
102791102791

102792102792
<ol>
102793+
<li><p>Let <var>previousEntry</var> be <var>navigable</var>'s <span
102794+
data-x="nav-active-history-entry">active session history entry</span>.</p></li>
102795+
102793102796
<li><p>If <var>changingNavigableContinuation</var>'s <span
102794102797
data-x="changing-nav-continuation-update-only">update-only</span> is false, then
102795102798
<span>activate history entry</span> <var>targetEntry</var> for
@@ -102801,7 +102804,7 @@ location.href = '#foo';</code></pre>
102801102804
<var>changingNavigableContinuation</var>'s <span
102802102805
data-x="changing-nav-continuation-update-only">update-only</span>,
102803102806
<var>scriptHistoryLength</var>, <var>scriptHistoryIndex</var>, <var>navigationType</var>,
102804-
<var>entriesForNavigationAPI</var>, and <var>displayedEntry</var>.</p></li>
102807+
<var>entriesForNavigationAPI</var>, and <var>previousEntry</var>.</p></li>
102805102808

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

0 commit comments

Comments
 (0)