From 785c0b7c8adc9e73cfd07817009c4437255c9398 Mon Sep 17 00:00:00 2001 From: MDN Date: Wed, 10 Mar 2021 16:18:46 +0000 Subject: [CRON] sync translated content --- files/fr/_redirects.txt | 7 +- files/fr/_wikihistory.json | 54 ++++++++-------- .../web/api/passwordcredential/index.html | 74 ++++++++++++++++++++++ .../index.html | 53 ++++++++++++++++ .../index.html | 51 +++++++++++++++ files/fr/web/api/document/stylesheets/index.html | 57 +++++++++++++++++ .../documentorshadowroot/stylesheets/index.html | 57 ----------------- .../passwordcredential/additionaldata/index.html | 73 --------------------- .../web/api/passwordcredential/idname/index.html | 50 --------------- .../api/passwordcredential/passwordname/index.html | 52 --------------- 10 files changed, 267 insertions(+), 261 deletions(-) create mode 100644 files/fr/conflicting/web/api/passwordcredential/index.html create mode 100644 files/fr/conflicting/web/api/passwordcredential_bc57d5dfa87242b4fb83497887124f41/index.html create mode 100644 files/fr/conflicting/web/api/passwordcredential_cbf7b306e83a3f58ff06bccf89637c12/index.html create mode 100644 files/fr/web/api/document/stylesheets/index.html delete mode 100644 files/fr/web/api/documentorshadowroot/stylesheets/index.html delete mode 100644 files/fr/web/api/passwordcredential/additionaldata/index.html delete mode 100644 files/fr/web/api/passwordcredential/idname/index.html delete mode 100644 files/fr/web/api/passwordcredential/passwordname/index.html (limited to 'files/fr') diff --git a/files/fr/_redirects.txt b/files/fr/_redirects.txt index 71050031ab..b2979d133f 100644 --- a/files/fr/_redirects.txt +++ b/files/fr/_redirects.txt @@ -3750,8 +3750,8 @@ /fr/docs/Web/API/Document/domConfig /fr/docs/Web/API/Document /fr/docs/Web/API/Document/elementFromPoint /fr/docs/Web/API/DocumentOrShadowRoot/elementFromPoint /fr/docs/Web/API/Document/getSelection /fr/docs/Web/API/DocumentOrShadowRoot/getSelection -/fr/docs/Web/API/Document/styleSheets /fr/docs/Web/API/DocumentOrShadowRoot/styleSheets /fr/docs/Web/API/DocumentOrShadowRoot/activeElement /fr/docs/Web/API/Document/activeElement +/fr/docs/Web/API/DocumentOrShadowRoot/styleSheets /fr/docs/Web/API/Document/styleSheets /fr/docs/Web/API/Document_Object_Model/Exemples /fr/docs/Web/API/Document_Object_Model/Examples /fr/docs/Web/API/Document_Object_Model/Introduction_au_DOM /fr/docs/Web/API/Document_Object_Model/Introduction /fr/docs/Web/API/Document_Object_Model/Les_évènements_et_le_DOM /fr/docs/Web/API/Document_Object_Model/Events @@ -3891,6 +3891,9 @@ /fr/docs/Web/API/Node/innerText /fr/docs/Web/API/HTMLElement/innerText /fr/docs/Web/API/Node/nodePrincipal /fr/docs/conflicting/Web/API/Node_378aed5ed6869e50853edbc988cf9556 /fr/docs/Web/API/Node/rootNode /fr/docs/conflicting/Web/API/Node/getRootNode +/fr/docs/Web/API/PasswordCredential/additionalData /fr/docs/conflicting/Web/API/PasswordCredential +/fr/docs/Web/API/PasswordCredential/idName /fr/docs/conflicting/Web/API/PasswordCredential_cbf7b306e83a3f58ff06bccf89637c12 +/fr/docs/Web/API/PasswordCredential/passwordName /fr/docs/conflicting/Web/API/PasswordCredential_bc57d5dfa87242b4fb83497887124f41 /fr/docs/Web/API/Performance.now() /fr/docs/Web/API/Performance/now /fr/docs/Web/API/Pointer_events/gestes_pincer_zoom /fr/docs/Web/API/Pointer_events/Pinch_zoom_gestures /fr/docs/Web/API/RandomSource.getRandomValues /fr/docs/Web/API/Crypto/getRandomValues @@ -3999,7 +4002,7 @@ /fr/docs/Web/API/document.querySelector /fr/docs/Web/API/Document/querySelector /fr/docs/Web/API/document.referrer /fr/docs/Web/API/Document/referrer /fr/docs/Web/API/document.scripts /fr/docs/Web/API/Document/scripts -/fr/docs/Web/API/document.styleSheets /fr/docs/Web/API/DocumentOrShadowRoot/styleSheets +/fr/docs/Web/API/document.styleSheets /fr/docs/Web/API/Document/styleSheets /fr/docs/Web/API/event.defaultPrevented /fr/docs/Web/API/Event/defaultPrevented /fr/docs/Web/API/event.preventDefault /fr/docs/Web/API/Event/preventDefault /fr/docs/Web/API/navigator.doNotTrack /fr/docs/Web/API/Navigator/doNotTrack diff --git a/files/fr/_wikihistory.json b/files/fr/_wikihistory.json index 772741df2f..082086a96f 100644 --- a/files/fr/_wikihistory.json +++ b/files/fr/_wikihistory.json @@ -11813,24 +11813,12 @@ "SphinxKnight" ] }, - "Web/API/PasswordCredential/additionalData": { - "modified": "2020-10-15T22:15:45.161Z", - "contributors": [ - "SphinxKnight" - ] - }, "Web/API/PasswordCredential/iconURL": { "modified": "2020-10-15T22:15:45.183Z", "contributors": [ "SphinxKnight" ] }, - "Web/API/PasswordCredential/idName": { - "modified": "2020-10-15T22:15:37.132Z", - "contributors": [ - "SphinxKnight" - ] - }, "Web/API/PasswordCredential/name": { "modified": "2020-10-15T22:15:42.939Z", "contributors": [ @@ -11843,12 +11831,6 @@ "SphinxKnight" ] }, - "Web/API/PasswordCredential/passwordName": { - "modified": "2020-10-15T22:15:42.960Z", - "contributors": [ - "SphinxKnight" - ] - }, "Web/API/Payment_Request_API": { "modified": "2020-10-15T22:20:45.922Z", "contributors": [ @@ -45008,15 +44990,6 @@ "FredPl" ] }, - "Web/API/DocumentOrShadowRoot/styleSheets": { - "modified": "2019-03-23T23:06:00.949Z", - "contributors": [ - "a5er", - "fscholz", - "J.DMB", - "Nothus" - ] - }, "Web/API/HTMLElement/accessKey": { "modified": "2019-03-23T22:24:43.588Z", "contributors": [ @@ -46002,5 +45975,32 @@ "Delapouite", "Goofy" ] + }, + "Web/API/Document/styleSheets": { + "modified": "2019-03-23T23:06:00.949Z", + "contributors": [ + "a5er", + "fscholz", + "J.DMB", + "Nothus" + ] + }, + "conflicting/Web/API/PasswordCredential": { + "modified": "2020-10-15T22:15:45.161Z", + "contributors": [ + "SphinxKnight" + ] + }, + "conflicting/Web/API/PasswordCredential_cbf7b306e83a3f58ff06bccf89637c12": { + "modified": "2020-10-15T22:15:37.132Z", + "contributors": [ + "SphinxKnight" + ] + }, + "conflicting/Web/API/PasswordCredential_bc57d5dfa87242b4fb83497887124f41": { + "modified": "2020-10-15T22:15:42.960Z", + "contributors": [ + "SphinxKnight" + ] } } \ No newline at end of file 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 +--- +

