Closed Bug 1600663 Opened 6 years ago Closed 6 years ago

ContentParent::MarkAsDead should alert Android to unbind content process service

Categories

(GeckoView Graveyard :: Sandboxing, defect, P1)

Unspecified
All
defect

Tracking

(firefox74 fixed)

RESOLVED FIXED
mozilla74
Tracking Status
firefox74 --- fixed

People

(Reporter: bugzilla, Assigned: bugzilla)

References

Details

(Whiteboard: [geckoview:m1912][geckoview:m74])

Attachments

(1 file)

ContentParent::MarkAsDead is used by Gecko's content process management to remove a defunct ContentParent object from the list of running content processes.

Note that the actual content process that is associated with this object might still be running, albeit it should be shutting down. The point is that, as far as Gecko is concerned, the process is no a longer viable candidate for running content. From GeckoView's standpoint, we should also be removing that process from candidate content processes by unbinding its service.

(This might also explain the need for the dom.ipc.keepProcessesAlive.web pref that Snorp was discussing with me last week. If we fix this, we can try getting rid of that.)

Whiteboard: [geckoview:m1912]
Assignee: nobody → aklotz
Status: NEW → ASSIGNED

We need to propagate ContentParent::MarkAsDead up to the Android java layer
so that it has a view of the state of content processes that is consistent
with the view of Gecko's content process management.

Depends on D57840

Whiteboard: [geckoview:m1912] → [geckoview:m1912][geckoview:m74]
Pushed by aklotz@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/bf89cb3c0142 Hook GV process management into ContentParent; r=geckoview-reviewers,snorp
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla74

Moving content process management bugs to the new GeckoView::Sandboxing component.

Component: General → Sandboxing
Product: GeckoView → GeckoView Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: