The injected Worker seam for decodeInWorker (§76).
The DOM's Worker satisfies it (postMessage / onmessage / optional
terminate). Tests inject a fake that echoes or transforms an
ArrayBuffer on the same turn or the next microtask — no real worker
thread is required, and this package never names Worker.
The injected Worker seam for
decodeInWorker(§76).The DOM's
Workersatisfies it (postMessage/onmessage/ optionalterminate). Tests inject a fake that echoes or transforms anArrayBufferon the same turn or the next microtask — no real worker thread is required, and this package never namesWorker.