aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--files/ja/web/http/headers/feature-policy/document-domain/index.md45
1 files changed, 45 insertions, 0 deletions
diff --git a/files/ja/web/http/headers/feature-policy/document-domain/index.md b/files/ja/web/http/headers/feature-policy/document-domain/index.md
new file mode 100644
index 0000000000..2b428969b6
--- /dev/null
+++ b/files/ja/web/http/headers/feature-policy/document-domain/index.md
@@ -0,0 +1,45 @@
+---
+title: 'Feature-Policy: document-domain'
+slug: Web/HTTP/Headers/Feature-Policy/document-domain
+tags:
+ - ディレクティブ
+ - 実験的
+ - 機能ポリシー
+ - Feature-Policy
+ - HTTP
+ - リファレンス
+ - document-domain
+ - ヘッダー
+browser-compat: http.headers.Feature-Policy.document-domain
+translation_of: Web/HTTP/Headers/Feature-Policy/document-domain
+---
+{{HTTPSidebar}} {{SeeCompatTable}}
+
+HTTP の {{HTTPHeader("Feature-Policy")}} ヘッダーにおける `document-domain` ディレクティブは、現在の文書が {{domxref("document.domain")}} を設定することを許可するかどうかを制御します。このポリシーが無効であった場合、 {{domxref("document.domain")}} を設定しようとすると失敗し、 `SecurityError` の {{domxref("DOMException")}} が発生します。
+
+## 構文
+
+```
+Feature-Policy: document-domain <allowlist>;
+```
+
+- \<allowlist>
+ - : この機能を許可するオリジンのリストです。 [`Feature-Policy`](/ja/docs/Web/HTTP/Headers/Feature-Policy#syntax) を参照してください。
+
+## 既定のポリシー
+
+Default allow list for `document-domain` is `*`.
+
+## 仕様書
+
+{{Specifications}}
+
+## ブラウザーの互換性
+
+{{Compat}}
+
+## 関連情報
+
+- {{HTTPHeader("Feature-Policy")}} ヘッダー
+- [機能ポリシー](/ja/docs/Web/HTTP/Feature_Policy)
+- [機能ポリシーの使用](/ja/docs/Web/HTTP/Feature_Policy/Using_Feature_Policy)