blob: f596ee978b0c088f3a297c7aff2a082c8d404c82 (
plain)
1
2
3
4
5
6
7
8
9
|
var xhr = new XMLHttpRequest();
xhr.responseType = "blob";
xhr.open("GET", "worker_bug1278777.js");
xhr.onload = function () {
postMessage(xhr.response instanceof Blob);
};
xhr.send();
|