Closed Bug 1175550 Opened 9 years ago Closed 5 years ago

Add support for shared and service workers to the worker debugger.

Categories

(DevTools :: Debugger, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1536902

People

(Reporter: ejpbruel, Unassigned)

References

(Blocks 2 open bugs)

Details

Attachments

(3 files)

Once bug 1171967 lands, we should have a prototype to debug dedicated workers for a tab. However, this prototype does not yet include support for shared workers. This bug will be about adding that functionality.
Summary: Add support for shared workers to the worker debugger. → Add support for shared and service workers to the worker debugger.
First some ductwork. I'm planning to add some new tests, so I'm going to rename browser_dbg_listworker.js in order to fit those in.
Attachment #8627639 - Flags: review?(jlong)
Extend the debugger protocol with a RootActor.listWorkers request. Unlike TabActor.listWorkers, which lists all dedicated workers associated with the corresponding tab, RootActor.listWorkers lists all workers that are not associated with any particular tab, including shared and service workers.
Attachment #8627842 - Flags: review?(jlong)
This patch extends the workers panel in the debugger UI with a tab for shared workers. I've tried to reuse as much of the existing worker code as I could.
Attachment #8627846 - Flags: review?(jlong)
Attachment #8627639 - Flags: review?(jlong)
Attachment #8627842 - Flags: review?(jlong)
Attachment #8627846 - Flags: review?(jlong)
Status: NEW → ASSIGNED
Blocks: sw-devtools
Depends on: 1178726, 1178721
Blocks: 1214248
Marking this as P2. We can already debug service workers via about:debugging, and shared workers are arguably less important. That said, being able to debug the currently active service worker for a page from a toolbox will probably convenient.
Priority: -- → P2
(In reply to Eddy Bruel [:ejpbruel] from comment #4)
> Marking this as P2. We can already debug service workers via
> about:debugging, and shared workers are arguably less important. That said,
> being able to debug the currently active service worker for a page from a
> toolbox will probably convenient.

Agreed.

Also, I'm unblocking the meta-bug for Push DevTools for Dev. Edition 47, since this is more of a follow-up / general improvement.
No longer blocks: 1214248
Assignee: ejpbruel → nobody
Status: ASSIGNED → NEW
Product: Firefox → DevTools

Continued in bug 1536902, as we have a new worker debugging panel in Debugger.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: