Closed Bug 1498280 Opened 6 years ago Closed 6 years ago

Expose RootClient.getMainProcess to fetch the target actor for the main process.

Categories

(DevTools :: Framework, enhancement, P2)

enhancement

Tracking

(firefox65 fixed)

RESOLVED FIXED
Firefox 65
Tracking Status
firefox65 --- fixed

People

(Reporter: ochameau, Assigned: ochameau)

References

Details

Attachments

(1 file, 1 obsolete file)

For now, you have to do RootClient.getProcess(0) in order to retrieve the main proccess's target actor.
This isn't really obvious and it would be clearer if we were exposing a dedicated method for this usecase, to clearly differenciate it from debugger a content process.
MozReview-Commit-ID: E9OiwqDwNk7
Assignee: nobody → poirot.alex
Attachment #9024368 - Attachment is obsolete: true
Pushed by apoirot@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8ff1bd038b17
Introduce RootClient.getMainProcess to fetch ParentProcessTargetActor. r=yulia
https://hg.mozilla.org/mozilla-central/rev/8ff1bd038b17
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 65
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: