Index: chrome/test/data/downloads/download-anchor-attrib-404.html |
diff --git a/chrome/test/data/downloads/download-anchor-attrib-404.html b/chrome/test/data/downloads/download-anchor-attrib-404.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..665b2e3bf8474f766b57d7a463b00e6f61fb5bc4 |
--- /dev/null |
+++ b/chrome/test/data/downloads/download-anchor-attrib-404.html |
@@ -0,0 +1,13 @@ |
+<html> |
+<head><title><a download> that results in a status code of 404</title></head> |
+<body> |
+<a id='download' href="there_IS_no_spoon.zip" download='foo'>Download</a> |
+<script> |
+window.setTimeout(function() { |
+ var evt = document.createEvent("MouseEvent"); |
+ evt.initMouseEvent('click', true, true); |
+ document.getElementById('download').dispatchEvent(evt); |
+}, 0); |
+</script> |
+</body> |
+</html> |