1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/docshell/test/navigation/file_document_write_1.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,22 @@ 1.4 +<html> 1.5 + <head> 1.6 + <script> 1.7 + function run() { 1.8 + document.open(); 1.9 + document.write("<h5 id='dynamic'>document.written content</h5>"); 1.10 + document.close(); 1.11 + window.history.go(-1); 1.12 + opener.setTimeout("isTestDynamic()", 2500); 1.13 + } 1.14 + 1.15 + function start() { 1.16 + if (++opener.testCount == 1) { 1.17 + setTimeout(run, 0); 1.18 + } 1.19 + } 1.20 + </script> 1.21 + </head> 1.22 + <body onload="start();"> 1.23 + <h5>static content</h5> 1.24 + </body> 1.25 +</html>