mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-28 10:37:17 +02:00
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.
11 lines
245 B
HTML
11 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>
|