diff options
Diffstat (limited to 'files/fr/conflicting')
19 files changed, 199 insertions, 26 deletions
diff --git a/files/fr/conflicting/learn/css/styling_text/fundamentals/index.html b/files/fr/conflicting/learn/css/styling_text/fundamentals/index.html index 8506c0ab74..19ef0135aa 100644 --- a/files/fr/conflicting/learn/css/styling_text/fundamentals/index.html +++ b/files/fr/conflicting/learn/css/styling_text/fundamentals/index.html @@ -276,12 +276,12 @@ p { /* Ici, on liste les fichiers de police, la syntaxe est détaillée ici : http://blog.fontspring.com/2011/02/the-new-bulletproof-font-face-syntax/ */ - src:url("https://developer.cdn.mozilla.net/static/fonts/OpenSans-Regular-webfont.a35546eef3ea.eot"); - src:url("https://developer.cdn.mozilla.net/static/fonts/OpenSans-Regular-webfont.a35546eef3ea.eot?#iefix") format('embedded-opentype'), - url("https://developer.cdn.mozilla.net/static/fonts/OpenSans-Regular-webfont.3f642fa3ea74.woff2") format('woff2'), - url("https://developer.cdn.mozilla.net/static/fonts/OpenSans-Regular-webfont.ac327c4db628.woff") format('woff'), - url("https://developer.cdn.mozilla.net/static/fonts/OpenSans-Regular-webfont.cd7296352d15.ttf") format('truetype'), - url("https://developer.cdn.mozilla.net/static/fonts/OpenSans-Regular-webfont.f641a7d4e80f.svg#OpenSansRegular") format('svg'); + src:url("https://developer.mozilla.org/static/fonts/OpenSans-Regular-webfont.a35546eef3ea.eot"); + src:url("https://developer.mozilla.org/static/fonts/OpenSans-Regular-webfont.a35546eef3ea.eot?#iefix") format('embedded-opentype'), + url("https://developer.mozilla.org/static/fonts/OpenSans-Regular-webfont.3f642fa3ea74.woff2") format('woff2'), + url("https://developer.mozilla.org/static/fonts/OpenSans-Regular-webfont.ac327c4db628.woff") format('woff'), + url("https://developer.mozilla.org/static/fonts/OpenSans-Regular-webfont.cd7296352d15.ttf") format('truetype'), + url("https://developer.mozilla.org/static/fonts/OpenSans-Regular-webfont.f641a7d4e80f.svg#OpenSansRegular") format('svg'); /* Ici, on définit la graisse et le style de la police */ font-weight:normal; diff --git a/files/fr/conflicting/web/api/passwordcredential/index.html b/files/fr/conflicting/web/api/passwordcredential/index.html new file mode 100644 index 0000000000..19a567dea9 --- /dev/null +++ b/files/fr/conflicting/web/api/passwordcredential/index.html @@ -0,0 +1,74 @@ +--- +title: PasswordCredential.additionalData +slug: conflicting/Web/API/PasswordCredential +tags: + - API + - Credential Management API + - PasswordCredential + - Propriété + - Reference +translation_of: Web/API/PasswordCredential/additionalData +original_slug: Web/API/PasswordCredential/additionalData +--- +<p>{{SeeCompatTable}}{{APIRef("")}}{{Deprecated_header}}</p> + +<p>La propriété <strong><code>additionalData</code></strong>, rattachée à l'interface {{domxref("PasswordCredential")}}, est une instance de {{domxref("FormData")}} ou une instane de {{domxref("URLSearchParams")}} ou {{jsxref("null")}}.</p> + +<p>Les données contenues dans l'objet associé seront ajoutées au corps de la requête et envoyées au point distant avec les informations d'authentification.</p> + +<h2 id="Syntaxe">Syntaxe</h2> + +<pre class="syntaxbox"><em>passwordCredential</em>.additionalData = formData +<em>formData</em> = <em>passwordCredential</em>.additionalData +passwordCredential.additionalData = urlSearchParams +<em>ulrSearchParams</em> = <em>passwordCredential</em>.additionalData +</pre> + +<h3 id="Valeur">Valeur</h3> + +<p>Une instance {{domxref("FormData")}} ou une instance {{domxref("URLSearchParams")}} ou {{jsxref("null")}}.</p> + +<h2 id="Exemples">Exemples</h2> + +<p>Dans l'exemple suivant, on crée un objet {{domxref("FormData")}} auquel on ajoute un <a href="/docs/Web/Security/Same-origin_policy#How_to_block_cross-origin_access">jeton CSRF</a>. Ensuite, on stocke l'objet du formulaire dans le paramètre <code>additionalData</code> avant de l'envoyer au serveur avec un appel à {{domxref("fetch")}}.</p> + +<pre class="brush: js">// L'objet options a été créé au préalable +navigator.credentials.get(options).then(function(creds) { + if (creds.type == 'password') { + var form = new FormData(); + var csrf_token = document.querySelector('csrf_token').value; + form.append('csrf_token', csrf_token); + + creds.additionalData = form; + + fetch('https://www.example.com', { + method: 'POST', + credentials: creds + }); + }; +});</pre> + +<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">Commentaires</th> + </tr> + </thead> + <tbody> + <tr> + <td>{{SpecName('Credential Management')}}</td> + <td>{{Spec2('Credential Management')}}</td> + <td>Définition initiale.</td> + </tr> + </tbody> +</table> + +<h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2> + +<div class="hidden">Le tableau de compatibilité de cette page a été généré à partir de données structurées. Si vous souhaitez contribuer à ces données, n'hésitez pas à consulter <a href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a> et à nous envoyer une <em>pull request</em>.</div> + +<p>{{Compat("api.PasswordCredential.additionalData")}}</p> diff --git a/files/fr/conflicting/web/api/passwordcredential_bc57d5dfa87242b4fb83497887124f41/index.html b/files/fr/conflicting/web/api/passwordcredential_bc57d5dfa87242b4fb83497887124f41/index.html new file mode 100644 index 0000000000..e310393334 --- /dev/null +++ b/files/fr/conflicting/web/api/passwordcredential_bc57d5dfa87242b4fb83497887124f41/index.html @@ -0,0 +1,53 @@ +--- +title: PasswordCredential.passwordName +slug: conflicting/Web/API/PasswordCredential_bc57d5dfa87242b4fb83497887124f41 +tags: + - API + - Credential Management API + - PasswordCredential + - Propriété + - Reference +translation_of: Web/API/PasswordCredential/passwordName +original_slug: Web/API/PasswordCredential/passwordName +--- +<p>{{SeeCompatTable}}{{APIRef("")}}{{Deprecated_header}}</p> + +<p>La propriété <strong><code>passwordName</code></strong>, rattachée à l'interface {{domxref("PasswordCredential")}}, est une chaîne de caractères {{domxref("USVString")}} qui indique le nom utilisé pour dénommer le champ relatif au mot de passe lors de l'envoi de l'objet courant au point d'accès distant avec {{domxref("fetch")}}. Par défaut, cette propriété vaut <code>'password'</code> mais il est possible de la modifier afin qu'elle corresponde à la valeur attendue par le service distant.</p> + +<h2 id="Syntaxe">Syntaxe</h2> + +<pre class="syntaxbox">var passwordName = PasswordCredential.passwordName +PasswordCredential.passwordName = "passcode"</pre> + +<h3 id="Valeur">Valeur</h3> + +<p>Une chaîne de caractères {{domxref("USVString")}} qui représente le nom du champ pour le mot de passe. Ce nom sera utilisé lors de l'envoi de l'objet courant au point d'accès distant avec {{domxref("fetch")}}.</p> + +<h2 id="Exemples">Exemples</h2> + +<pre class="brush: js">// TBD</pre> + +<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">Commentaires</th> + </tr> + </thead> + <tbody> + <tr> + <td>{{SpecName('Credential Management')}}</td> + <td>{{Spec2('Credential Management')}}</td> + <td>Définition initiale.</td> + </tr> + </tbody> +</table> + +<h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2> + +<div class="hidden">Le tableau de compatibilité de cette page a été généré à partir de données structurées. Si vous souhaitez contribuer à ces données, n'hésitez pas à consulter <a href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a> et à nous envoyer une <em>pull request</em>.</div> + +<p>{{Compat("api.PasswordCredential.passwordName")}}</p> diff --git a/files/fr/conflicting/web/api/passwordcredential_cbf7b306e83a3f58ff06bccf89637c12/index.html b/files/fr/conflicting/web/api/passwordcredential_cbf7b306e83a3f58ff06bccf89637c12/index.html new file mode 100644 index 0000000000..8b7273bccd --- /dev/null +++ b/files/fr/conflicting/web/api/passwordcredential_cbf7b306e83a3f58ff06bccf89637c12/index.html @@ -0,0 +1,51 @@ +--- +title: idName +slug: conflicting/Web/API/PasswordCredential_cbf7b306e83a3f58ff06bccf89637c12 +tags: + - API + - PasswordCredential + - Propriété + - Reference + - idName +translation_of: Web/API/PasswordCredential/idName +original_slug: Web/API/PasswordCredential/idName +--- +<p>{{SeeCompatTable}}{{APIRef("")}}{{Deprecated_header}}</p> + +<p><span class="seoSummary">La propriété <strong><code>idName</code></strong> de l'interface {{domxref("PasswordCredential")}} fournit une chaîne de caractères {{domxref("USVString")}} représentant le nom qui sera utilisé pour le champ d'identifiant, </span>lorsqu'on envoie l'objet courant à un point d'accès distant when submitting the current object to a remote endpoint via {{domxref("fetch")}}. Par défaut, cette propriété vaut <code>'username'</code>, mais on peut la définir avec n'importe quelle valeur qui serait attendue de la part d'un service distant.</p> + +<h2 id="Syntaxe">Syntaxe</h2> + +<pre class="syntaxbox">var idName = PasswordCredential.idName +PasswordCredential.idName = "userID"</pre> + +<h3 id="Valeur">Valeur</h3> + +<p>Une chaîne de caractères {{domxref("USVString")}} qui représente le nom utilisé pour le champ d'identifiant lorsqu'on envoie l'objet courant à un point distant avec {{domxref("fetch")}}.</p> + +<h2 id="Exemples">Exemples</h2> + +<pre class="brush: js">// TBD</pre> + +<h2 id="Spécifications">Spécifications</h2> + +<table class="standard-table"> + <tbody> + <tr> + <th scope="col">Spécification</th> + <th scope="col">État</th> + <th scope="col">Commentaires</th> + </tr> + <tr> + <td>{{SpecName('Credential Management')}}</td> + <td>{{Spec2('Credential Management')}}</td> + <td>Définition initiale.</td> + </tr> + </tbody> +</table> + +<h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2> + +<div class="hidden">Le tableau de compatibilité de cette page a été généré à partir de données structurées. Si vous souhaitez contribuer à ces données, n'hésitez pas à consulter <a href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a> et à nous envoyer une <em>pull request</em>.</div> + +<p>{{Compat("api.PasswordCredential.idName")}}</p> diff --git a/files/fr/conflicting/web/css/@viewport/index.html b/files/fr/conflicting/web/css/@viewport/index.html index 38e9ba9a6c..1c38cfb0b5 100644 --- a/files/fr/conflicting/web/css/@viewport/index.html +++ b/files/fr/conflicting/web/css/@viewport/index.html @@ -41,8 +41,7 @@ height: 320px 200px; <h3 id="Syntaxe_formelle">Syntaxe formelle</h3> -<pre class="syntaxbox">{{csssyntax}} -</pre> +{{csssyntax}} <h2 id="Exemples">Exemples</h2> diff --git a/files/fr/conflicting/web/css/@viewport_3ecbd2877baedebcfaffc13eaa7d61ce/index.html b/files/fr/conflicting/web/css/@viewport_3ecbd2877baedebcfaffc13eaa7d61ce/index.html index dbbb78795b..4688522159 100644 --- a/files/fr/conflicting/web/css/@viewport_3ecbd2877baedebcfaffc13eaa7d61ce/index.html +++ b/files/fr/conflicting/web/css/@viewport_3ecbd2877baedebcfaffc13eaa7d61ce/index.html @@ -31,7 +31,7 @@ user-zoom: fixed; <h3 id="Syntaxe_formelle">Syntaxe formelle</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Specifications" name="Specifications">Accessibilité</h2> diff --git a/files/fr/conflicting/web/css/@viewport_516ab4b0283b5b2231fb657505e22440/index.html b/files/fr/conflicting/web/css/@viewport_516ab4b0283b5b2231fb657505e22440/index.html index fa8238ea67..29b3b3b173 100644 --- a/files/fr/conflicting/web/css/@viewport_516ab4b0283b5b2231fb657505e22440/index.html +++ b/files/fr/conflicting/web/css/@viewport_516ab4b0283b5b2231fb657505e22440/index.html @@ -42,7 +42,7 @@ max-height: 75%;</pre> <h3 id="Syntaxe_formelle">Syntaxe formelle</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Exemples">Exemples</h2> diff --git a/files/fr/conflicting/web/css/@viewport_6e9c91ec34cdb0393d301240d0d50d84/index.html b/files/fr/conflicting/web/css/@viewport_6e9c91ec34cdb0393d301240d0d50d84/index.html index 9a1aa098dc..97cbc1a765 100644 --- a/files/fr/conflicting/web/css/@viewport_6e9c91ec34cdb0393d301240d0d50d84/index.html +++ b/files/fr/conflicting/web/css/@viewport_6e9c91ec34cdb0393d301240d0d50d84/index.html @@ -41,7 +41,7 @@ min-zoom: 150%; <h3 id="Syntaxe_formelle">Syntaxe formelle</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Spécifications">Spécifications</h2> diff --git a/files/fr/conflicting/web/css/@viewport_7861ca3461a359b150d44f2c8d74e53a/index.html b/files/fr/conflicting/web/css/@viewport_7861ca3461a359b150d44f2c8d74e53a/index.html index 09560d1c95..9ac95654d6 100644 --- a/files/fr/conflicting/web/css/@viewport_7861ca3461a359b150d44f2c8d74e53a/index.html +++ b/files/fr/conflicting/web/css/@viewport_7861ca3461a359b150d44f2c8d74e53a/index.html @@ -36,7 +36,7 @@ orientation: landscape; <h3 id="Syntaxe_formelle">Syntaxe formelle</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Spécifications">Spécifications</h2> diff --git a/files/fr/conflicting/web/css/@viewport_a47f799d4189f98a73bc55899628d6d7/index.html b/files/fr/conflicting/web/css/@viewport_a47f799d4189f98a73bc55899628d6d7/index.html index 6d31386abd..6f9ac000c1 100644 --- a/files/fr/conflicting/web/css/@viewport_a47f799d4189f98a73bc55899628d6d7/index.html +++ b/files/fr/conflicting/web/css/@viewport_a47f799d4189f98a73bc55899628d6d7/index.html @@ -42,7 +42,7 @@ min-height: 75%;</pre> <h3 id="Syntaxe_formelle">Syntaxe formelle</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Exemples">Exemples</h2> diff --git a/files/fr/conflicting/web/css/@viewport_c5f2dc316e069e8c32ab24f9117600a7/index.html b/files/fr/conflicting/web/css/@viewport_c5f2dc316e069e8c32ab24f9117600a7/index.html index 3cb1b93005..c4e3c642c9 100644 --- a/files/fr/conflicting/web/css/@viewport_c5f2dc316e069e8c32ab24f9117600a7/index.html +++ b/files/fr/conflicting/web/css/@viewport_c5f2dc316e069e8c32ab24f9117600a7/index.html @@ -41,7 +41,7 @@ min-width: 75%;</pre> <h3 id="Syntaxe_formelle">Syntaxe formelle</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Exemples">Exemples</h2> diff --git a/files/fr/conflicting/web/css/@viewport_c925ec0506b352ea1185248b874f7848/index.html b/files/fr/conflicting/web/css/@viewport_c925ec0506b352ea1185248b874f7848/index.html index 3ea88bc7b9..9a0f6a39a7 100644 --- a/files/fr/conflicting/web/css/@viewport_c925ec0506b352ea1185248b874f7848/index.html +++ b/files/fr/conflicting/web/css/@viewport_c925ec0506b352ea1185248b874f7848/index.html @@ -40,8 +40,7 @@ width: 320px 200px; <h3 id="Syntaxe_formelle">Syntaxe formelle</h3> -<pre class="syntaxbox">{{csssyntax}} -</pre> +{{csssyntax}} <h2 id="Exemples">Exemples</h2> diff --git a/files/fr/conflicting/web/css/@viewport_d03ebc763769680c55d1a4258592d3ed/index.html b/files/fr/conflicting/web/css/@viewport_d03ebc763769680c55d1a4258592d3ed/index.html index 3a4080663c..911362c944 100644 --- a/files/fr/conflicting/web/css/@viewport_d03ebc763769680c55d1a4258592d3ed/index.html +++ b/files/fr/conflicting/web/css/@viewport_d03ebc763769680c55d1a4258592d3ed/index.html @@ -41,7 +41,7 @@ max-zoom: 150%; <h3 id="Syntaxe_formelle">Syntaxe formelle</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Spécifications">Spécifications</h2> diff --git a/files/fr/conflicting/web/css/@viewport_e065ce90bde08c9679692adbe64f6518/index.html b/files/fr/conflicting/web/css/@viewport_e065ce90bde08c9679692adbe64f6518/index.html index 2cf4ac2ea8..9ad45f8df2 100644 --- a/files/fr/conflicting/web/css/@viewport_e065ce90bde08c9679692adbe64f6518/index.html +++ b/files/fr/conflicting/web/css/@viewport_e065ce90bde08c9679692adbe64f6518/index.html @@ -43,7 +43,7 @@ zoom: 150%; <h3 id="Syntaxe_formelle">Syntaxe formelle</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Spécifications">Spécifications</h2> diff --git a/files/fr/conflicting/web/css/@viewport_ff9d4f4f351256d9fdb3d21397eb3880/index.html b/files/fr/conflicting/web/css/@viewport_ff9d4f4f351256d9fdb3d21397eb3880/index.html index cd53d9ba32..0fda3ffe01 100644 --- a/files/fr/conflicting/web/css/@viewport_ff9d4f4f351256d9fdb3d21397eb3880/index.html +++ b/files/fr/conflicting/web/css/@viewport_ff9d4f4f351256d9fdb3d21397eb3880/index.html @@ -41,7 +41,7 @@ max-width: 75%;</pre> <h3 id="Syntaxe_formelle">Syntaxe formelle</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Exemples">Exemples</h2> diff --git a/files/fr/conflicting/web/css/_colon_is/index.html b/files/fr/conflicting/web/css/_colon_is/index.html index 9c45ec21a4..bf6d6b0c21 100644 --- a/files/fr/conflicting/web/css/_colon_is/index.html +++ b/files/fr/conflicting/web/css/_colon_is/index.html @@ -33,8 +33,7 @@ original_slug: Web/CSS/:any <h3 id="Syntaxe_formelle">Syntaxe formelle</h3> -<pre class="syntaxbox">{{csssyntax}} -</pre> +{{csssyntax}} <h3 id="Valeurs">Valeurs</h3> diff --git a/files/fr/conflicting/web/css/column-gap/index.html b/files/fr/conflicting/web/css/column-gap/index.html index 75e47d95a9..16d17f5046 100644 --- a/files/fr/conflicting/web/css/column-gap/index.html +++ b/files/fr/conflicting/web/css/column-gap/index.html @@ -51,7 +51,7 @@ grid-column-gap: unset; <h3 id="Syntaxe_formelle">Syntaxe formelle</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Exemples">Exemples</h2> diff --git a/files/fr/conflicting/web/css/scroll-snap-type/index.html b/files/fr/conflicting/web/css/scroll-snap-type/index.html index 43e3de46d8..6b985d9802 100644 --- a/files/fr/conflicting/web/css/scroll-snap-type/index.html +++ b/files/fr/conflicting/web/css/scroll-snap-type/index.html @@ -34,8 +34,7 @@ original_slug: Web/CSS/-ms-scroll-snap-type <h3 id="Formal_syntax" name="Formal_syntax">Syntaxe formelle</h3> -<pre class="syntaxbox">{{csssyntax}} -</pre> +{{csssyntax}} <h2 id="Specifications" name="Specifications">Spécifications</h2> diff --git a/files/fr/conflicting/web/css/user-select/index.html b/files/fr/conflicting/web/css/user-select/index.html index f8035c96b4..8c0c5577a0 100644 --- a/files/fr/conflicting/web/css/user-select/index.html +++ b/files/fr/conflicting/web/css/user-select/index.html @@ -35,8 +35,7 @@ original_slug: Web/CSS/-ms-user-select <h3 id="Formal_syntax" name="Formal_syntax">Syntaxe formelle</h3> -<pre class="syntaxbox">{{csssyntax}} -</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">Exemples</h2> |
