| Index: chrome/test/data/download-anchor-attrib.html
|
| diff --git a/chrome/test/data/download-anchor-attrib.html b/chrome/test/data/download-anchor-attrib.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..142679ef294dcd467264426deed7e1b77336c123
|
| --- /dev/null
|
| +++ b/chrome/test/data/download-anchor-attrib.html
|
| @@ -0,0 +1,13 @@
|
| +<html>
|
| +<head><title>Download Test for <a download></title></head>
|
| +<body>
|
| +<a id='red-dot' href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==" download='a_red_dot.png'>Download Red Dot!</a>
|
| +<script>
|
| +window.setTimeout(function() {
|
| + var evt = document.createEvent("MouseEvent");
|
| + evt.initMouseEvent('click', true, true);
|
| + document.getElementById('red-dot').dispatchEvent(evt);
|
| +}, 0);
|
| +</script>
|
| +</body>
|
| +</html>
|
|
|