From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- .../http/headers/feature-policy/battery/index.html | 62 ++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 files/ja/web/http/headers/feature-policy/battery/index.html (limited to 'files/ja/web/http/headers/feature-policy/battery/index.html') diff --git a/files/ja/web/http/headers/feature-policy/battery/index.html b/files/ja/web/http/headers/feature-policy/battery/index.html new file mode 100644 index 0000000000..a644447d68 --- /dev/null +++ b/files/ja/web/http/headers/feature-policy/battery/index.html @@ -0,0 +1,62 @@ +--- +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")}}

+ +

関連情報

+ + -- cgit v1.2.3-54-g00ecf