This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The supportedContentEncodings
read-only property of the PushManager
interface returns an array of supported content codings that can be used to encrypt the payload of a push message.
Syntax
var encodings[] = PushManager.supportedContentEncodings
Value
An array of strings.
Specifications
Specification | Status | Comment |
---|---|---|
Push API The definition of 'supportedContentEncodings' 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.
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
supportedContentEncodings | Chrome Full support 60 | Edge
Full support
16
| Firefox
Full support
44
| IE No support No | Opera Full support 47 | Safari No support No | WebView Android No support No | Chrome Android Full support 60 | Firefox Android
Full support
48
| Opera Android Full support 44 | Safari iOS No support No | Samsung Internet Android Full support 4.0 |
Legend
- Full support
- Full support
- No support
- No support
- Experimental. Expect behavior to change in the future.
- Experimental. Expect behavior to change in the future.
- See implementation notes.
- See implementation notes.
- User must explicitly enable this feature.
- User must explicitly enable this feature.