window_bug1384658.html (451B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <script> 5 onload = function() { 6 if (window.location.search == "") { 7 window.open("window_bug1384658.html?opened", "_top", ""); 8 } else { 9 var iframeURL = "http://mochi.test:8888/tests/dom/websocket/tests/file_bug1384658.html"; 10 var iframe = document.createElement("iframe"); 11 iframe.src = iframeURL; 12 document.body.appendChild(iframe); 13 } 14 }; 15 </script> 16 </head> 17 <body> 18 </body> 19 </html>