From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- .../api/serviceworkerregistration/scope/index.html | 57 ++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 files/fr/web/api/serviceworkerregistration/scope/index.html (limited to 'files/fr/web/api/serviceworkerregistration/scope') diff --git a/files/fr/web/api/serviceworkerregistration/scope/index.html b/files/fr/web/api/serviceworkerregistration/scope/index.html new file mode 100644 index 0000000000..80f8dea718 --- /dev/null +++ b/files/fr/web/api/serviceworkerregistration/scope/index.html @@ -0,0 +1,57 @@ +--- +title: ServiceWorkerRegistration.scope +slug: Web/API/ServiceWorkerRegistration/scope +tags: + - API + - Portée + - Propriété + - Reference + - Service Workers + - ServiceWorkerRegistration + - scope +translation_of: Web/API/ServiceWorkerRegistration/scope +--- +
{{APIRef("Service Workers API")}}
+ +

La propriété en lecture seule scope de l'interface {{domxref ("ServiceWorkerRegistration")}} renvoie un identifiant unique pour un enregistrement de service worker. Le service worker doit être sur la même origine que le document qui enregistre le {{domxref ("ServiceWorker")}}.

+ +
+

Note: Cette fonctionnalité est disponible dans Web Workers.

+
+ +

Syntaxe

+ +
serviceWorkerRegistration.scope
+ +

Spécifications

+ + + + + + + + + + + + + + +
SpécificationÉtatCommentaire
{{SpecName('Service Workers', '#dom-serviceworkerregistration-scope', 'ServiceWorkerRegistration.scope')}}{{Spec2('Service Workers')}}Définition initiale.
+ +

Compatibilité des navigateurs

+ + + +

{{Compat("api.ServiceWorkerRegistration.scope")}}

+ +

Voir également

+ + -- cgit v1.2.3-54-g00ecf