Open Bug 1655899 Opened 4 years ago

Submit a final sync ping on logout

Categories

(Firefox :: Sync, enhancement)

enhancement

Tracking

()

People

(Reporter: rfkelly, Unassigned)

Details

We have some logic in the sync ping to force submission of the ping when we notice an "idchange" (aka a user change or a change in sync storage node type), but it doesn't look like this is hooked up to submit when the user logs out. Thus we might have information about some number of completed syncs queued up in the sync ping, but never submit it because the user has since signed out.

Let's add some logic to the existing onAccountLogout handler for the sync ping, to flush any pending telemetry on logout.

You need to log in before you can comment on or make changes to this bug.