isSecureContext property

[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]

Returns true or false indicating whether or not the current context is secure.

This property is read-only.

Syntax

JavaScript
secureContext = object.isSecureContext

 

Property values

Type: boolean

See also

window
WorkerGlobalScope

 

 

Show: