Bug 263340
Summary: | Web Inspector: Can't debug Web Extension Service Workers | ||
---|---|---|---|
Product: | WebKit | Reporter: | Timothy Hatcher <timothy> |
Component: | Web Inspector | Assignee: | Qianlang Chen <qianlangchen> |
Status: | NEW | ||
Severity: | Normal | CC: | inspector-bugzilla-changes, qianlangchen, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | Safari 17 | ||
Hardware: | All | ||
OS: | All |
Timothy Hatcher
When pausing in the debugger at a breakpoint in a service worker, I can't inspect any local variables in scope, nor can I resume the script with the play button after it is paused. The service worker is frozen and dead at that point and can't be continued.
This is affecting web extensions at least, which are slightly different from normal service workers in that they run on the main thread.
An example extension can be found on bug 263170.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Timothy Hatcher
I am also unable to execute anything in the console.
Radar WebKit Bug Importer
<rdar://problem/117168726>