diff options
Diffstat (limited to 'dom/file/tests/worker_bug1507893.js')
-rw-r--r-- | dom/file/tests/worker_bug1507893.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dom/file/tests/worker_bug1507893.js b/dom/file/tests/worker_bug1507893.js new file mode 100644 index 0000000000..06fce2b2ef --- /dev/null +++ b/dom/file/tests/worker_bug1507893.js @@ -0,0 +1,5 @@ +onmessage = e => { + fetch(e.data) + .then(r => r.blob()) + .then(blob => postMessage(blob)); +}; |