Files
serenity/Tests/LibWeb/Text/input/HTML/cross-origin-WindowProxy-postMessage.html
Andreas Kling 48d994839c LibWeb: Don't swallow args when forwarding cross-origin WindowProxy call
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)
2024-11-25 08:50:54 -05:00

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>