I'm getting the following error
Uncaught TypeError: Failed to execute 'postMessage' on 'DedicatedWorkerGlobalScope': The provided value cannot be converted to a sequence.
on this line in a webworker:
postMessage("hi", "http://localhost:8000");
(in fact, that is the entirety of the webworker).
The base file contains:
var myWorker = new Worker("test.js");
myWorker.onmessage = function (e) {
console.log('Message received from worker');
};
I'm not sure which value it's complaining about and I'm not sure what it means for it to be converted to a "sequence".