Do not announce robot account token before account ID is available
[chromium-blink-merge.git] / chrome / test / data / downloads / download-dangerous-blob.html
blob07e4402c4bb98620a0c50186b62225652a162d0f
1 <html>
2 <body>
3 <a download="foo.exe" href="">link</a>
4 <script>
5 var blob = new Blob(['foo']);
6 document.querySelector('a[download]').href = URL.createObjectURL(blob);
8 url = window.location.href
9 document.querySelector('a[download]').download = url.substr(url.indexOf('=') + 1)
10 document.querySelector('a[download]').click()
11 </script>
12 </body>
13 </html>