Index: chrome/test/data/downloads/dangerous/download-dangerous.html |
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 0000000000000000000000000000000000000000..f6361d2cb3ace378683f80635510572a2a08091a |
--- /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> |
+ |