{{SeeCompatTable}}{{APIRef("")}}{{Deprecated_header}}

+ +

La propriété additionalData, rattachée à l'interface {{domxref("PasswordCredential")}}, est une instance de {{domxref("FormData")}} ou une instane de {{domxref("URLSearchParams")}} ou {{jsxref("null")}}.

+ +

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.

+ +

Syntaxe

+ +
passwordCredential.additionalData = formData
+formData = passwordCredential.additionalData
+passwordCredential.additionalData = urlSearchParams
+ulrSearchParams = passwordCredential.additionalData
+
+ +

Valeur

+ +

Une instance {{domxref("FormData")}} ou une instance {{domxref("URLSearchParams")}} ou {{jsxref("null")}}.

+ +

Exemples

+ +

Dans l'exemple suivant, on crée un objet {{domxref("FormData")}} auquel on ajoute un jeton CSRF. Ensuite, on stocke l'objet du formulaire dans le paramètre additionalData avant de l'envoyer au serveur avec un appel à {{domxref("fetch")}}.

+ +
// 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
+    });
+  };
+});
+ +

Spécifications

+ + + + + + + + + + + + + + + + +
SpécificationÉtatCommentaires
{{SpecName('Credential Management')}}{{Spec2('Credential Management')}}Définition initiale.
+ +

Compatibilité des navigateurs

+ + + +

{{Compat("api.PasswordCredential.additionalData")}}

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 +--- +

{{SeeCompatTable}}{{APIRef("")}}{{Deprecated_header}}

+ +

La propriété passwordName, 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 'password' mais il est possible de la modifier afin qu'elle corresponde à la valeur attendue par le service distant.

+ +

