aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/api/serviceworkerregistration/active/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/fr/web/api/serviceworkerregistration/active/index.html')
-rw-r--r--files/fr/web/api/serviceworkerregistration/active/index.html16
1 files changed, 8 insertions, 8 deletions
diff --git a/files/fr/web/api/serviceworkerregistration/active/index.html b/files/fr/web/api/serviceworkerregistration/active/index.html
index 72ef793946..257fc3eb90 100644
--- a/files/fr/web/api/serviceworkerregistration/active/index.html
+++ b/files/fr/web/api/serviceworkerregistration/active/index.html
@@ -5,33 +5,33 @@ translation_of: Web/API/ServiceWorkerRegistration/active
---
<div>{{SeeCompatTable}}{{APIRef("Service Workers API")}}</div>
-<p>La propriété <strong><code>active</code></strong> de l’interface {{domxref("ServiceWorkerRegistration")}} retourne un <em>service worker</em> dont le {{domxref("ServiceWorker.state")}} est <code style="font-style: normal;">activating</code> ou <code style="font-style: normal;">activated</code>. Cette propriété est initialement définie à <code style="font-style: normal;">null</code>.</p>
+<p>La propriété <strong><code>active</code></strong> de l’interface {{domxref("ServiceWorkerRegistration")}} retourne un <em>service worker</em> dont le {{domxref("ServiceWorker.state")}} est <code>activating</code> ou <code>activated</code>. Cette propriété est initialement définie à <code>null</code>.</p>
<p>Un <em>worker</em> actif contrôle un {{domxref("ServiceWorkerClient")}} si l’URL du client appartient au domaine de l’inscription (l’option <code>scope</code> définie lorsque {{domxref("ServiceWorkerContainer.register")}} est initialement appelé.)</p>
<div class="note">
-<p><strong>Note</strong> : Cette fonctionnalité est disponible dans les <a href="/en-US/docs/Web/API/Web_Workers_API">Web Workers</a>.</p>
+<p><strong>Note :</strong> Cette fonctionnalité est disponible dans les <a href="/en-US/docs/Web/API/Web_Workers_API">Web Workers</a>.</p>
</div>
-<h2 id="Syntax" name="Syntax" style="line-height: 30px; font-size: 2.14285714285714rem;">Syntaxe</h2>
+<h2 id="Syntax">Syntaxe</h2>
-<pre class="syntaxbox" style="font-size: 14px;">sw = ServiceWorker.active
+<pre class="syntaxbox">sw = ServiceWorker.active
</pre>
<h3 id="Valeur">Valeur</h3>
<p>Un objet {{domxref("ServiceWorker")}}, si le <em>worker</em> est actuellement dans un état <code>activating</code> ou <code>activated</code>.</p>
-<h2 id="Spécifications" style="line-height: 30px; font-size: 2.14285714285714rem;">Spécifications</h2>
+<h2 id="Spécifications">Spécifications</h2>
<div> </div>
<table class="standard-table">
<tbody>
<tr>
- <th scope="col"><font face="Open Sans, sans-serif"><span style="font-weight: normal;">Spécification</span></font></th>
- <th scope="col"><font face="Open Sans, sans-serif"><span style="font-weight: normal;">Statut</span></font></th>
- <th scope="col"><font face="Open Sans, sans-serif"><span style="font-weight: normal;">Commentaire</span></font></th>
+ <th scope="col">Spécification</th>
+ <th scope="col">Statut</th>
+ <th scope="col">Commentaire</th>
</tr>
<tr>
<td>{{SpecName('Service Workers', '#service-worker-registration-active-attribute', 'ServiceWorkerRegistration.active')}}</td>