WorkerGlobalScope: isSecureContext プロパティ
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2018年4月.
isSecureContext は WorkerGlobalScope インターフェイスの読み取り専用プロパティで、現在のコンテキストが安全か (true) 否か (false) を示す論理値を返します。