aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/extendableevent
diff options
context:
space:
mode:
authorYujiSoftware <yuji.software+github@gmail.com>2022-03-02 20:22:51 +0900
committerIrvin <irvinfly@gmail.com>2022-03-04 01:03:17 +0800
commit9a110dee28ae2ef12ee014b98fda6bae6ee48edb (patch)
tree6525763f4313d7d8f42aefa699765f61ee1c63df /files/zh-cn/web/api/extendableevent
parenteeddb651b6e8deb8ecabc2bc5bc28c8ead25cca5 (diff)
downloadtranslated-content-9a110dee28ae2ef12ee014b98fda6bae6ee48edb.tar.gz
translated-content-9a110dee28ae2ef12ee014b98fda6bae6ee48edb.tar.bz2
translated-content-9a110dee28ae2ef12ee014b98fda6bae6ee48edb.zip
Migrate to Compat macro (zh-cn)
Diffstat (limited to 'files/zh-cn/web/api/extendableevent')
-rw-r--r--files/zh-cn/web/api/extendableevent/index.html71
1 files changed, 1 insertions, 70 deletions
diff --git a/files/zh-cn/web/api/extendableevent/index.html b/files/zh-cn/web/api/extendableevent/index.html
index 4f1adf6b7f..078b495540 100644
--- a/files/zh-cn/web/api/extendableevent/index.html
+++ b/files/zh-cn/web/api/extendableevent/index.html
@@ -115,76 +115,7 @@ self.addEventListener('install', function(event) {
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<div>{{CompatibilityTable}}</div>
-
-<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(40.0)}}</td>
- <td>{{ CompatGeckoDesktop("44.0") }}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>24</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>async <code>waitUntil()</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{ CompatGeckoDesktop("53.0") }}<sup>[2]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoMobile("44.0") }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(40.0)}}</td>
- </tr>
- <tr>
- <td>async <code>waitUntil()</code></td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoMobile("53.0") }}<sup>[2]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Service workers (and <a href="/en-US/docs/Web/API/Push_API">Push</a>) have been disabled in the <a href="https://www.mozilla.org/en-US/firefox/organizations/">Firefox 45 &amp; 52 Extended Support Releases</a> (ESR.)</p>
-
-<p>[2] {{domxref("ExtendableEvent.waitUntil", "ExtendableEvent.waitUntil()")}} can now be called asynchronously (see {{bug(1263304)}}).</p>
+{{Compat("api.ExtendableEvent")}}
<h2 id="See_also">See also</h2>