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

Unified Diff: content/test/data/download/download-link.html

Issue 1891623003: [Downloads] Set the Referrer header for resumed requests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Catch up with ToT Created 4 years, 8 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: content/test/data/download/download-link.html
diff --git a/content/test/data/download/download-attribute.html b/content/test/data/download/download-link.html
similarity index 61%
copy from content/test/data/download/download-attribute.html
copy to content/test/data/download/download-link.html
index 4fd070db96e3bf8942b6113de2229b9053f32077..f23c80a793c92c489a4aa7d5b4f05e6d894c7932 100644
--- a/content/test/data/download/download-attribute.html
+++ b/content/test/data/download/download-link.html
@@ -1,9 +1,9 @@
<!DOCTYPE html>
<html>
<body>
-<a download="suggested-filename" href="">link</a>
+<a href="">link</a>
<script>
- var anchorElement = document.querySelector('a[download]');
+ var anchorElement = document.querySelector('a');
url = window.location.href;
anchorElement.href = url.substr(url.indexOf('=') + 1);
anchorElement.click();
« no previous file with comments | « content/public/test/test_download_request_handler.cc ('k') | content/test/data/download/download-link.html.mock-http-headers » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698