WorkerGlobalScope: isSecureContext property
The isSecureContext read-only property of the WorkerGlobalScope interface returns a boolean indicating whether the current context is secure (true) or not (false).
Value
A boolean.
Specifications
| Specification |
|---|
| HTML Standard # dom-issecurecontext-dev |
Browser compatibility
| desktop | mobile | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
isSecureContext | |||||||||||
Available in workers | |||||||||||