Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

importScripts("/resources/testharness.js");
promise_test(async () => {
const data = "TEST";
const blob = new Blob([data], {type: "text/plain"});
assert_equals(await blob.text(), data);
}, 'Create Blob in Worker');
done();