aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasahiro FUJIMOTO <mfujimot@gmail.com>2021-09-25 21:58:35 +0900
committerMasahiro FUJIMOTO <mfujimot@gmail.com>2021-10-03 13:37:21 +0900
commit3c2bf713cfa224cd0193704d461dd54538db7252 (patch)
treedc23422927332e812bf48e8544515ecc5a34b775
parentfd8a6f586ff83ace991b2d62c3b2b1d9252512ed (diff)
downloadtranslated-content-3c2bf713cfa224cd0193704d461dd54538db7252.tar.gz
translated-content-3c2bf713cfa224cd0193704d461dd54538db7252.tar.bz2
translated-content-3c2bf713cfa224cd0193704d461dd54538db7252.zip
Web/HTTP/CSP/Errors/CSPViolation を新規翻訳
- 2021/08/14 時点の英語版に基づき新規翻訳
-rw-r--r--files/ja/web/http/csp/errors/cspviolation/index.md60
1 files changed, 60 insertions, 0 deletions
diff --git a/files/ja/web/http/csp/errors/cspviolation/index.md b/files/ja/web/http/csp/errors/cspviolation/index.md
new file mode 100644
index 0000000000..8a4dcf5581
--- /dev/null
+++ b/files/ja/web/http/csp/errors/cspviolation/index.md
@@ -0,0 +1,60 @@
+---
+title: >-
+ Content Security Policy: The page’s settings blocked the loading of a
+ resource: xyz
+slug: Web/HTTP/CSP/Errors/CSPViolation
+tags:
+ - CSP
+ - CSPViolation
+ - Content Security Policy
+ - HTTP
+ - HTTPS
+ - NeedsContent
+ - Reference
+ - Security
+ - Warning
+ - Web security
+ - message
+translation_of: Web/HTTP/CSP/Errors/CSPViolation
+---
+{{HTTPSidebar}}
+
+警告 "Content Security Policy: The page's settings blocked the loading of a resource: xyz" は、`xyz` で指定されたページの CSP 設定が、文書のコンテキストにリソースが読み込まれるのを妨げた場合に発生します。
+
+## エラーメッセージ
+
+### Firefox
+
+`Content Security Policy: The pages settings blocked the loading of a resource: xyz`
+
+ここで、
+
+- `xyz`
+ - : リソースをブロックした CSP ディレクティブの名前です。これはディレクティブの名前そのものか、ポリシーのディレクティブ文字列全体で表される可能性があります。
+- `uvw`
+ - : 問題を解決するのに役立つ可能性がある情報を提供する文字列であり、CSP 構成に行う可能性がある特定の変更を含むこともあります。
+
+### Chrome
+
+- `Refused to apply inline style because it violates the following Content Security Policy Directive: "xyz". uvw.`
+- `Refused to execute inline script because it violates the following Content Security Policy directive: "xyz". uvw.`
+- `Refused to run the JavaScript URL because it violates the following Content Security Policy directive: "xyz". uvw.`
+- `Refused to execute inline event handler because it violates the following Content Security Policy directive: "xyz". uvw.`
+
+ここで、
+
+- `xyz`
+ - : リソースをブロックした CSP ディレクティブの名前です。これはディレクティブの名前そのものか、ポリシーのディレクティブ文字列全体で表される可能性があります。
+- `uvw`
+ - : 問題を解決するのに役立つ可能性がある情報を提供する文字列であり、CSP 構成に行う可能性がある特定の変更を含むこともあります。
+
+## エラーの原因
+
+この警告メッセージは、特定の CSP ディレクティブが存在するためにリソースが読み込まれなかったことを意味します。
+
+## 関連情報
+
+- [CSP のエラーと警告](/ja/docs/Web/HTTP/CSP/Errors)
+- [コンテンツセキュリティポリシー](/ja/docs/Web/HTTP/CSP)
+- {{HTTPHeader("Content-Security-Policy")}}
+- {{HTTPHeader("Content-Security-Policy-Report-Only")}}