aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/api/serviceworkerglobalscope
diff options
context:
space:
mode:
authorYujiSoftware <yuji.software+github@gmail.com>2021-03-30 18:22:36 +0900
committerGitHub <noreply@github.com>2021-03-30 18:22:36 +0900
commit8e33c52f809796c68a683ad343f37ee4e7ce4616 (patch)
tree8173bf5eaf5c192eb2487efe37c7b74997800898 /files/ja/web/api/serviceworkerglobalscope
parent8ea157f6b6fbef9c60695918c6a6382677e5b5df (diff)
downloadtranslated-content-8e33c52f809796c68a683ad343f37ee4e7ce4616.tar.gz
translated-content-8e33c52f809796c68a683ad343f37ee4e7ce4616.tar.bz2
translated-content-8e33c52f809796c68a683ad343f37ee4e7ce4616.zip
Migrate CompatibilityTable to Compat macro (lang-ja) (#356)
* Migrate to Compat macro (ja/mozilla/add-ons/webextensions) * Migrate to Compat macro (ja/web/api)
Diffstat (limited to 'files/ja/web/api/serviceworkerglobalscope')
-rw-r--r--files/ja/web/api/serviceworkerglobalscope/clients/index.html54
-rw-r--r--files/ja/web/api/serviceworkerglobalscope/onactivate/index.html54
-rw-r--r--files/ja/web/api/serviceworkerglobalscope/oninstall/index.html54
-rw-r--r--files/ja/web/api/serviceworkerglobalscope/onnotificationclick/index.html54
-rw-r--r--files/ja/web/api/serviceworkerglobalscope/registration/index.html54
-rw-r--r--files/ja/web/api/serviceworkerglobalscope/skipwaiting/index.html54
6 files changed, 6 insertions, 318 deletions
diff --git a/files/ja/web/api/serviceworkerglobalscope/clients/index.html b/files/ja/web/api/serviceworkerglobalscope/clients/index.html
index 26b0fd7a92..d7de403604 100644
--- a/files/ja/web/api/serviceworkerglobalscope/clients/index.html
+++ b/files/ja/web/api/serviceworkerglobalscope/clients/index.html
@@ -44,59 +44,7 @@ translation_of: Web/API/ServiceWorkerGlobalScope/clients
<h2 id="ブラウザー実装状況">ブラウザー実装状況</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>機能</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>基本サポート</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatGeckoDesktop("44.0") }}<sup>[1]</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>機能</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>基本サポート</td>
- <td>{{CompatUnknown}}</td>
- <td>{{ CompatGeckoMobile("44.0") }}</td>
- <td>{{ CompatVersionUnknown }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Service worker(と <a href="/ja/docs/Web/API/Push_API">Push</a>)は <a href="https://www.mozilla.org/en-US/firefox/organizations/">Firefox 45 延長サポート版</a>(ESR)では使用できません。</p>
+<p>{{Compat("api.ServiceWorkerGlobalScope.clients")}}</p>
<h2 id="関連項目">関連項目</h2>
diff --git a/files/ja/web/api/serviceworkerglobalscope/onactivate/index.html b/files/ja/web/api/serviceworkerglobalscope/onactivate/index.html
index e6aac404d9..61ade1cdd8 100644
--- a/files/ja/web/api/serviceworkerglobalscope/onactivate/index.html
+++ b/files/ja/web/api/serviceworkerglobalscope/onactivate/index.html
@@ -56,59 +56,7 @@ ServiceWorkerGlobalScope.addEventListener('activate', function(event) { ... });<
<h2 id="ブラウザー実装状況">ブラウザー実装状況</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>機能</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>基本サポート</td>
- <td>{{CompatChrome(40.0)}}</td>
- <td>{{ CompatGeckoDesktop("44.0") }}<sup>[1]</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>機能</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>基本サポート</td>
- <td>{{CompatUnknown}}</td>
- <td>{{ CompatGeckoMobile("44.0") }}</td>
- <td>{{ CompatVersionUnknown }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(40.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Service workers(と <a href="/ja/docs/Web/API/Push_API">Push</a>) は、<a href="https://www.mozilla.org/ja/firefox/organizations/">Firefox 45 延長サポート版</a>(ESR)では使用できません。</p>
+<p>{{Compat("api.ServiceWorkerGlobalScope.onactivate")}}</p>
<h2 id="関連項目">関連項目</h2>
diff --git a/files/ja/web/api/serviceworkerglobalscope/oninstall/index.html b/files/ja/web/api/serviceworkerglobalscope/oninstall/index.html
index e03f13592c..2a74e0ae96 100644
--- a/files/ja/web/api/serviceworkerglobalscope/oninstall/index.html
+++ b/files/ja/web/api/serviceworkerglobalscope/oninstall/index.html
@@ -62,59 +62,7 @@ ServiceWorkerGlobalScope.addEventListener('install', function(event) { ... });</
<h2 id="ブラウザー実装状況">ブラウザー実装状況</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>機能</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>基本サポート</td>
- <td>{{CompatChrome(40.0)}}</td>
- <td>{{ CompatGeckoDesktop("44.0") }}<sup>[1]</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>機能</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>基本サポート</td>
- <td>{{CompatUnknown}}</td>
- <td>{{ CompatGeckoMobile("44.0") }}</td>
- <td>{{ CompatVersionUnknown }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(40.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Service worker(と <a href="/ja/docs/Web/API/Push_API">Push</a>)は、<a href="https://www.mozilla.org/en-US/firefox/organizations/">Firefox 45 延長サポート版</a>(ESR)では使用できません。</p>
+<p>{{Compat("api.ServiceWorkerGlobalScope.oninstall")}}</p>
<h2 id="関連項目">関連項目</h2>
diff --git a/files/ja/web/api/serviceworkerglobalscope/onnotificationclick/index.html b/files/ja/web/api/serviceworkerglobalscope/onnotificationclick/index.html
index cc9cd0c7b6..67bf072077 100644
--- a/files/ja/web/api/serviceworkerglobalscope/onnotificationclick/index.html
+++ b/files/ja/web/api/serviceworkerglobalscope/onnotificationclick/index.html
@@ -67,56 +67,4 @@ translation_of: Web/API/ServiceWorkerGlobalScope/onnotificationclick
<h2 id="ブラウザー実装状況">ブラウザー実装状況</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>機能</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>基本サポート</td>
- <td>{{CompatChrome(42.0)}}</td>
- <td>{{ CompatGeckoDesktop("44.0") }}<sup>[1]</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>機能</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>基本サポート</td>
- <td>{{CompatUnknown}}</td>
- <td>{{ CompatGeckoMobile("44.0") }}</td>
- <td>{{ CompatVersionUnknown }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(42.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Service worker(と <a href="/ja/docs/Web/API/Push_API">Push</a>)は、<a href="https://www.mozilla.org/ja/firefox/organizations/">Firefox 45 延長サポート版</a>(ESR)では使用できません。</p>
+<p>{{Compat("api.ServiceWorkerGlobalScope.onnotificationclick")}}</p>
diff --git a/files/ja/web/api/serviceworkerglobalscope/registration/index.html b/files/ja/web/api/serviceworkerglobalscope/registration/index.html
index 0fc05837f7..7c73ab1ea6 100644
--- a/files/ja/web/api/serviceworkerglobalscope/registration/index.html
+++ b/files/ja/web/api/serviceworkerglobalscope/registration/index.html
@@ -43,59 +43,7 @@ translation_of: Web/API/ServiceWorkerGlobalScope/registration
<h2 id="ブラウザー実装状況">ブラウザー実装状況</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>機能</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>基本サポート</td>
- <td>{{CompatChrome(42.0)}}</td>
- <td>{{ CompatGeckoDesktop("44.0") }}<sup>[1]</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>機能</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>基本サポート</td>
- <td>{{CompatUnknown}}</td>
- <td>{{ CompatGeckoMobile("44.0") }}</td>
- <td>{{ CompatVersionUnknown }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Service workers(と <a href="/ja/docs/Web/API/Push_API">Push</a>)は、<a href="https://www.mozilla.org/ja/firefox/organizations/">Firefox 45 延長サポート版</a>(ESR)では使用できません。</p>
+<p>{{Compat("api.ServiceWorkerGlobalScope.registration")}}</p>
<h2 id="関連項目">関連項目</h2>
diff --git a/files/ja/web/api/serviceworkerglobalscope/skipwaiting/index.html b/files/ja/web/api/serviceworkerglobalscope/skipwaiting/index.html
index 156a830fb1..efaae245d8 100644
--- a/files/ja/web/api/serviceworkerglobalscope/skipwaiting/index.html
+++ b/files/ja/web/api/serviceworkerglobalscope/skipwaiting/index.html
@@ -56,59 +56,7 @@ self.addEventListener('activate', function(event) {
<h2 id="ブラウザー実装状況">ブラウザー実装状況</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>機能</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>基本サポート</td>
- <td>{{CompatChrome(42.0)}}</td>
- <td>{{ CompatGeckoDesktop("44.0") }}<sup>[1]</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>機能</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>基本サポート</td>
- <td>{{CompatUnknown}}</td>
- <td>{{ CompatGeckoMobile("44.0") }}</td>
- <td>{{ CompatVersionUnknown }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(42.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Service worker(と <a href="/ja/docs/Web/API/Push_API">Push</a>)は、<a href="https://www.mozilla.org/en-US/firefox/organizations/">Firefox 45 延長サポート版</a>(ESR)では使用できません。</p>
+<p>{{Compat("api.ServiceWorkerGlobalScope.skipWaiting")}}</p>
<h2 id="関連項目">関連項目</h2>