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

Side by Side Diff: LayoutTests/fast/dom/HTMLAnchorElement/anchor-download.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. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/dom/HTMLAnchorElement/anchor-download-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 17 matching lines...) Expand all
28 bb.append("<!doctype html><html><head><title>Title</title><script>if (window .layoutTestController) layoutTestController.dumpAsText(); </" + "script></head>< body>PASS</body><script>if (window.layoutTestController) layoutTestController.no tifyDone();</scr" + "ipt></html>"); 28 bb.append("<!doctype html><html><head><title>Title</title><script>if (window .layoutTestController) layoutTestController.dumpAsText(); </" + "script></head>< body>PASS</body><script>if (window.layoutTestController) layoutTestController.no tifyDone();</scr" + "ipt></html>");
29 var blob = bb.getBlob("text/html", "inline"); 29 var blob = bb.getBlob("text/html", "inline");
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 click(link); 32 click(link);
33 } 33 }
34 runTest(); 34 runTest();
35 </script> 35 </script>
36 </body> 36 </body>
37 </html> 37 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dom/HTMLAnchorElement/anchor-download-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698