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

Unified Diff: chrome/test/data/downloads/download-dangerous-blob.html

Issue 121203002: Use window.URL instead of window.webkitURL. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: window.URL -> URL in user_images_grid.js Created 6 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: chrome/test/data/downloads/download-dangerous-blob.html
diff --git a/chrome/test/data/downloads/download-dangerous-blob.html b/chrome/test/data/downloads/download-dangerous-blob.html
index f320538ae149f6df82f01fbfb6326dde77986b0a..07e4402c4bb98620a0c50186b62225652a162d0f 100644
--- a/chrome/test/data/downloads/download-dangerous-blob.html
+++ b/chrome/test/data/downloads/download-dangerous-blob.html
@@ -3,7 +3,7 @@
<a download="foo.exe" href="">link</a>
<script>
var blob = new Blob(['foo']);
- document.querySelector('a[download]').href = webkitURL.createObjectURL(blob);
+ document.querySelector('a[download]').href = URL.createObjectURL(blob);
url = window.location.href
document.querySelector('a[download]').download = url.substr(url.indexOf('=') + 1)

Powered by Google App Engine
This is Rietveld 408576698