From 36690ccc3dc2e6cc4c3dd756e1adf91b48de1c38 Mon Sep 17 00:00:00 2001 From: Masahiro FUJIMOTO Date: Sat, 22 Jan 2022 11:18:07 +0900 Subject: Feature-Policy: battery を移行 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../http/headers/feature-policy/battery/index.html | 56 ---------------------- .../http/headers/feature-policy/battery/index.md | 56 ++++++++++++++++++++++ 2 files changed, 56 insertions(+), 56 deletions(-) delete mode 100644 files/ja/web/http/headers/feature-policy/battery/index.html create mode 100644 files/ja/web/http/headers/feature-policy/battery/index.md (limited to 'files/ja/web') diff --git a/files/ja/web/http/headers/feature-policy/battery/index.html b/files/ja/web/http/headers/feature-policy/battery/index.html deleted file mode 100644 index 2a9f5e702a..0000000000 --- a/files/ja/web/http/headers/feature-policy/battery/index.html +++ /dev/null @@ -1,56 +0,0 @@ ---- -title: 'Feature-Policy: battery' -slug: Web/HTTP/Headers/Feature-Policy/battery -translation_of: Web/HTTP/Headers/Feature-Policy/battery ---- -{{HTTPSidebar}}{{SeeCompatTable}} - -HTTP の {{HTTPHeader("Feature-Policy")}} ヘッダーにおける `battery` ディレクティブは、現在の文書で {{DOMxRef("Navigator.getBattery","Navigator.getBattery()")}} で得られる {{DOMxRef("BatteryManager")}} インターフェイスによって、端末のバッテリに関する情報の収集を許可するかどうかを制御します。 - -## 構文 - -
Feature-Policy: battery <allowlist>;
- -
<allowlist>
-
{{page("/ja/docs/Web/HTTP/Feature_Policy/Using_Feature_Policy", "allowlist")}}
- -## 既定のポリシー - -既定値は `'self'` です。 - -## 仕様書 - - - - - - - - - - - - - - - - - - - - - -
仕様書状態備考
{{SpecName("Feature Policy")}}{{Spec2("Feature Policy")}}初回定義
{{SpecName("Battery API","#feature-policy-integration","Feature Policy integration")}}{{Spec2("Battery API")}}
- -## ブラウザーの互換性 - -{{Compat("http.headers.Feature-Policy.battery")}} - -## 関連情報 - -- {{HTTPHeader("Feature-Policy")}} ヘッダー -- [機能ポリシー](/ja/docs/Web/HTTP/Feature_Policy) -- [機能ポリシーの使用](/ja/docs/Web/HTTP/Feature_Policy/Using_Feature_Policy) -- [Battery Status API](/ja/docs/Web/API/Battery_Status_API) -- {{DOMxRef("Navigator.getBattery","Navigator.getBattery()")}} -- {{DOMxRef("BatteryManager")}} diff --git a/files/ja/web/http/headers/feature-policy/battery/index.md b/files/ja/web/http/headers/feature-policy/battery/index.md new file mode 100644 index 0000000000..2a9f5e702a --- /dev/null +++ b/files/ja/web/http/headers/feature-policy/battery/index.md @@ -0,0 +1,56 @@ +--- +title: 'Feature-Policy: battery' +slug: Web/HTTP/Headers/Feature-Policy/battery +translation_of: Web/HTTP/Headers/Feature-Policy/battery +--- +{{HTTPSidebar}}{{SeeCompatTable}} + +HTTP の {{HTTPHeader("Feature-Policy")}} ヘッダーにおける `battery` ディレクティブは、現在の文書で {{DOMxRef("Navigator.getBattery","Navigator.getBattery()")}} で得られる {{DOMxRef("BatteryManager")}} インターフェイスによって、端末のバッテリに関する情報の収集を許可するかどうかを制御します。 + +## 構文 + +
Feature-Policy: battery <allowlist>;
+ +
<allowlist>
+
{{page("/ja/docs/Web/HTTP/Feature_Policy/Using_Feature_Policy", "allowlist")}}
+ +## 既定のポリシー + +既定値は `'self'` です。 + +## 仕様書 + + + + + + + + + + + + + + + + + + + + + +
仕様書状態備考
{{SpecName("Feature Policy")}}{{Spec2("Feature Policy")}}初回定義
{{SpecName("Battery API","#feature-policy-integration","Feature Policy integration")}}{{Spec2("Battery API")}}
+ +## ブラウザーの互換性 + +{{Compat("http.headers.Feature-Policy.battery")}} + +## 関連情報 + +- {{HTTPHeader("Feature-Policy")}} ヘッダー +- [機能ポリシー](/ja/docs/Web/HTTP/Feature_Policy) +- [機能ポリシーの使用](/ja/docs/Web/HTTP/Feature_Policy/Using_Feature_Policy) +- [Battery Status API](/ja/docs/Web/API/Battery_Status_API) +- {{DOMxRef("Navigator.getBattery","Navigator.getBattery()")}} +- {{DOMxRef("BatteryManager")}} -- cgit v1.2.3-54-g00ecf