Files
ladybird/Tests/LibWeb/Text/input/HTML/document-write-flush-character-insertions.html
Timothy Flynn 2303142386 LibWeb: Always call document.close after document.write
This ensures the HTML parser completes running if it previously stopped
at an insertion point during a call to `document.write`.
2024-09-21 18:42:17 +02:00

8 lines
140 B
HTML

<script src="../include.js"></script>
<script>
test(() => {
document.write("PASS");
document.close();
});
</script>