mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-14 19:06:55 +02:00
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)
8 lines
140 B
HTML
8 lines
140 B
HTML
<script src="../include.js"></script>
|
|
<script>
|
|
test(() => {
|
|
document.write("PASS");
|
|
document.close();
|
|
});
|
|
</script>
|