aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/api/htmlorforeignelement/nonce
diff options
context:
space:
mode:
Diffstat (limited to 'files/ja/web/api/htmlorforeignelement/nonce')
-rw-r--r--files/ja/web/api/htmlorforeignelement/nonce/index.html53
1 files changed, 53 insertions, 0 deletions
diff --git a/files/ja/web/api/htmlorforeignelement/nonce/index.html b/files/ja/web/api/htmlorforeignelement/nonce/index.html
new file mode 100644
index 0000000000..c91021d641
--- /dev/null
+++ b/files/ja/web/api/htmlorforeignelement/nonce/index.html
@@ -0,0 +1,53 @@
+---
+title: HTMLOrForeignElement.nonce
+slug: Web/API/HTMLOrForeignElement/nonce
+tags:
+ - API
+ - Content Security Policy
+ - Experimental
+ - HTML DOM
+ - HTMLElement
+ - Property
+ - Reference
+ - nonce
+translation_of: Web/API/HTMLOrForeignElement/nonce
+---
+<div>{{APIRef("HTML DOM")}}{{SeeCompatTable}}</div>
+
+<p><span class="seoSummary"><strong><code>nonce</code></strong> は {{DOMxRef("HTMLOrForeignElement")}} のプロパティで、特定のフェッチを続行できるかどうかを決定するためにコンテンツセキュリティポリシー(Content Security Policy)で使用される暗号化番号を返します。</span></p>
+
+<p>後の実装では、<code>nonce</code> 属性を持つ要素はスクリプトにのみ公開します(CSS 属性セレクターのようなサイドチャネルには公開しません)。</p>
+
+<h2 id="Syntax" name="Syntax">構文</h2>
+
+<pre class="syntaxbox">var <em>nonce</em> = HTMLElement.nonce
+HTMLElement.nonce = <em>nonce</em></pre>
+
+<h3 id="Value" name="Value">値</h3>
+
+<p>暗号化ナンス(cryptographic nonce)。</p>
+
+<h2 id="Specifications" name="Specifications">仕様書</h2>
+
+<table class="standard-table">
+ <thead>
+ <tr>
+ <th scope="col">仕様書</th>
+ <th scope="col">状態</th>
+ <th scope="col">備考</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>{{SpecName('HTML WHATWG','#attr-nonce','nonce')}}</td>
+ <td>{{Spec2('HTML WHATWG')}}</td>
+ <td>初回定義</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの互換性</h2>
+
+<div class="hidden">このページの互換性一覧表は構造化データから生成されています。データに協力していただけるのであれば、 <a class="external" href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a> をチェックアウトしてプルリクエストを送信してください。</div>
+
+<p>{{Compat("api.HTMLOrForeignElement.nonce")}}</p>