Skip to content

Commit

Permalink
Set iframe lazy load resumption steps to null on navigation
Browse files Browse the repository at this point in the history
When an iframe element is navigated, the lazy-loading mechanism should not navigate it again.

Fixes #10213.
  • Loading branch information
zcorpan committed Mar 26, 2024
1 parent cf95931 commit 1217dc1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -98538,6 +98538,12 @@ location.href = '#foo';</code></pre>
https://github.com/whatwg/html/issues/1213
https://software.hixie.ch/utilities/js/live-dom-viewer/?saved=1946 to 1955 -->

<li><p>Set <var>container</var> to <var>navigable</var>'s <span data-x="nav-container">container</span>.</p></li>

<li><p>If <var>container</var> is an <code>iframe</code> element and <span>will lazy load
element steps</span> given <var>container</var> returns true, then set <var>container</var>'s
<span>lazy load resumption steps</span> to null.</p></li>

<li id="navigate-convert-to-replace">
<p>If <var>historyHandling</var> is "<code data-x="NavigationHistoryBehavior-auto">auto</code>",
then:</p>
Expand Down

0 comments on commit 1217dc1

Please sign in to comment.