Open Bug 1512616 Opened 5 years ago Updated 2 years ago

[remote-dbg-next] Add fowarding function of "getActor(id)" to clientWrapper

Categories

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

enhancement

Tracking

(Not tracked)

People

(Reporter: daisuke, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: remote-debugging-technical-debt)

This is followup of bug 1506513.
Now, when we get the actor front from debugger client, we need to call `runtime.runtimeDetails.clientWrapper.client.getActor(id)`[1].
But we could add forwarding function of `getActor()` to clientWrapper likewise to `listTab`, `close` and so on[2]. It would be useful for readability and making test.

[1] https://searchfox.org/mozilla-central/source/devtools/client/aboutdebugging-new/src/actions/debug-targets.js#69
[2] https://searchfox.org/mozilla-central/source/devtools/client/aboutdebugging-new/src/modules/client-wrapper.js#95-97
Priority: -- → P3

filter on: remote-debugging-m2-reserve-cleanup

Whiteboard: remote-debugging-technical-debt
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.