aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/service_worker_api
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/service_worker_api
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/service_worker_api')
-rw-r--r--files/zh-cn/web/api/service_worker_api/index.html112
1 files changed, 0 insertions, 112 deletions
diff --git a/files/zh-cn/web/api/service_worker_api/index.html b/files/zh-cn/web/api/service_worker_api/index.html
index f8d6c966a9..780ff8e5cd 100644
--- a/files/zh-cn/web/api/service_worker_api/index.html
+++ b/files/zh-cn/web/api/service_worker_api/index.html
@@ -161,119 +161,7 @@ translation_of: Web/API/Service_Worker_API
</tbody>
</table>
-<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<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>install/activate events</td>
- <td>{{ CompatChrome(40.0) }}</td>
- <td>{{ CompatGeckoDesktop("44.0") }}<sup>[1]</sup></td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- <tr>
- <td>fetch event/request/<br>
- <code>respondWith()</code></td>
- <td>{{CompatChrome(40.0)}}</td>
- <td>{{ CompatGeckoDesktop("44.0") }}<sup>[1]</sup></td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- <tr>
- <td>caches/cache</td>
- <td>
- <p class="p1">{{CompatChrome(42.0)}}</p>
- </td>
- <td>{{ CompatGeckoDesktop("39.0") }}<sup>[1]</sup></td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</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>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td></td>
- <td>{{CompatChrome(40.0)}}</td>
- <td>{{ CompatGeckoMobile("44.0") }}</td>
- <td>{{ CompatVersionUnknown }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- <tr>
- <td>install/activate events</td>
- <td>{{ CompatNo() }}</td>
- <td>{{CompatChrome(40.0)}}</td>
- <td>{{ CompatGeckoMobile("44.0") }}</td>
- <td>{{ CompatVersionUnknown }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- <tr>
- <td>fetch event/request/<br>
- <code>respondWith()</code></td>
- <td>{{ CompatNo() }}</td>
- <td>{{CompatChrome(40.0)}}</td>
- <td>{{ CompatGeckoMobile("44.0") }}</td>
- <td>{{ CompatVersionUnknown }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- <tr>
- <td>caches/cache</td>
- <td>{{ CompatNo() }}</td>
- <td>{{CompatChrome(40.0)}}</td>
- <td>{{ CompatGeckoMobile("39.0") }}</td>
- <td>{{ CompatVersionUnknown }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Service workers (and <a href="/zh-CN/docs/Web/API/Push_API">Push</a>) have been disabled in the <a href="https://www.mozilla.org/en-US/firefox/organizations/">Firefox 45 Extended Support Release</a> (ESR.)</p>
<h2 id="参见">参见</h2>