Back to Content

WorkerGlobalScope: isSecureContext property

files/en-us/web/api/workerglobalscope/issecurecontext/index.md

latest476 B
Original Source

{{APIRef("DOM")}}{{AvailableInWorkers("worker")}}

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

Value

A boolean.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also