Skip to content

Commit

Permalink
Do not unload during same-document history step application
Browse files Browse the repository at this point in the history
Closes #9819.
  • Loading branch information
domenic committed Nov 15, 2023
1 parent beae854 commit 41c1f94
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -100521,14 +100521,21 @@ location.href = '#foo';</code></pre>
data-x="changing-nav-continuation-update-only">update-only</span> is false, then:</p>

<ol>
<li><p><span data-x="unload a document">Unload</span> <var>displayedDocument</var> given
<var>targetEntry</var>'s <span data-x="she-document">document</span>.</p></li>

<li><p>For each <var>childNavigable</var> of <var>displayedDocument</var>'s
<span>descendant navigables</span>, <span>queue a global task</span> on the
<span>navigation and traversal task source</span> given <var>childNavigable</var>'s <span
data-x="nav-window">active window</span> to <span data-x="unload a document">unload</span>
<var>childNavigable</var>'s <span data-x="nav-document">active document</span>.</p></li>
<li>
<p>If <var>targetEntry</var>'s <span data-x="she-document">document</span> does not equal
<var>displayedDocument</var>, then:</p>

<ol>
<li><p><span data-x="unload a document">Unload</span> <var>displayedDocument</var> given
<var>targetEntry</var>'s <span data-x="she-document">document</span>.</p></li>

<li><p>For each <var>childNavigable</var> of <var>displayedDocument</var>'s
<span>descendant navigables</span>, <span>queue a global task</span> on the
<span>navigation and traversal task source</span> given <var>childNavigable</var>'s
<span data-x="nav-window">active window</span> to <span data-x="unload a
document">unload</span> <var>childNavigable</var>'s <span data-x="nav-document">active
document</span>.</p></li>
</ol>

<li><p><span>Activate history entry</span> <var>targetEntry</var> for
<var>navigable</var>.</p></li>
Expand Down

0 comments on commit 41c1f94

Please sign in to comment.