diff options
| author | Masahiro FUJIMOTO <mfujimot@gmail.com> | 2021-06-25 01:40:44 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-25 01:40:44 +0900 |
| commit | fa9d0b4ad49db970ba8707a4f6ab9ce17b5383b8 (patch) | |
| tree | 393eb2ca37a645499036e6e1baee2bf0f2ec9529 /files/ja/web/javascript/reference/errors/property_access_denied | |
| parent | edcbfa42307307b620944e0aa4f6125d47e811eb (diff) | |
| download | translated-content-fa9d0b4ad49db970ba8707a4f6ab9ce17b5383b8.tar.gz translated-content-fa9d0b4ad49db970ba8707a4f6ab9ce17b5383b8.tar.bz2 translated-content-fa9d0b4ad49db970ba8707a4f6ab9ce17b5383b8.zip | |
Web/JavaScript/Reference/Errors/P-V* を更新 (#1205)
* Web/JavaScript/Reference/Errors/P-V* を更新
2021/06/14 時点の英語版に同期
* スラッグを修正
Diffstat (limited to 'files/ja/web/javascript/reference/errors/property_access_denied')
| -rw-r--r-- | files/ja/web/javascript/reference/errors/property_access_denied/index.html | 102 |
1 files changed, 51 insertions, 51 deletions
diff --git a/files/ja/web/javascript/reference/errors/property_access_denied/index.html b/files/ja/web/javascript/reference/errors/property_access_denied/index.html index 30015bdc4f..0d3057702a 100644 --- a/files/ja/web/javascript/reference/errors/property_access_denied/index.html +++ b/files/ja/web/javascript/reference/errors/property_access_denied/index.html @@ -1,51 +1,51 @@ ---- -title: 'Error: Permission denied to access property "x"' -slug: Web/JavaScript/Reference/Errors/Property_access_denied -tags: - - Error - - Errors - - JavaScript - - Security -translation_of: Web/JavaScript/Reference/Errors/Property_access_denied ---- -<div>{{jsSidebar("Errors")}}</div> - -<p>JavaScript の例外 "Permission denied to access property" は、権限がない状態でオブジェクトへのアクセスの試行があった場合に発生します。</p> - -<h2 id="Message" name="Message">メッセージ</h2> - -<pre class="syntaxbox notranslate">Error: Permission denied to access property "x" -</pre> - -<h2 id="Error_type" name="Error_type">エラー種別</h2> - -<p>{{jsxref("Error")}}</p> - -<h2 id="What_went_wrong" name="What_went_wrong">原因</h2> - -<p>権限がない状態でオブジェクトへのアクセスの試行がありました。これは異なるドメインから読み込んだ {{HTMLElement("iframe")}} 要素が<a href="/ja/docs/Web/Security/Same-origin_policy">同一オリジンポリシー</a>に違反する場合などです。</p> - -<h2 id="Examples" name="Examples">例</h2> - -<h3 id="No_permission_to_access_document" name="No_permission_to_access_document">文書にアクセスする権限がない</h3> - -<pre class="brush: html notranslate"><!DOCTYPE html> -<html> - <head> - <iframe id="myframe" src="http://www1.w3c-test.org/common/blank.html"></iframe> - <script> - onload = function() { - console.log(frames[0].document); - // Error: Permission denied to access property "document" - } - </script> - </head> - <body></body> -</html></pre> - -<h2 id="See_also" name="See_also">関連情報</h2> - -<ul> - <li>{{HTMLElement("iframe")}}</li> - <li><a href="/ja/docs/Web/Security/Same-origin_policy">同一オリジンポリシー</a></li> -</ul> +---
+title: 'Error: Permission denied to access property "x"'
+slug: Web/JavaScript/Reference/Errors/Property_access_denied
+tags:
+- Error
+- Errors
+- JavaScript
+- Security
+translation_of: Web/JavaScript/Reference/Errors/Property_access_denied
+---
+<div>{{jsSidebar("Errors")}}</div>
+
+<p>JavaScript の例外 "Permission denied to access property" は、権限がない状態でオブジェクトへのアクセスの試行があった場合に発生します。</p>
+
+<h2 id="Message">エラーメッセージ</h2>
+
+<pre class="brush: js">Error: Permission denied to access property "x"
+</pre>
+
+<h2 id="Error_type">エラーの種類</h2>
+
+<p>{{jsxref("Error")}}</p>
+
+<h2 id="What_went_wrong">エラーの原因</h2>
+
+<p>権限がない状態でオブジェクトへのアクセスの試行がありました。これは異なるドメインから読み込んだ {{HTMLElement("iframe")}} 要素が<a href="/ja/docs/Web/Security/Same-origin_policy">同一オリジンポリシー</a>に違反する場合などです。</p>
+
+<h2 id="Examples">例</h2>
+
+<h3 id="No_permission_to_access_document">文書にアクセスする権限がない</h3>
+
+<pre class="brush: html"><!DOCTYPE html>
+<html>
+ <head>
+ <iframe id="myframe" src="http://www1.w3c-test.org/common/blank.html"></iframe>
+ <script>
+ onload = function() {
+ console.log(frames[0].document);
+ // Error: Permission denied to access property "document"
+ }
+ </script>
+ </head>
+ <body></body>
+</html></pre>
+
+<h2 id="See_also">関連情報</h2>
+
+<ul>
+ <li>{{HTMLElement("iframe")}}</li>
+ <li><a href="/ja/docs/Web/Security/Same-origin_policy">同一オリジンポリシー</a></li>
+</ul>
|
