Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / chrome / test / data / iframe_in_empty_frame.html
blob854cd1c0d353bb483a398eaf4087e9c68bbb9b03
1 <html><head><title>iframe test</title></head>
2 <script type="text/javascript">
3 function createStruct(wnd,viewer,popup){
4 iframe=wnd.document.createElement('iframe');
5 viewer.appendChild(iframe);
6 iframe.contentWindow.document.write('<SCRIPT src=\"iframe_in_empty_frame.js\"></SCR'+'IPT>');
9 wndname = "_blank";
10 wnd = window.open("", wndname, 'width=780,height=572,scrollbars=no,resizeable=no,statusbar=no,status=no,left = '+((screen.width / 2) - 780 / 2)+', var top = '+((screen.height / 2) - 572 / 2)+'');
11 if(wnd) {
12 wnd.document.open();
13 wnd.document.write('<html><body onload="finished();"><script>function finished() {if (window.opener) {window.opener.createStruct(this,document.getElementById("viewer"),true);}}</scr'+'ipt><div id="viewer"></div></body></html>');
14 wnd.document.close();
17 </script>
18 </html>