summaryrefslogtreecommitdiff
path: root/dom/workers/test/worker_bug1278777.js
blob: c056d02541b1b154de00892daed0dc3fb08e43fb (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();