fregante / fregante/my-recurrent-errors
MV3 background worker: importScripts: ReferenceError: window is not defined
Open
- Dominant language
- No language data
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
The error points to `importScripts` without further ability to reach the error, even via "Pause on uncaught exceptions"
## Solution
Load the file directly, if possible:
```diff
"background": {
- "service_worker": "background.worker.js"
- "service_worker": "background.js"
},
```
This lets the debugger show the right line.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.