ladybird/Tests/LibWeb/Text/input/iframe-load-event-for-xml-src.html
Aliaksandr Kalenik eb4f36e5a1 Tests/LibWeb: Add a test for iframe load event when src has xml type
Reduction from Acid3 that was fixed by changing
guess_mime_type_based_on_filename() to support xml extension.
2024-04-18 08:10:05 +00:00

14 lines
326 B
HTML

<script src="include.js"></script>
<iframe id="b" src="../data/document.xml"></iframe>
<script>
asyncTest(done => {
b.onload = function () {
println("load");
done();
};
b.onerror = function () {
println("error");
done();
};
});
</script>