Closed Bug 1497431 Opened 6 years ago Closed 3 years ago

Implement `PushSubscription::expirationTime`

Categories

(Core :: DOM: Push Subscriptions, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
96 Branch
Tracking Status
firefox96 --- fixed

People

(Reporter: lina, Assigned: marcos)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

http://w3c.github.io/push-api/#pushsubscription-interface

It's a `DOMTimeStamp?`, so we can just report it as `null` for now. I don't think we have fixed expiration times for subscriptions on the server; it depends on how frequently Firefox connects, and whether the router record still exists.
Priority: -- → P3

Adds expirationTime to PushManager, which uses EpochTimeStamp. See https://github.com/w3c/push-api/pull/338

Assignee: nobody → marcos
Status: NEW → ASSIGNED
Pushed by marcos@marcosc.com:
https://hg.mozilla.org/integration/autoland/rev/cf7cc00c8be4
Implement PushManager.prototype.expirationTime + toJSON() r=mt,peterv

On it! thanks.

Flags: needinfo?(marcos)
Pushed by marcos@marcosc.com:
https://hg.mozilla.org/integration/autoland/rev/acd50e43590e
Implement PushManager.prototype.expirationTime + toJSON() r=mt,peterv
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 96 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: