From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- .../supportedcontentencodings/index.html | 43 ++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 files/zh-cn/web/api/pushmanager/supportedcontentencodings/index.html (limited to 'files/zh-cn/web/api/pushmanager/supportedcontentencodings') diff --git a/files/zh-cn/web/api/pushmanager/supportedcontentencodings/index.html b/files/zh-cn/web/api/pushmanager/supportedcontentencodings/index.html new file mode 100644 index 0000000000..5b8540dd96 --- /dev/null +++ b/files/zh-cn/web/api/pushmanager/supportedcontentencodings/index.html @@ -0,0 +1,43 @@ +--- +title: PushManager.supportedContentEncodings +slug: Web/API/PushManager/supportedContentEncodings +translation_of: Web/API/PushManager/supportedContentEncodings +--- +

{{SeeCompatTable}}{{APIRef("Push API")}}

+ +

{{domxref("PushManager")}}的只读方法 supportedContentEncodings 返回一组支持内容编码,可以用在加密信息中发送的消息。

+ +

语法

+ +
var encodings[] = PushManager.supportedContentEncodings
+ +

+ +

一个字符串数组

+ +

说明

+ + + + + + + + + + + + + + +
说明状态注释
{{SpecName('Push API','#dom-pushmanager-supportedcontentencodings','supportedContentEncodings')}}{{Spec2('Push API')}}最初的定义
+ +

支持的浏览器

+ +
+
+ + +

{{Compat("api.PushManager.supportedContentEncodings")}}

+
+
-- cgit v1.2.3-54-g00ecf