此页面由社区从英文翻译而来。了解更多并加入 MDN Web Docs 社区。
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月.
WorkerGlobalScope 接口的isSecureContext 只读属性返回一个布尔值,指示当前上下文是安全的(true)还是不安全的(false)。
In this article
值
一个布尔值。
规范
| Specification |
|---|
| HTML> # dom-issecurecontext-dev> |