mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 18:17:22 +02:00
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
This commit is contained in:
committed by
Andreas Kling
parent
8cfe51cef4
commit
0b403d30d7
Notes:
github-actions[bot]
2024-10-03 18:50:34 +00:00
Author: https://github.com/awesomekling Commit: https://github.com/LadybirdBrowser/ladybird/commit/0b403d30d76 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1615
@@ -0,0 +1,11 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user