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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/test/data/dynamic2.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/dynamic1.html
diff --git a/chrome/test/data/dynamic1.html b/chrome/test/data/dynamic1.html
new file mode 100644
index 0000000000000000000000000000000000000000..07ff33659e27eab2dd6d45e0b947f603a3145345
--- /dev/null
+++ b/chrome/test/data/dynamic1.html
@@ -0,0 +1,27 @@
+<html>
+<head>
+<title>Test Title</title>
+<script type="text/javascript">
+function OpenPopup() {
+ // Create a new popup window
+ var oWnd = window.open('','MyPopupName','width=350,height=300',false);
+
+ // Dynamically generate the HTML content for popup window
+ var sHtml =
+ '<html>'
+ + '<head><title>My Popup Title</title></head>'
+ + '<body></body>'
+ + '</html>';
+
+ // Push the HTML into that window
+ oWnd.document.write(sHtml);
+
+ // Finish
+ oWnd.document.close();
+}
+</script>
+</head>
+<body>
+ <p>This is dynamic1.html</p>
+</body>
+</html>
« 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