Permissions-Policy: attribution-reporting

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

Experimental: これは実験的な機能です。
本番で使用する前にブラウザー互換性一覧表をチェックしてください。

HTTP の Permissions-Policy ヘッダーにおける ambient-light-sensor ディレクティブは、現在の文書が帰属レポート API を使うことをインターフェイスを通じて端末の周囲の環境における明るさの量に関する情報を収集することを許可するかどうかを制御します。

仕様上、この機能の使用がブロックされている場合、

構文

http
Permissions-Policy: attribution-reporting=<allowlist>;
<allowlist>

その機能を使用する権限が与えられているオリジンのリストです。詳しくは Permissions-Policy > 構文を参照してください。

既定のポリシー

attribution-reporting の既定の許可リストは * です。

仕様書

Specification
Attribution Reporting
# permission-policy-integration

ブラウザーの互換性

関連情報