mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 16:55:40 +00:00
10 lines
187 B
JavaScript
10 lines
187 B
JavaScript
var xhr = new XMLHttpRequest();
|
|
xhr.responseType = 'blob';
|
|
xhr.open('GET', 'worker_bug1278777.js');
|
|
|
|
xhr.onload = function() {
|
|
postMessage(xhr.response instanceof Blob);
|
|
}
|
|
|
|
xhr.send();
|