Closed Bug 1770415 Opened 2 years ago Closed 2 years ago

No SW thread in devtools>debugger

Categories

(DevTools :: Debugger, defect, P3)

defect

Tracking

(firefox105 fixed)

RESOLVED FIXED
105 Branch
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.

Component: Firefox Source Docs: Content → General
Product: Developer Infrastructure → DevTools

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.

Component: General → Debugger

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.

Flags: needinfo?(engcolson)

Outdated information and screenshots about sw debugging from the application panel.

Assignee: nobody → jdescottes
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true

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.

Flags: needinfo?(nchevobbe)
Flags: needinfo?(jdescottes)

Forgot to land the patch!

Flags: needinfo?(nchevobbe)
Flags: needinfo?(jdescottes)
Flags: needinfo?(engcolson)
Pushed by jdescottes@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/05abc6684909
[devtools] Update documentation about sw debugging r=devtools-reviewers,nchevobbe
Severity: -- → S3
Priority: -- → P3
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 105 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: