Sign in
chromium
/
external
/
w3c
/
web-platform-tests
/
master
/
.
/
FileAPI
/
blob
/
Blob-in-worker.worker.js
blob: a0ca84551dd7cc3fd3a3bfb2850f414787bacac8 [
file
] [
log
] [
blame
]
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
();