aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/api/request/integrity
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
commit33058f2b292b3a581333bdfb21b8f671898c5060 (patch)
tree51c3e392513ec574331b2d3f85c394445ea803c6 /files/ja/web/api/request/integrity
parent8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff)
downloadtranslated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip
initial commit
Diffstat (limited to 'files/ja/web/api/request/integrity')
-rw-r--r--files/ja/web/api/request/integrity/index.html64
1 files changed, 64 insertions, 0 deletions
diff --git a/files/ja/web/api/request/integrity/index.html b/files/ja/web/api/request/integrity/index.html
new file mode 100644
index 0000000000..61d5bfe118
--- /dev/null
+++ b/files/ja/web/api/request/integrity/index.html
@@ -0,0 +1,64 @@
+---
+title: Request.integrity
+slug: Web/API/Request/integrity
+tags:
+ - API
+ - Experimental
+ - Fetch
+ - Property
+ - Reference
+ - integrity
+ - request
+translation_of: Web/API/Request/integrity
+---
+<div>{{APIRef("Fetch")}}</div>
+
+<p>{{domxref("Request")}} インターフェイスの <strong><code>integrity</code></strong> 読み取り専用プロパティには、リクエストの <a href="/en-US/docs/Web/Security/Subresource_Integrity">サブリソース完全性</a> 値が含まれています。</p>
+
+<h2 id="構文">構文</h2>
+
+<pre class="brush: js notranslate">var myIntegrity = request.integrity;</pre>
+
+<h3 id="値">値</h3>
+
+<p>リクエストの <a href="/en-US/docs/Web/Security/Subresource_Integrity">サブリソース完全性</a> 値 (例, <code>sha256-BpfBw7ivV8q2jLiT13fxDYAe2tJllusRSZ273h2nFSE=</code>)。</p>
+
+<p>完全性が指定されていない場合、 <code>''</code> を返します。</p>
+
+<h2 id="例">例</h2>
+
+<p>次のスニペットでは {{domxref("Request.Request()")}} コンストラクタを使用して新しい request を作成し ( script と同じディレクトリにある画像ファイルの場合)、 request の <code>integrity</code> 値を変数に保存します:</p>
+
+<pre class="brush: js notranslate">var myRequest = new Request('flowers.jpg');
+var myIntegrity = myRequest.integrity;</pre>
+
+<h2 id="仕様">仕様</h2>
+
+<table class="standard-table">
+ <tbody>
+ <tr>
+ <th scope="col">仕様</th>
+ <th scope="col">状態</th>
+ <th scope="col">コメント</th>
+ </tr>
+ <tr>
+ <td>{{SpecName('Fetch','#dom-request-integrity','integrity')}}</td>
+ <td>{{Spec2('Fetch')}}</td>
+ <td>初回定義。</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="ブラウザーの実装状況">ブラウザーの実装状況</h2>
+
+
+
+<p>{{Compat("api.Request.integrity")}}</p>
+
+<h2 id="関連項目">関連項目</h2>
+
+<ul>
+ <li><a href="/en-US/docs/Web/API/ServiceWorker_API">ServiceWorker API</a></li>
+ <li><a href="/en-US/docs/Web/HTTP/Access_control_CORS">HTTP access control (CORS)</a></li>
+ <li><a href="/en-US/docs/Web/HTTP">HTTP</a></li>
+</ul>