blob: 680c414238563a0387d5ea05e90df8d8bb9c0d21 (
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();
|