Chromium Code Reviews

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

Issue 98543009: Make arguments to Element methods non-optional (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix failing tests Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
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 3a34926c2e59354b45cee14989855aebfa7d8487..dd561e796188f0f41a77d0a079fdc7083e274003 100644
--- a/LayoutTests/fast/dom/HTMLAnchorElement/anchor-nodownload-set.html
+++ b/LayoutTests/fast/dom/HTMLAnchorElement/anchor-nodownload-set.html
@@ -28,7 +28,7 @@ function runTest()
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