From 6ab224287e585403b60244ad2f52e94ce9708f1a Mon Sep 17 00:00:00 2001 From: Masahiro FUJIMOTO Date: Sat, 22 Jan 2022 11:45:10 +0900 Subject: 2021/08/14 時点の英語版に基づき新規翻訳 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../feature-policy/document-domain/index.md | 45 ++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 files/ja/web/http/headers/feature-policy/document-domain/index.md (limited to 'files/ja/web') 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 ; +``` + +- \ + - : この機能を許可するオリジンのリストです。 [`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) -- cgit v1.2.3-54-g00ecf