Index: chrome/test/data/dynamic2.html |
diff --git a/chrome/test/data/dynamic2.html b/chrome/test/data/dynamic2.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..84f51a06c69671c76a1390134d528846e85b3da3 |
--- /dev/null |
+++ b/chrome/test/data/dynamic2.html |
@@ -0,0 +1,30 @@ |
+<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>' |
+ + '<script type="text/javascript">' |
+ + 'document.title="My Dynamic Title";' |
+ + '<\/script>' |
+ + '</body>' |
+ + '</html>'; |
+ |
+ // Push the HTML into that window |
+ oWnd.document.write(sHtml); |
+ |
+ // Finish |
+ oWnd.document.close(); |
+} |
+</script> |
+</head> |
+<body> |
+</body> |
+</html> |