Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7333)

Unified Diff: chrome/test/data/downloads/download-anchor-attrib-name-not-resolved.html

Issue 148133007: [Downloads] Always call DM::StartDownload() for explicit downloads. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix typos Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>&lt;a download&gt; 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>
« no previous file with comments | « chrome/test/data/downloads/download-anchor-attrib-404.html ('k') | content/browser/download/download_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698