No SW thread in devtools>debugger
Categories
(DevTools :: Debugger, defect, P3)
Tracking
(firefox105 fixed)
Tracking | Status | |
---|---|---|
firefox105 | --- | fixed |
People
(Reporter: engcolson, Assigned: jdescottes)
Details
Attachments
(1 file)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:101.0) Gecko/20100101 Firefox/101.0
Steps to reproduce:
I open a localhost website with a registered service worker and open the devtools. I read the documentation https://firefox-source-docs.mozilla.org/devtools-user/application/service_workers/index.html#debug
Actual results:
No service worker logs in the console pane.
No service worker thread in the debugger pane.
The only way to access both is by going to about:debugging, then finding the service worker, click on inspect and get an url with an id (example: about:devtools-toolbox?id=836ca761-fce1-40c4-b34e-1e3188ddd34f&type=worker). But the ID change every time a hard refresh (shift+refresh) is made.
Expected results:
Access service worker logs in the console pane of the devtools.
Access service worker thread in the debugger pane of the devtools.
Updated•2 years ago
|
Comment 1•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'DevTools::Debugger' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Assignee | ||
Comment 2•2 years ago
|
||
Can you go to about:preferences#experimental and enable "Developer Tools: Service Worker debugging" and test again?
If it works then we will just update the documentation accordingly.
Assignee | ||
Comment 3•2 years ago
|
||
Outdated information and screenshots about sw debugging from the application panel.
Updated•2 years ago
|
Comment 4•2 years ago
|
||
There's a r+ patch which didn't land and no activity in this bug for 2 weeks.
:jdescottes, could you have a look please?
If you still have some work to do, you can add an action "Plan Changes" in Phabricator.
For more information, please visit auto_nag documentation.
Assignee | ||
Comment 5•2 years ago
|
||
Forgot to land the patch!
Pushed by jdescottes@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/05abc6684909 [devtools] Update documentation about sw debugging r=devtools-reviewers,nchevobbe
Assignee | ||
Updated•2 years ago
|
Comment 7•2 years ago
|
||
bugherder |
Description
•