mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-23 00:19:18 +00:00
Otherwise finalization step of initial `about:blank` navigation might cancel user-initiated navigations by changing ongoing navigation id. This is implemented by marking navigable as ready to start processing navigation in SHTQ task, because we know for sure this task cannot be processed until finalization step of initial `about:blank` navigation is done.
25 lines
No EOL
655 B
HTML
25 lines
No EOL
655 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<script src="../include.js"></script>
|
|
|
|
<body>
|
|
<script>
|
|
asyncTest(done => {
|
|
window.addEventListener("message", (e) => {
|
|
println(e.data);
|
|
done();
|
|
});
|
|
|
|
const iframe = document.createElement("iframe");
|
|
document.body.appendChild(iframe);
|
|
|
|
const iframe2 = document.createElement("iframe");
|
|
iframe2.onload = () => {
|
|
iframe.contentWindow.location.href = "../../data/test-iframe-content.html";
|
|
};
|
|
document.body.appendChild(iframe2);
|
|
});
|
|
</script>
|
|
</body>
|
|
|
|
</html> |