Closed Bug 1539328 Opened 5 years ago Closed 5 years ago

[remote-dbg-next] Inspect workers without re-using debugger client in about:devtools-toolbox

Categories

(DevTools :: about:debugging, enhancement, P1)

enhancement

Tracking

(firefox68 fixed)

RESOLVED FIXED
Firefox 68
Tracking Status
firefox68 --- fixed

People

(Reporter: daisuke, Assigned: daisuke)

References

(Blocks 1 open bug)

Details

(Whiteboard: [remote-debugging-reserve])

Attachments

(3 files)

This is a followup bug 1505813.
For now, we are using cached actor to inspect workers. In that bug as well, to do same way in toolbox as well which opened in new tab, we re-use debugger client for this-firefox.
However, we better retrieve the worker actor without re-using debugger client.

To resolve this, it seems we need to introduce something unique id for the workers instead of actorID since the id depends on debugger client instances. Then create a function like client.mainRoot.getAddon, then use this.

Assignee: nobody → dakatsuka
Status: NEW → ASSIGNED
Priority: -- → P1
Summary: [remote-dbg-next] Inspect workers without re-using debugger client in about:debugging-toolbox → [remote-dbg-next] Inspect workers without re-using debugger client in about:devtools-toolbox
Whiteboard: [remote-debugging-reserve]
Pushed by dakatsuka@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ba17b00839b4
Introduce getWorker(id) to RootFront to avoid re-using client debugger. r=jdescottes
https://hg.mozilla.org/integration/autoland/rev/6bc5500525be
Introduce new unique id for normal worker actor. r=jdescottes,bhackett
https://hg.mozilla.org/integration/autoland/rev/634e0a2391cc
Introduce new unique id for service worker actor. r=jdescottes
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 68
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: