Index: chrome/test/data/downloads/download-anchor-attrib-name-not-resolved.html |
diff --git a/chrome/test/data/downloads/download-anchor-attrib-name-not-resolved.html b/chrome/test/data/downloads/download-anchor-attrib-name-not-resolved.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c48996235c5dd692d9180886c63645accdfb8084 |
--- /dev/null |
+++ b/chrome/test/data/downloads/download-anchor-attrib-name-not-resolved.html |
@@ -0,0 +1,13 @@ |
+<html> |
+<head><title><a download> that refers to a nonexistent hostname</title></head> |
+<body> |
+<a id='download' href="http://doesnotexist/shouldnotberesolved" 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> |