Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(212)

Side by Side Diff: chrome/test/data/dynamic1.html

Issue 7080049: Tests for bug 5988. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: refrected comments. Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/test/data/dynamic2.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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);
8
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>';
15
16 // Push the HTML into that window
17 oWnd.document.write(sHtml);
18
19 // Finish
20 oWnd.document.close();
21 }
22 </script>
23 </head>
24 <body>
25 <p>This is dynamic1.html</p>
26 </body>
27 </html>
OLDNEW
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/test/data/dynamic2.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698