mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 12:07:14 +02:00
The spec's "not completely loaded" check in navigate_an_iframe_or_frame was applied to all navigations, including attribute-driven src changes. This caused navigations triggered before the previous page's load event (e.g. via postMessage during parsing) to replace the history entry instead of pushing a new one. Restrict the check to initial insertion only. For subsequent src attribute changes, always use "auto" so the navigate algorithm's own logic (navigation_must_be_a_replace) decides the history handling.
4 lines
99 B
Plaintext
4 lines
99 B
Plaintext
step 0 iframe-nav-before-load-page-a.html (current)
|
|
step 1 iframe-nav-before-load-page-b.html
|
|
|