aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/http/headers/feature-policy/accelerometer/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/fr/web/http/headers/feature-policy/accelerometer/index.html')
-rw-r--r--files/fr/web/http/headers/feature-policy/accelerometer/index.html68
1 files changed, 68 insertions, 0 deletions
diff --git a/files/fr/web/http/headers/feature-policy/accelerometer/index.html b/files/fr/web/http/headers/feature-policy/accelerometer/index.html
new file mode 100644
index 0000000000..6d6f91a3f1
--- /dev/null
+++ b/files/fr/web/http/headers/feature-policy/accelerometer/index.html
@@ -0,0 +1,68 @@
+---
+title: 'Feature-Policy: accelerometer'
+slug: Web/HTTP/Headers/Feature-Policy/accelerometer
+tags:
+ - Accéléromètre
+ - Directive
+ - Feature Policy
+ - Feature-Policy
+ - HTTP
+ - Reference
+translation_of: Web/HTTP/Headers/Feature-Policy/accelerometer
+---
+<p>{{HTTPSidebar}} {{SeeCompatTable}}</p>
+
+<p>La directive <code>accelerometer</code> de l'en-tête HTTP {{HTTPHeader('Feature-Policy')}} contrôle la possibilité pour le document courant de recueillir des informations à propos de l'accélération de l'appareil au moyen de l'interface {{domxref('Accelerometer')}}.</p>
+
+<h2 id="Syntaxe">Syntaxe</h2>
+
+<pre class="notranslate">Feature-Policy: accelerometer &lt;listePermissions&gt;;</pre>
+
+<dl>
+ <dt>&lt;listePermissions&gt;</dt>
+ <dd>{{page('fr/Web/HTTP/Feature_Policy/Using_Feature_Policy', 'allowlist')}}</dd>
+</dl>
+
+<h2 id="Valeur_par_défaut">Valeur par défaut</h2>
+
+<p>La valeur par défaut est <code>'self'</code>.</p>
+
+<h2 id="Spécifications">Spécifications</h2>
+
+<table class="standard-table">
+ <thead>
+ <tr>
+ <th scope="col">Spécification</th>
+ <th scope="col">État</th>
+ <th scope="col">Commentaire</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>{{SpecName('Feature Policy')}}</td>
+ <td>{{Spec2('Feature Policy')}}</td>
+ <td>Définition initiale.</td>
+ </tr>
+ <tr>
+ <td>{{SpecName('Accelerometer','#accelerometer-interface','Accelerometer')}}</td>
+ <td>{{Spec2('Accelerometer')}}</td>
+ <td></td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2>
+
+<div class="hidden">
+<p>The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out <a href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a> and send us a pull request.</p>
+</div>
+
+<p>{{Compat('http.headers.Feature-Policy.accelerometer')}}</p>
+
+<h2 id="Voir_aussi">Voir aussi</h2>
+
+<ul>
+ <li>en-tête {{HTTPHeader('Feature-Policy')}}</li>
+ <li><a href="/en-US/docs/Web/HTTP/Feature_Policy">Feature Policy</a></li>
+ <li><a href="/en-US/docs/Web/HTTP/Feature_Policy/Using_Feature_Policy">Utiliser Feature Policy</a></li>
+</ul>