ladybird/Tests/LibWeb/Text/input/HTML/iframe-load-event-for-bad-xml.html
Andreas Kling fa43321938 LibWeb: Fire iframe load event for frames with badly encoded XML
When loading an XML resource into an iframe and the resource fails to
decode (e.g due to invalid UTF-8), we must still fire a load event.

This fixes the regression in subtest 69 of Acid3.
2024-04-18 15:40:16 +00:00

10 lines
245 B
HTML

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