mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-23 16:40:03 +00:00
This change fixes a bug that can be reproduced with the following steps: ```js const iframe = document.createElement("iframe"); document.body.appendChild(iframe); iframe.contentWindow.location.href = ("http://localhost:8080/demo.html"); ``` These steps are executed in the following order: 1. Create iframe and schedule session history traversal task that adds session history entry for the iframe. 2. Generate navigation id for scheduled navigation to `http://localhost:8080/demo.html`. 3. Execute the scheduled session history traversal task, which adds session history entry for the iframe. 4. Ooops, navigation to `http://localhost:8080/demo.html` is aborted because addings SHE for the iframe resets the navigation id. This change fixes this by delaying all navigations until SHE for a navigable is created. |
||
---|---|---|
.. | ||
base | ||
bad.xml | ||
blank.html | ||
document.xml | ||
external-module.mjs | ||
greeter.wasm | ||
history-pushstate-iframe.html | ||
iframe-hashchange-event.html | ||
iframe-popstate-event.html | ||
iframe-reload.html | ||
iframe-test-content-1.html | ||
iframe-test-content-2.html | ||
iframe-unload-event.html | ||
iframe-with-border-radius-svg.html | ||
mime-types.json | ||
navigation-navigate-iframe.html | ||
ParentNode-querySelector-All-content.html | ||
test-iframe-content.html | ||
video-gc-frame.html |