test_bug426646.html (869B)
1 <!DOCTYPE HTML> 2 <html> 3 <!-- 4 https://bugzilla.mozilla.org/show_bug.cgi?id=426646 5 --> 6 <head> 7 <title>Test for Bug 426646</title> 8 <script src="/tests/SimpleTest/SimpleTest.js"></script> 9 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" /> 10 </head> 11 <body> 12 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=426646">Mozilla Bug 426646</a> 13 <p id="display"></p> 14 <div id="content" style="display: none"> 15 16 </div> 17 <pre id="test"> 18 <script class="testbody" type="text/javascript"> 19 20 /** Test for Bug 426646 */ 21 22 var testNumber = 0; 23 var testCount = 2; 24 25 function nextTest() { 26 if (++testNumber <= testCount) { 27 window.open("file_bug426646-" + testNumber + ".html", "", "width=100,height=100"); 28 } else { 29 SimpleTest.finish(); 30 } 31 } 32 33 SimpleTest.waitForExplicitFinish(); 34 addLoadEvent(nextTest); 35 36 37 </script> 38 </pre> 39 </body> 40 </html>