summaryrefslogtreecommitdiffstats
path: root/dom/file/tests/worker_bug1507893.js
blob: 06fce2b2ef46ca5f39b261dc70271843cc6be30c (plain)
1
2
3
4
5
onmessage = e => {
  fetch(e.data)
    .then(r => r.blob())
    .then(blob => postMessage(blob));
};