Closed Bug 1637351 Opened 4 years ago Closed 4 years ago

GVE needs to implement onKill

Categories

(GeckoView :: GeckoViewExample, task, P2)

Unspecified
All

Tracking

(firefox83 fixed)

RESOLVED FIXED
83 Branch
Tracking Status
firefox83 --- fixed

People

(Reporter: bugzilla, Assigned: bugzilla)

References

Details

(Whiteboard: [geckoview:m82] [geckoview:m83])

Attachments

(1 file)

Otherwise content process termination won't be picked up and handled.

As a reference application, we should be smart about this wrt whether the active session was killed, or a background session.

Depends on: 1651705
Whiteboard: [geckoview:m82]
Whiteboard: [geckoview:m82] → [geckoview:m82] [geckoview:m83]

Since GVE is supposed to be an exemplar for using GV the Right Way (TM), we
add an onKill handler that checks whether the killed session is current, and
does not restore the session if it is in the background.

When switching sessions, we add a check to see whether the session was closed,
and reopen it if so.

Pushed by aklotz@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b195f27085be
Add onKill handler to GVE; r=geckoview-reviewers,agi
Flags: needinfo?(aklotz)
Pushed by aklotz@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/eaebac57f413
Add onKill handler to GVE; r=geckoview-reviewers,agi
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 83 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: