Files
serenity/Tests/LibWeb/Text/input/HTML/document-write-flush-character-insertions.html
Timothy Flynn 26551f6700 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`.

(cherry picked from commit 230314238655204b89dd0736da4537b475eb252a)
2024-11-10 17:42:37 -05:00

8 lines
140 B
HTML

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