gecko-dev/docshell/test/navigation/file_document_write_1.html
Jonathan Griffin 2a9adb8f59 Bug 673285 - Remove unnecessary timeouts in test, r=smaug, a=testonly
--HG--
extra : rebase_source : d4dd42e4233e478edf1024536751a225ff1e0428
2011-08-24 10:47:54 -07:00

23 lines
478 B
HTML

<html>
<head>
<script>
function run() {
document.open();
document.write("<h5 id='dynamic'>document.written content</h5>");
document.close();
window.history.go(-1);
opener.setTimeout("isTestDynamic()", 2500);
}
function start() {
if (++opener.testCount == 1) {
setTimeout(run, 0);
}
}
</script>
</head>
<body onload="start();">
<h5>static content</h5>
</body>
</html>