Window: isSecureContext property

The isSecureContext read-only property of the Window interface returns a boolean indicating whether the current context is secure (true) or not (false).

Value

A boolean.

Specifications

Specification
HTML
# dom-issecurecontext-dev

Browser compatibility

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
isSecureContext
Available in workers

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support

See also