mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-03 07:32:00 +00:00
This fixes a regression on Acid3, since we are not expected to "best effort" parse XML. The test specifically checks that you don't create an incomplete, incorrect DOM.
13 lines
366 B
HTML
13 lines
366 B
HTML
<script src="../include.js"></script>
|
|
<iframe id="i1"></iframe>
|
|
<script>
|
|
asyncTest((done) => {
|
|
i1.src = '../../data/bad.xml';
|
|
i1.onload = function() {
|
|
println("Got load event");
|
|
println(i1.contentDocument);
|
|
println(i1.contentDocument.documentElement.innerText);
|
|
done();
|
|
}
|
|
});
|
|
</script>
|