Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
XMLHttpRequest leaves a tmp file for every request when responseType = 'blob' is set
<!DOCTYPE html>
<script type="text/javascript">
for(var i=0;i<10;i++) {
var xhr = new XMLHttpRequest();'GET', '', true);
xhr.responseType = 'blob'
xhr.onload = function(s){console.log(s)};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.