зеркало из https://github.com/mozilla/gecko-dev.git
20 строки
482 B
HTML
20 строки
482 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.nextTest();
|
|
window.close();
|
|
}
|
|
</script>
|
|
</head>
|
|
<body onload="start();">
|
|
<h5>static content</h5>
|
|
</body>
|
|
</html>
|