diff options
Diffstat (limited to 'chrome/test/data/downloads/dangerous/download-dangerous.html')
-rw-r--r-- | chrome/test/data/downloads/dangerous/download-dangerous.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/chrome/test/data/downloads/dangerous/download-dangerous.html b/chrome/test/data/downloads/dangerous/download-dangerous.html new file mode 100644 index 0000000..f6361d2 --- /dev/null +++ b/chrome/test/data/downloads/dangerous/download-dangerous.html @@ -0,0 +1,19 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html><head><title>Test Download Multiple files Infobar.</title>
+<script>
+function RedirectToDangerous() {
+ filename = window.location.search.split("?")[1];
+ window.location.href = filename;
+}
+</script>
+</head>
+
+<body onload="RedirectToDangerous();">
+<h2>
+Should trigger download for an unsafe/dangerous file type.<br>
+Filename should be passed as query string.
+</h2>
+
+</body>
+</html>
+
|