Skip to content
PurpleTapePublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

wxt-worker-crash-repro

Minimal repro: new Worker() with a dev-server (http://localhost) URL crashes the whole Chrome browser process.

Run

npm install
npm run dev

Then open the side panel (click the extension action).

What happens

  • background.js logs a chrome-extension://.../assets/worker-*.js URL — bundled, fine.
  • sidepanel/main.js logs a http://localhost:3000/...worker.js URL and calls new Worker(workerUrl) → browser process crashes.

Same ?worker&url import, different URL: background is bundled, sidepanel is served by the Vite dev server.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages