isSecureContext

This is an experimental technology
Because this technology's specification has not stabilized, check the compatibility table for usage in various browsers. Also note that the syntax and behavior of an experimental technology is subject to change in future versions of browsers as the specification changes.

The Window.isSecureContext read-only property indicates whether a context is capable of using features that require secure contexts.

Syntax

var isSecure = Window.isSecureContext

Specifications

Specification Status Comment
Secure Contexts Working Draft Initial definition.

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support (Yes) ? ? ? ?

 

 See also

Document Tags and Contributors

 Contributors to this page: jonathanKingston, rolfedh, jpmedley
 Last updated by: jonathanKingston,