Syntaxe

+ +
var passwordName = PasswordCredential.passwordName
+PasswordCredential.passwordName = "passcode"
+ +

Valeur

+ +

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")}}.

+ +

Exemples

+ +
// TBD
+ +

Spécifications

+ + + + + + + + + + + + + + + + +
SpécificationÉtatCommentaires
{{SpecName('Credential Management')}}{{Spec2('Credential Management')}}Définition initiale.
+ +

Compatibilité des navigateurs

+ + + +

{{Compat("api.PasswordCredential.passwordName")}}

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 +--- +

{{SeeCompatTable}}{{APIRef("")}}{{Deprecated_header}}

+ +

La propriété idName 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, 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 'username', mais on peut la définir avec n'importe quelle valeur qui serait attendue de la part d'un service distant.

+ +

Syntaxe

+ +
var idName = PasswordCredential.idName
+PasswordCredential.idName = "userID"
+ +

Valeur

+ +

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")}}.

+ +

Exemples

+ +
// TBD
+ +

Spécifications

+ + + + + + + + + + + + + + +
SpécificationÉtatCommentaires
{{SpecName('Credential Management')}}{{Spec2('Credential Management')}}Définition initiale.
+ +

Compatibilité des navigateurs

+ + + +

{{Compat("api.PasswordCredential.idName")}}

diff --git a/files/fr/web/api/document/stylesheets/index.html b/files/fr/web/api/document/stylesheets/index.html new file mode 100644 index 0000000000..2965e4eb43 --- /dev/null +++ b/files/fr/web/api/document/stylesheets/index.html @@ -0,0 +1,57 @@ +--- +title: Document.styleSheets +slug: Web/API/Document/styleSheets +translation_of: Web/API/DocumentOrShadowRoot/styleSheets +translation_of_original: Web/API/Document/styleSheets +original_slug: Web/API/DocumentOrShadowRoot/styleSheets +--- +
{{APIRef}}
+ +
La propriété Document.styleSheets est en lecture seule et retourne une liste {{domxref("StyleSheetList")}} d'objets {{domxref("StyleSheet")}}, qui font référence à l'ensemble des feuilles de style contenues ou embarquées dans le document.
+ +
 
+ +

Syntaxe

+ +
var styleSheetList = document.styleSheets;
+
+ +

L'objet retourné est une liste {{domxref("StyleSheetList")}}.

+ +

Il s'agit d'une collection ordonnée d'objets {{domxref("StyleSheet")}}. styleSheetList.item(index) ou  styleSheetList{{ mediawiki.External('index') }} retourne un seul objet stylesheet par son index (index débute par 0).

+ +

Spécification

+ + + + + + + + + + + + + + + + + + + + + + + +
SpécificationStatutCommentaire
{{SpecName('CSSOM', '#dom-document-stylesheets', 'styleSheets')}}{{Spec2('CSSOM')}} 
{{SpecName('DOM2 Style', 'stylesheets.html#StyleSheets-DocumentStyle-styleSheets', 'styleSheets')}}{{Spec2('DOM2 Style')}} 
+ +

Voir aussi

+ + + + diff --git a/files/fr/web/api/documentorshadowroot/stylesheets/index.html b/files/fr/web/api/documentorshadowroot/stylesheets/index.html deleted file mode 100644 index e61287ae60..0000000000 --- a/files/fr/web/api/documentorshadowroot/stylesheets/index.html +++ /dev/null @@ -1,57 +0,0 @@ ---- -title: Document.styleSheets -slug: Web/API/DocumentOrShadowRoot/styleSheets -translation_of: Web/API/DocumentOrShadowRoot/styleSheets -translation_of_original: Web/API/Document/styleSheets -original_slug: Web/API/Document/styleSheets ---- -
{{APIRef}}
- -
La propriété Document.styleSheets est en lecture seule et retourne une liste {{domxref("StyleSheetList")}} d'objets {{domxref("StyleSheet")}}, qui font référence à l'ensemble des feuilles de style contenues ou embarquées dans le document.
- -
 
- -

Syntaxe

- -
var styleSheetList = document.styleSheets;
-
- -

L'objet retourné est une liste {{domxref("StyleSheetList")}}.

- -

Il s'agit d'une collection ordonnée d'objets {{domxref("StyleSheet")}}. styleSheetList.item(index) ou  styleSheetList{{ mediawiki.External('index') }} retourne un seul objet stylesheet par son index (index débute par 0).

- -

Spécification

- - - - - - - - - - - - - - - - - - - - - - - -
SpécificationStatutCommentaire
{{SpecName('CSSOM', '#dom-document-stylesheets', 'styleSheets')}}{{Spec2('CSSOM')}} 
{{SpecName('DOM2 Style', 'stylesheets.html#StyleSheets-DocumentStyle-styleSheets', 'styleSheets')}}{{Spec2('DOM2 Style')}} 
- -

