Esta es una tecnología experimental
Comprueba la Tabla de compabilidad de navegadores cuidadosamente antes de usarla en producción.
La propiedad de sólo-lectura isSecureContext
, de la interface WindowOrWorkerGlobalScope
Devuelve un booleano indicando si el contexto actual es seguro (true
) or not (false
).
Sintaxis
var isItSecure = self.isSecureContext; // or just isSecureContext
Valor
Un Boolean
.
Especificaciones
Especificación | Estado | Comentario |
---|---|---|
Secure Contexts La definición de 'WindowOrWorkerGlobalScope.isSecureContext' en esta especificación. |
Candidate Recommendation | Definición inicial. |
Compatibilidad de Navegadores
We're converting our compatibility data into a machine-readable JSON format.
This compatibility table still uses the old format,
because we haven't yet converted the data it contains.
Find out how you can help!
Característica | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|
Soporte básico | 55 | 52 (52) | ? | ? | ? |
Característica | Android Webview | Chrome para Android | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|---|
Soporte básico | 55 | 55 | 52.0 (52) | ? | ? | ? |