1
0
Fork 0
firefox/docshell/test/navigation/file_document_write_1.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

18 lines
460 B
HTML

<html>
<head>
<script>
function start() {
var length = history.length;
document.open();
document.write("<h5 id='dynamic'>document.written content</h5>");
document.close();
opener.is(history.length, length,
"document.open/close should not change history");
opener.finishTest();
}
</script>
</head>
<body onload="start();">
<h5>static content</h5>
</body>
</html>