PushManager.supportedContentEncodings

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

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support60

161

17

442 No47 No
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support No60 Yes48347 No4.0

1. From version 16: this feature is behind the Enable service workers preference.

2. Service workers (and Push) have been disabled in the Firefox 45 and 52 Extended Support Releases (ESR.)

3. Push enabled by default.

Document Tags and Contributors

 Contributors to this page: fscholz, jpmedley
 Last updated by: fscholz,