summaryrefslogtreecommitdiffstats
path: root/chrome/test/data/download_page1.html
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/data/download_page1.html')
-rw-r--r--chrome/test/data/download_page1.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/chrome/test/data/download_page1.html b/chrome/test/data/download_page1.html
new file mode 100644
index 0000000..25854f8
--- /dev/null
+++ b/chrome/test/data/download_page1.html
@@ -0,0 +1,11 @@
+<script>
+function openNew() {
+ var w = window.open();
+ var download = "http://"+window.location.host+"/download-test1.lib";
+ w.document.write('<bo' + 'dy onload="location.replace(\''+download+'\')">Important information about the download...</bo' + 'dy>');
+ w.document.close();
+}
+</script>
+<body>
+ <button onclick="openNew()">click me</button>
+</body> \ No newline at end of file