ladybird/Tests/LibWeb/Text/input/HTML/iframe-load-event-for-bad-xml.html
Andreas Kling 4a795bef48 Tests/LibWeb: Fix iframe-load-event-for-bad-xml.html test
This was supposed to be an async test (and work correctly, too!)

This fixes up fa43321938
2024-04-18 21:17:01 +02:00

11 lines
274 B
HTML

<iframe id="i1"></iframe>
<script src="../include.js"></script>
<script>
asyncTest((done) => {
i1.src = "data:application/xml;charset=utf-8;base64,vwo=";
i1.onload = function() {
println("OK");
done();
}
});
</script>