diff options
Diffstat (limited to 'files/ja/web/api/issecurecontext/index.html')
-rw-r--r-- | files/ja/web/api/issecurecontext/index.html | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/files/ja/web/api/issecurecontext/index.html b/files/ja/web/api/issecurecontext/index.html new file mode 100644 index 0000000000..877738b41b --- /dev/null +++ b/files/ja/web/api/issecurecontext/index.html @@ -0,0 +1,57 @@ +--- +title: WindowOrWorkerGlobalScope.isSecureContext +slug: Web/API/isSecureContext +tags: + - API + - DOM + - Window + - WindowOrWorkerGlobalContext + - Workers + - isSecureContext + - ウェブ + - プロパティ + - リファレンス +translation_of: Web/API/WindowOrWorkerGlobalScope/isSecureContext +original_slug: Web/API/WindowOrWorkerGlobalScope/isSecureContext +--- +<p>{{APIRef()}}{{SeeCompatTable}}</p> + +<p>{{domxref("WindowOrWorkerGlobalScope")}} インターフェイスの読み取り専用 <code><strong>isSecureContext</strong></code> プロパティは、現在のコンテキストが安全(<code>true</code>)かそうではない(<code>false</code>)を示すブール値を返します。</p> + +<h2 id="構文">構文</h2> + +<pre class="syntaxbox">var <em>isItSecure</em> = self.isSecureContext; // or just isSecureContext +</pre> + +<h3 id="値">値</h3> + +<p>{{domxref("Boolean")}}.</p> + +<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('Secure Contexts', '#dom-windoworworkerglobalscope-issecurecontext', 'WindowOrWorkerGlobalScope.isSecureContext')}}</td> + <td>{{Spec2('Secure Contexts')}}</td> + <td>初期定義。</td> + </tr> + </tbody> +</table> + +<h2 id="ブラウザ互換性">ブラウザ互換性</h2> + + + +<p>{{Compat("api.WindowOrWorkerGlobalScope.isSecureContext")}}</p> + +<h2 id="参照">参照</h2> + +<ul> + <li><a href="/en-US/docs/Web/Security/Secure_Contexts">Secure contexts</a></li> +</ul> |