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

Unified Diff: LayoutTests/http/tests/security/anchor-download-allow-data.html

Issue 300543002: Allow filename suggestions via a[download] for data URIs (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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
« no previous file with comments | « no previous file | LayoutTests/http/tests/security/anchor-download-allow-data-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/security/anchor-download-allow-data.html
diff --git a/LayoutTests/http/tests/security/anchor-download-allow-sameorigin.html b/LayoutTests/http/tests/security/anchor-download-allow-data.html
similarity index 87%
copy from LayoutTests/http/tests/security/anchor-download-allow-sameorigin.html
copy to LayoutTests/http/tests/security/anchor-download-allow-data.html
index 733e75acfabd192aa28cca12ed0fa40ebf085e12..be3b011a03199f09158e080d13c2edcd52cd0e4a 100644
--- a/LayoutTests/http/tests/security/anchor-download-allow-sameorigin.html
+++ b/LayoutTests/http/tests/security/anchor-download-allow-data.html
@@ -12,7 +12,7 @@ if (window.testRunner) {
<body>
<p>
Tests that a suggested filename on a download attribute is allowed if
-<a id="dl" href="/security/resources/attachment.php" download="foo.pdf">the link</a> is in the same origin.
+<a id="dl" href="data:application/octet-stream,Hello" download="foo.pdf">the link</a> is a data URL.
<p>
The suggested filename at the top should be foo.pdf.
<script>
« no previous file with comments | « no previous file | LayoutTests/http/tests/security/anchor-download-allow-data-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698