Skip to content
This repository has been archived by the owner on Jul 30, 2018. It is now read-only.

Commit

Permalink
fix up blob has check
Browse files Browse the repository at this point in the history
  • Loading branch information
agubler committed Apr 12, 2017
1 parent 8baeca2 commit f783c66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/has.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ add('blob', function () {
return false;
}

const request = new XMLHttpRequest();
request.open('GET', '/foo', true);
const request = new global.XMLHttpRequest();
request.open('GET', 'http://google.com', true);
request.responseType = 'blob';
request.abort();
return request.responseType === 'blob';
Expand Down

0 comments on commit f783c66

Please sign in to comment.