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

Unified Diff: LayoutTests/fast/dom/HTMLAnchorElement/anchor-nodownload-set.html

Issue 120373003: Revert of Make arguments to Element methods non-optional (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years 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: LayoutTests/fast/dom/HTMLAnchorElement/anchor-nodownload-set.html
diff --git a/LayoutTests/fast/dom/HTMLAnchorElement/anchor-nodownload-set.html b/LayoutTests/fast/dom/HTMLAnchorElement/anchor-nodownload-set.html
index dd561e796188f0f41a77d0a079fdc7083e274003..3a34926c2e59354b45cee14989855aebfa7d8487 100644
--- a/LayoutTests/fast/dom/HTMLAnchorElement/anchor-nodownload-set.html
+++ b/LayoutTests/fast/dom/HTMLAnchorElement/anchor-nodownload-set.html
@@ -28,7 +28,7 @@
var blob = new Blob([string], {type: "text/html"});
var link = document.getElementById("blob-url");
link.href = window.URL.createObjectURL(blob);
- link.setAttribute('download', '');
+ link.setAttribute('download');
click(link);
}
runTest();

Powered by Google App Engine
This is Rietveld 408576698