Closed
Bug 1222428
Opened 10 years ago
Closed 3 years ago
cleaning dom.push.userAgentId does not expire the subscription in push server
Categories
(Cloud Services Graveyard :: Server: WebPush, defect)
Cloud Services Graveyard
Server: WebPush
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: zalun, Unassigned)
Details
Server is still responding with 200 to push notification request after dom.push.userAgentId is set to "". pushsubscriptionchange is fired.
Comment 1•10 years ago
|
||
Unfortunately, this is working as intended: there's no way for Firefox to tell the server that the old ID is no longer valid; only the other way around. (The old subscriptions will be garbage-collected eventually, but I think that kicks in after about a month).
I wonder if it's worthwhile adding this to the protocol, though. If a user resets the `dom.push.userAgentID` pref, the server will still accept (and store!) messages for old subscriptions, for a device that will never get them. At the very least, we should restrict the number of outstanding messages that we store on the server. I know we talked about this, but I don't know if we do it already.
Flagging Ben for comment.
Flags: needinfo?(bbangert)
Comment 2•10 years ago
|
||
Michelle, I think you asked about this bug in this morning's meeting. Android doesn't use `dom.push.userAgentID` (it uses Google Cloud Messaging, which issues its own IDs). It's expected that the value of this pref will be empty.
Flags: needinfo?(mfunches)
Comment 3•10 years ago
|
||
Acknowledge: thanks for explaining. We will test for Desktop only.
Flags: needinfo?(mfunches)
Comment 4•10 years ago
|
||
We have a ticket that will cause a reset of the userAgentID if 'too_many_messages_are_stored'. This will prevent excessive notifications from piling up, and start returning 410's to the push notification request.
Flags: needinfo?(bbangert)
Comment 5•3 years ago
|
||
I believe that this has been resolved. Closing
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Updated•3 years ago
|
Product: Cloud Services → Cloud Services Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•