Different request initiator for Worker in browser vs WebView

Let’s say I have a very simple project:

  • index.html loads main.js
  • main.js creates a Web Worker using new Worker("worker.js")

When I run this project in a browser (using npx cap serve ) and look at the network requests in the Chrome DevTools, it shows (index) as the initiator of the request to worker.js . When I run it in a WebView on Android, however, the initiator of the same request is Other . Can anyone explain where this difference comes from?

(I ran into this while trying to fix an issue in lichobile which is caused by Bromite blocking a WebSocket. I believe it is blocked because of the unknown originator of the request to the Worker script.)