This is an experimental technologyCheck the Browser compatibility table carefully before using this in production.
The expirationTime
read-only property of the PushSubscription
interface returns a DOMHighResTimeStamp
of the subscription expiration time associated with the push subscription, if there is one, or null otherwise.
Syntax
var expirationTime = pushSubscription.expirationTime
Value
Specifications
Specification | Status | Comment |
Push APIThe definition of 'expirationTime' in that specification. | Working Draft | Initial definition. |
Browser Compatibility
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Update compatibility data on GitHub
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
expirationTime
|
Chrome
Full support 60 |
Edge
Full support 16 |
Firefox
No support No |
IE
No support No |
Opera
Full support 47 |
Safari
No support No |
WebView Android
No support No |
Chrome Android
Full support 60 |
Firefox Android
No support No |
Opera Android
Full support 44 |
Safari iOS
No support No |
Samsung Internet Android
Full support 8.0 |
Legend
- Full support
- Full support
- No support
- No support
PushSubscription.expirationTime by Mozilla Contributors is licensed under CC-BY-SA 2.5.