Voir aussi

- - - - diff --git a/files/fr/web/api/passwordcredential/additionaldata/index.html b/files/fr/web/api/passwordcredential/additionaldata/index.html deleted file mode 100644 index 48af22f69e..0000000000 --- a/files/fr/web/api/passwordcredential/additionaldata/index.html +++ /dev/null @@ -1,73 +0,0 @@ ---- -title: PasswordCredential.additionalData -slug: Web/API/PasswordCredential/additionalData -tags: - - API - - Credential Management API - - PasswordCredential - - Propriété - - Reference -translation_of: Web/API/PasswordCredential/additionalData ---- -

{{SeeCompatTable}}{{APIRef("")}}{{Deprecated_header}}

- -

La propriété additionalData, rattachée à l'interface {{domxref("PasswordCredential")}}, est une instance de {{domxref("FormData")}} ou une instane de {{domxref("URLSearchParams")}} ou {{jsxref("null")}}.

- -

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.

- -

Syntaxe

- -
passwordCredential.additionalData = formData
-formData = passwordCredential.additionalData
-passwordCredential.additionalData = urlSearchParams
-ulrSearchParams = passwordCredential.additionalData
-
- -

Valeur

- -

Une instance {{domxref("FormData")}} ou une instance {{domxref("URLSearchParams")}} ou {{jsxref("null")}}.

- -

Exemples

- -

Dans l'exemple suivant, on crée un objet {{domxref("FormData")}} auquel on ajoute un jeton CSRF. Ensuite, on stocke l'objet du formulaire dans le paramètre additionalData avant de l'envoyer au serveur avec un appel à {{domxref("fetch")}}.

- -
// 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
-    });
-  };
-});
- -

Spécifications

- - - - - - - - - - - - - - - - -
SpécificationÉtatCommentaires
{{SpecName('Credential Management')}}{{Spec2('Credential Management')}}Définition initiale.
- -

Compatibilité des navigateurs

- - - -

{{Compat("api.PasswordCredential.additionalData")}}

diff --git a/files/fr/web/api/passwordcredential/idname/index.html b/files/fr/web/api/passwordcredential/idname/index.html deleted file mode 100644 index 61b654c9ea..0000000000 --- a/files/fr/web/api/passwordcredential/idname/index.html +++ /dev/null @@ -1,50 +0,0 @@ ---- -title: idName -slug: Web/API/PasswordCredential/idName -tags: - - API - - PasswordCredential - - Propriété - - Reference - - idName -translation_of: Web/API/PasswordCredential/idName ---- -

{{SeeCompatTable}}{{APIRef("")}}{{Deprecated_header}}

- -

La propriété idName 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, 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 'username', mais on peut la définir avec n'importe quelle valeur qui serait attendue de la part d'un service distant.

- -

Syntaxe

- -
var idName = PasswordCredential.idName
-PasswordCredential.idName = "userID"
- -

Valeur

- -

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")}}.

- -

Exemples

- -
// TBD
- -

Spécifications

- - - - - - - - - - - - - - -
SpécificationÉtatCommentaires
{{SpecName('Credential Management')}}{{Spec2('Credential Management')}}Définition initiale.
- -

Compatibilité des navigateurs

- - - -

{{Compat("api.PasswordCredential.idName")}}

diff --git a/files/fr/web/api/passwordcredential/passwordname/index.html b/files/fr/web/api/passwordcredential/passwordname/index.html deleted file mode 100644 index d1399f8d18..0000000000 --- a/files/fr/web/api/passwordcredential/passwordname/index.html +++ /dev/null @@ -1,52 +0,0 @@ ---- -title: PasswordCredential.passwordName -slug: Web/API/PasswordCredential/passwordName -tags: - - API - - Credential Management API - - PasswordCredential - - Propriété - - Reference -translation_of: Web/API/PasswordCredential/passwordName ---- -

{{SeeCompatTable}}{{APIRef("")}}{{Deprecated_header}}

- -

La propriété passwordName, 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 'password' mais il est possible de la modifier afin qu'elle corresponde à la valeur attendue par le service distant.

- -

Syntaxe

- -
var passwordName = PasswordCredential.passwordName
-PasswordCredential.passwordName = "passcode"
- -

Valeur

- -

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")}}.

- -

Exemples

- -
// TBD
- -

Spécifications

- - - - - - - - - - - - - - - - -
SpécificationÉtatCommentaires
{{SpecName('Credential Management')}}{{Spec2('Credential Management')}}Définition initiale.
- -

Compatibilité des navigateurs

- - - -

{{Compat("api.PasswordCredential.passwordName")}}

-- cgit v1.2.3-54-g00ecf