aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/web_authentication_api/index.html
diff options
context:
space:
mode:
authorYujiSoftware <yuji.software+github@gmail.com>2022-03-02 20:34:14 +0900
committerIrvin <irvinfly@gmail.com>2022-03-04 01:03:17 +0800
commit0c13ec128150b8f5097a4649c6da653cac6e3c30 (patch)
treed5dab8a56ae25f2bf69e250327b8bb45e7fb9923 /files/zh-cn/web/api/web_authentication_api/index.html
parent9a110dee28ae2ef12ee014b98fda6bae6ee48edb (diff)
downloadtranslated-content-0c13ec128150b8f5097a4649c6da653cac6e3c30.tar.gz
translated-content-0c13ec128150b8f5097a4649c6da653cac6e3c30.tar.bz2
translated-content-0c13ec128150b8f5097a4649c6da653cac6e3c30.zip
Migrate to multiple Compat macro (zh-cn)
Diffstat (limited to 'files/zh-cn/web/api/web_authentication_api/index.html')
-rw-r--r--files/zh-cn/web/api/web_authentication_api/index.html76
1 files changed, 28 insertions, 48 deletions
diff --git a/files/zh-cn/web/api/web_authentication_api/index.html b/files/zh-cn/web/api/web_authentication_api/index.html
index 24193e8f1d..43c4e98b24 100644
--- a/files/zh-cn/web/api/web_authentication_api/index.html
+++ b/files/zh-cn/web/api/web_authentication_api/index.html
@@ -198,57 +198,37 @@ navigator.credentials.create(createCredentialDefaultArgs)
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<div>{{ CompatibilityTable() }}</div>
+<h3>Credential</h3>
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(65)}}</td>
- <td>{{CompatGeckoDesktop(60)}}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Credential")}}
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+<h3>CredentialsContainer</h3>
+
+{{Compat("api.CredentialsContainer")}}
+
+<h3>PublicKeyCredential</h3>
+
+{{Compat("api.PublicKeyCredential")}}
+
+<h3>AuthenticatorResponse</h3>
+
+{{Compat("api.AuthenticatorResponse")}}
+
+<h3>AuthenticatorAttestationResponse</h3>
+
+{{Compat("api.AuthenticatorAttestationResponse")}}
+
+<h3>AuthenticatorAssertionResponse</h3>
+
+{{Compat("api.AuthenticatorAssertionResponse")}}
+
+<h3>PublicKeyCredentialCreationOptions</h3>
+
+{{Compat("api.PublicKeyCredentialCreationOptions")}}
+
+<h3>PublicKeyCredentialRequestOptions</h3>
-<p>[1] Web authentication has been restricted to active documents ({{bug(1409202)}}).</p>
+{{Compat("api.PublicKeyCredentialRequestOptions")}}
<h2 id="See_also">See also</h2>