mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-19 15:32:31 +00: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.
10 lines
245 B
HTML
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>
|