Debian Codegraph @

testing/web-platform/tests/streams/transferable/resources/receiving-worker.js

raw
1 'use strict';
2 importScripts('/resources/testharness.js', 'helpers.js');
3
4 const promise = testMessageEvent(self);
5 promise
6 .then(() => postMessage('OK'))
7 .catch(err => postMessage(`BAD: ${err}`));