mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-14 19:06:55 +02:00
Fixes at least one WPT test that was previously timing out: - html/semantics/document-metadata/the-base-element/base_target_does_not_affect_iframe_src_navigation.html (cherry picked from commit 0b403d30d765ab8e5db3b7443ebeca7f85c3acf2)
12 lines
302 B
HTML
12 lines
302 B
HTML
<script src="../include.js"></script>
|
|
<iframe id="i"></iframe>
|
|
<script>
|
|
asyncTest((done) => {
|
|
window.onmessage = function() {
|
|
println("PASS");
|
|
done();
|
|
};
|
|
i.src = "data:text/html,<script>top.postMessage('done', '*');</sc" + "ript>";
|
|
});
|
|
</script>
|