PushManager.supportedContentEncodings

Baseline 2023
Newly available

Since March 2023, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.

实验性: 这是一项实验性技术
在将其用于生产之前,请仔细检查浏览器兼容性表格

PushManager 的只读静态方法 supportedContentEncodings 返回一组支持内容编码,可以用在加密信息中发送的消息。

一个字符串数组。

规范

Specification
Push API
# dom-pushmanager-supportedcontentencodings

浏览器兼容性

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
supportedContentEncodings static property

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
No support
No support
See implementation notes.