Chromium Code Reviews

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

Issue 7521007: Merge 91797 - Add support for download='filename' attribute in anchors. (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/835/
Patch Set: Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script type='text/javascript'> 4 <script type='text/javascript'>
5 if (window.layoutTestController) { 5 if (window.layoutTestController) {
6 layoutTestController.dumpAsText(); 6 layoutTestController.dumpAsText();
7 layoutTestController.waitUntilDone(); 7 layoutTestController.waitUntilDone();
8 } 8 }
9 </script> 9 </script>
10 </head> 10 </head>
(...skipping 19 matching lines...)
30 var link = document.getElementById("blob-url"); 30 var link = document.getElementById("blob-url");
31 link.href = window.webkitURL.createObjectURL(blob); 31 link.href = window.webkitURL.createObjectURL(blob);
32 link.setAttribute('download'); 32 link.setAttribute('download');
33 click(link); 33 click(link);
34 } 34 }
35 runTest(); 35 runTest();
36 </script> 36 </script>
37 </body> 37 </body>
38 </html> 38 </html>
39 39
OLDNEW

Powered by Google App Engine