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

Unified Diff: chrome/test/data/download-anchor-attrib.html

Issue 9762002: Disable downloads from "file:" or "data:" URLs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed breaking tests. Created 8 years, 9 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/download-anchor-attrib.html
diff --git a/chrome/test/data/download-anchor-attrib.html b/chrome/test/data/download-anchor-attrib.html
index 142679ef294dcd467264426deed7e1b77336c123..7faf4169a0f39d2d73bf23a37e0bf2f03e1a4cc9 100644
--- a/chrome/test/data/download-anchor-attrib.html
+++ b/chrome/test/data/download-anchor-attrib.html
@@ -1,7 +1,7 @@
<html>
<head><title>Download Test for &lt;a download&gt;</title></head>
<body>
-<a id='red-dot' href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==" download='a_red_dot.png'>Download Red Dot!</a>
+<a id='red-dot' href="anchor_download_test.png" download='a_red_dot.png'>Download Red Dot!</a>
<script>
window.setTimeout(function() {
var evt = document.createEvent("MouseEvent");

Powered by Google App Engine
This is Rietveld 408576698