Index: chrome/test/data/downloads/download-anchor-attrib-400.html |
diff --git a/chrome/test/data/downloads/download-anchor-attrib-400.html b/chrome/test/data/downloads/download-anchor-attrib-400.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6d3096c75466e5dc7ad10ed8ff9b2e9c719f7903 |
--- /dev/null |
+++ b/chrome/test/data/downloads/download-anchor-attrib-400.html |
@@ -0,0 +1,13 @@ |
+<html> |
+<head><title><a download> that results in a status code of 400</title></head> |
+<body> |
+<a id='download' href="zip_file_not_found.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> |