Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / content / test / data / dynamic1.html
blob07ff33659e27eab2dd6d45e0b947f603a3145345
1 <html>
2 <head>
3 <title>Test Title</title>
4 <script type="text/javascript">
5 function OpenPopup() {
6 // Create a new popup window
7 var oWnd = window.open('','MyPopupName','width=350,height=300',false);
9 // Dynamically generate the HTML content for popup window
10 var sHtml =
11 '<html>'
12 + '<head><title>My Popup Title</title></head>'
13 + '<body></body>'
14 + '</html>';
16 // Push the HTML into that window
17 oWnd.document.write(sHtml);
19 // Finish
20 oWnd.document.close();
22 </script>
23 </head>
24 <body>
25 <p>This is dynamic1.html</p>
26 </body>
27 </html>