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

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

Issue 7484063: Add a browser-test for downloading an anchor with a suggested name for download. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/download/download_browsertest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <html>
2 <head><title>Download Test for &lt;a download&gt;</title></head>
3 <body>
4 <a id='red-dot' href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYA AACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg== " download='a_red_dot.png'>Download Red Dot!</a>
5 <script>
6 window.setTimeout(function() {
7 var evt = document.createEvent("MouseEvent");
8 evt.initMouseEvent('click', true, true);
9 document.getElementById('red-dot').dispatchEvent(evt);
10 }, 0);
11 </script>
12 </body>
13 </html>
OLDNEW
« no previous file with comments | « chrome/browser/download/download_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698