From 1407c8fdef01ecd0ffb8a8bd46e7113f119b9fde Mon Sep 17 00:00:00 2001 From: julieng Date: Sat, 2 Oct 2021 17:20:24 +0200 Subject: convert content to md --- files/fr/web/api/issecurecontext/index.md | 44 ++++++++++--------------------- 1 file changed, 14 insertions(+), 30 deletions(-) (limited to 'files/fr/web/api/issecurecontext') diff --git a/files/fr/web/api/issecurecontext/index.md b/files/fr/web/api/issecurecontext/index.md index be1a06cc17..91c1fa1ae2 100644 --- a/files/fr/web/api/issecurecontext/index.md +++ b/files/fr/web/api/issecurecontext/index.md @@ -4,44 +4,28 @@ slug: Web/API/isSecureContext translation_of: Web/API/WindowOrWorkerGlobalScope/isSecureContext original_slug: Web/API/WindowOrWorkerGlobalScope/isSecureContext --- -

{{APIRef()}}{{SeeCompatTable}}

+{{APIRef()}}{{SeeCompatTable}} -

La propriété isSecureContext de l'interface {{domxref("WindowOrWorkerGlobalScope")}} retourne un booleen indiquant si le contexte actuel est sécurisé (true) ou pas (false).

+La propriété **`isSecureContext`** de l'interface {{domxref("WindowOrWorkerGlobalScope")}} retourne un booleen indiquant si le contexte actuel est sécurisé (`true`) ou pas (`false`). -

Syntaxe

+## Syntaxe -
var isItSecure = self.isSecureContext; // ou simplement isSecureContext
-
+ var isItSecure = self.isSecureContext; // ou simplement isSecureContext -

Valeur

+### Valeur -

Un {{domxref("Boolean")}}.

+Un {{domxref("Boolean")}}. -

Spécifications

+## Spécifications - - - - - - - - - - - - - -
SpécificationsStatutCommentaires
{{SpecName('Secure Contexts', '#dom-windoworworkerglobalscope-issecurecontext', 'WindowOrWorkerGlobalScope.isSecureContext')}}{{Spec2('Secure Contexts')}}Définition initiale.
+| Spécifications | Statut | Commentaires | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------ | -------------------- | +| {{SpecName('Secure Contexts', '#dom-windoworworkerglobalscope-issecurecontext', 'WindowOrWorkerGlobalScope.isSecureContext')}} | {{Spec2('Secure Contexts')}} | Définition initiale. | -

Compatibilité des navigateurs

+## Compatibilité des navigateurs +{{Compat("api.WindowOrWorkerGlobalScope.isSecureContext")}} +## Voir aussi -

{{Compat("api.WindowOrWorkerGlobalScope.isSecureContext")}}

- -

Voir aussi

- - +- [Secure contexts](/en-US/docs/Web/Security/Secure_Contexts) -- cgit v1.2.3-54-g00ecf