Closed Bug 1741652 Opened 4 years ago Closed 4 years ago

Expose `commands` to all protocol.js fronts

Categories

(DevTools :: Framework, enhancement)

enhancement

Tracking

(firefox96 fixed)

RESOLVED FIXED
96 Branch
Tracking Status
firefox96 --- fixed

People

(Reporter: ochameau, Assigned: ochameau)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

For now we exposed resourceCommand to all target fronts,
but we often get cases where it would be helpful to call some random commands methods from some random fronts.

So it would be helpful to expose commands to all protocol.js front. In a first step, we could expose it to all target fronts which should be easily accessible to all other fronts.

This help any front to interact with commands, which is frequently useful.
In the long run, all fronts should be slowly converted to become commands.

Pushed by apoirot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/090db6e43215 [devtools] Expose `commands` to all protocol.js fronts. r=nchevobbe
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 96 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: