Web Worker in cordova - is it supported
问题 I can't seem to get my cordova app to execute even a simple web worker, even though the same web worker works in the Chrome browser on the same device. (Android device, Google Pixel 3, running Android 9, latest patch level. The app was built in PhoneGap build with cli-8.0.0 ) Setup in the main thread: const worker = new Worker('/fake.worker.js'); worker.postMessage(1337); worker.addEventListener('message', event => console.log("[myWorker] received event from myWorker:", event)); And the /fake