From 48a326c0d47c8f49eb50706420a33bfcbe24f2c7 Mon Sep 17 00:00:00 2001 From: tristantheb Date: Sun, 11 Apr 2021 09:03:44 +0200 Subject: L10N: Translation of all Performance APIs/Interfaces/Properties/Methods (#232) * L10N: Translation of the Performance API pages * L10N: Translation of the Performance Timeline API pages * Fix typo, style and KS elements * UPDATE: Update content of code blocks with the Guideline * L10N: Translation of the PerformanceElementTiming pages * L10N: Translation of the PerformanceEntry pages * L10N: Translation of the PerformanceEventTiming interface * L10N: Translation of the PerformanceFrameTiming interface * L10N: Translation of the PerformanceLongTaskTiming interface * L10N: Translation of the PerformanceMark interface * L10N: Translation of the PerformanceMeasure interface * L10N: Translation of the PerformanceNavigation interface * L10N: Translation of the PerformanceNavigationTiming interface * L10N: Translation of the PerformanceObserver interface * L10N: Translation of the PerformanceObserverEntryList interface * L10N: Translation of the PerformancePaintTiming interface * L10N: Translation of the PerformanceResourceTiming interface * L10N: Translation of the PerformanceServerTiming interface * L10N: Translation of the PerformanceTiming interface * FIX: Fix KS error on PerformanceTiming interface * FIX: Change some summary and typo * FIX: Fix CSS and sentences on PerformanceObserverEntryList interface * FIX: Update KS + Change {{event()}} by link on PerformanceEventTiming interface * Review - Landing page * Review 'using' page - rm domxref * Perforamance_timeline review: rm domxref, minor rewording, missing translation * Review timeline guide page, rm domxref, rm vars in pre * Review - PerformanceElementTiming - rm domxref + trailing spaces * Review - PerformanceElementTiming.id - rm xref macros + trailing spaces * Review - PerformanceElementTiming.identifier - rm xref macros + trailing spaces * Review - PerformanceElementTiming - rm xref macros + trailing spaces * Review - PET.intersectionrect - rm domxref / minor typos * Undo spec table mixup * Review - loadTime - rm domxref * Review - naturalheight - rm domxref / trailing spaces * Review - naturalwidth - rm domxref / trailing spaces * Review - renderTime - rm domxref / trailing spaces / minor rewordings * Review - tojson - rm domxref / trailing spaces * Review - url - rm domxref / trailing spaces * Review - duration - rm domxref / minor rewordings * Review - entryType - rm domxref / minor rewordings * Review - performanceentry index - rm domxref / minor rewordings * Review PerformanceEntry.name - rm xref macros * Review PerformanceEntry.startTime - rm xref macros * Review PerformanceEntry.toJSON - rm xref macros * Review PerformanceEventTiming - rm domxref * Review PerformanceFrameTiming - rm xref macros * Review PerformanceLongTaskTiming.attribution - rm xref macros * Review PerformanceLongTaskTiming - rm xref macros * Review - PerformanceMark - rm domxref * Review - PerformanceMeasure - rm domxref * Review - PerformanceNavigation - rm domxref * Review - PerformanceNavigation.redirectcount - rm domxref * Review - PerformanceNavigation.type - rm domxref * Review - PerformanceNavigationTiming.domComplete - rm domxref * Review - PerformanceNavigationTiming.domContentLoadedEvent - rm domxref * Review - PerformanceNavigationTiming.domContentLoadedEventStart - rm domxref * Review - PerformanceNavigationTiming.domInteractive - rm domxref * Review - PerformanceNavigationTiming - rm domxref * Review - PerformanceNavigationTiming.loadEventEnd - rm domxref * Review - PerformanceNavigationTiming.loadEventStart - rm domxref * Review - PerformanceNavigationTiming.redirectCount - rm domxref * Review - PerformanceNavigationTiming.toJSON - rm domxref * Review - PerformanceNavigationTiming.type - rm domxref * Review - PerformanceNavigationTiming.unloadEventEnd - rm domxref * Review - PerformanceNavigationTiming.unloadEventStart - rm domxref * Remove DOMxRef for PerformanceTiming * Remove DOMxRef for PerformanceServerTiming * Remove DOMxRef for PerformanceResourceTiming * Review - PerformanceObserver.disconnect - rm domxref * Review - PerformanceObserver - rm domxref * Review - PerformanceObserver.observe - rm domxref * Review - PerformanceObserver.PerformanceObserver() - rm domxref * Review - PerformanceObserver.takeRecords() - rm domxref * Review - PerformanceObserverEntryList.getEntries() - rm domxref * Review - PerformanceObserver.getEntriesByName() - rm domxref * Review - PerformanceObserver.getEntriesByType() - rm domxref * Review - PerformanceObserverEntryList - rm domxref * Review - PerformanceResourceTiming.connectEnd - rm domxref * Review - PerformanceResourceTiming.connectStart * Review - PerformanceResourceTiming.decodedBodySize * Review - PerformanceResourceTiming.domainLookupEnd * Review - PerformanceResourceTiming.domainLookupStart * Review - PerformanceResourceTiming.encodedBodySize * Review - PerformanceResourceTiming.fetchStart * Review - PerformanceResourceTiming * Review - PerformanceResourceTiming.iniatorType * Review - PerformanceResourceTiming.nextHopProtocol * Review - PerformanceResourceTiming.redirectEnd * Review - PerformanceResourceTiming.redirectStart * Review - PerformanceResourceTiming.requestStart * Review - PerformanceResourceTiming.responseEnd * Review - PerformanceResourceTiming.responseStart * Review - PerformanceResourceTiming.secureConnectionStart * Review - PerformanceResourceTiming.toJSON() * Review - PerformanceResourceTiming.transferSize * Review - PerformanceResourceTiming.workerStart * Review - PerformanceServerTiming.description * Review - PerformanceServerTiming.duration * Review - PerformanceServerTiming * Review - PerformanceServerTiming.name * Review - PerformanceServerTiming.toJSON() * Review - PerformanceTiming.domComplete - rm Event * Review - PerformanceTiming.domContentLoadedEventStart - rm Event * Review - PerformanceTiming.domInteractive - rm Event * Review - PerformanceTiming.domLoading - rm Event * Review - PerformanceTiming - minor typos + thead spec * Review - PerformanceTiming.loadEventEnd - rm Event * Review - PerformanceTiming.loadEventStart - rm Event * Review - PerformanceTiming.unloadEventEnd - rm Event * Review - PerformanceTiming.unloadEventStart - rm Event * Remove final domxref / rm var in examples Co-authored-by: julieng --- files/fr/web/api/performancenavigation/index.html | 87 +++++++++++++++++++++ .../performancenavigation/redirectcount/index.html | 58 ++++++++++++++ .../web/api/performancenavigation/type/index.html | 89 ++++++++++++++++++++++ 3 files changed, 234 insertions(+) create mode 100644 files/fr/web/api/performancenavigation/index.html create mode 100644 files/fr/web/api/performancenavigation/redirectcount/index.html create mode 100644 files/fr/web/api/performancenavigation/type/index.html (limited to 'files/fr/web/api/performancenavigation') diff --git a/files/fr/web/api/performancenavigation/index.html b/files/fr/web/api/performancenavigation/index.html new file mode 100644 index 0000000000..afb5a5d7d9 --- /dev/null +++ b/files/fr/web/api/performancenavigation/index.html @@ -0,0 +1,87 @@ +--- +title: PerformanceNavigation +slug: Web/API/PerformanceNavigation +tags: + - API + - Backwards compatibility + - Deprecated + - Déprécié + - Interface + - Navigation Timing + - Navigation Timing API + - Performance + - PerformanceNavigation + - Reference + - Timing +translation_of: Web/API/PerformanceNavigation +--- +

{{APIRef("Navigation Timing")}}

+ +
+

Attention : cette interface est dépréciée dans la spécification Navigation Timing Level 2. Veuillez utiliser l'interface PerformanceNavigationTiming à la place.

+
+ +

L'ancienne interface PerformanceNavigation représente des informations sur la façon dont la navigation vers le document actuel a été effectuée.

+ +

Un objet de ce type peut être obtenu en appelant l'attribut en lecture seule Performance.navigation.

+ +

Propriétés

+ +

L'interface PerformanceNavigation n'hérite d'aucune propriété.

+ +
+
PerformanceNavigation.type {{readonlyInline}} {{deprecated_inline}}
+
Une valeur unsigned short qui indique comment la navigation vers cette page s'est faite. Les valeurs possibles sont : +
+
TYPE_NAVIGATE (0)
+
La page a été consultée en suivant un lien, un signet, un formulaire ou un script, ou en tapant l'URL dans la barre d'adresse.
+
TYPE_RELOAD (1)
+
L'accès à la page s'est fait en cliquant sur le bouton Recharger ou via la méthode Location.reload().
+
TYPE_BACK_FORWARD (2)
+
On a accédé à cette page en naviguant dans l'historique.
+
TYPE_RESERVED (255)
+
De n'importe quelle autre manière.
+
+
+
PerformanceNavigation.redirectCount {{readonlyInline}} {{deprecated_inline}}
+
Un unsigned short représentant le nombre de Redirections effectués avant d'atteindre la page.
+
+ +

Méthodes

+ +

L'interface Performance n'hérite d'aucune méthode.

+ +
+
PerformanceNavigation.toJSON() {{deprecated_inline}}
+
Un sérialiseur renvoyant un objet json représentant l'objet PerformanceNavigation.
+
+ +

Spécifications

+ + + + + + + + + + + + + + + + +
SpécificationsStatutCommentaire
{{SpecName('Navigation Timing', '#performancenavigation', 'PerformanceNavigation')}}{{Spec2('Navigation Timing')}}Définition initiale.
+ +

Compatibilité des navigateurs

+ +

{{Compat("api.PerformanceNavigation")}}

+ +

Voir aussi

+ + diff --git a/files/fr/web/api/performancenavigation/redirectcount/index.html b/files/fr/web/api/performancenavigation/redirectcount/index.html new file mode 100644 index 0000000000..8316baaf34 --- /dev/null +++ b/files/fr/web/api/performancenavigation/redirectcount/index.html @@ -0,0 +1,58 @@ +--- +title: PerformanceNavigation.redirectCount +slug: Web/API/PerformanceNavigation/redirectCount +tags: + - API + - Backwards compatibility + - Deprecated + - Déprécié + - HTML + - Navigation Timing + - PerformanceNavigation + - Property + - Propriété + - Read-only + - Héritage +translation_of: Web/API/PerformanceNavigation/redirectCount +--- +

{{APIRef("Navigation Timing")}}

+ +
+

Attention : Cette interface est dépréciée dans la spécification Navigation Timing Level 2. Veuillez utiliser la propriété PerformanceNavigationTiming.redirectCount de l'interface PerformanceNavigationTiming à la place.

+
+ +

L'ancienne propriété en lecture seule PerformanceNavigation.redirectCount renvoie un unsigned short représentant le nombre de Redirections effectués avant d'atteindre la page.

+ +

Syntaxe

+ +
let amount = performanceNavigation.redirectCount;
+ +

Spécifications

+ + + + + + + + + + + + + + + + +
SpécificationsStatutCommentaire
{{SpecName('Navigation Timing', '#dom-performancenavigation-redirectcount', + 'PerformanceNavigation.redirectCount')}}{{Spec2('Navigation Timing')}}Définition initiale.
+ +

Compatibilité des navigateurs

+ +

{{Compat("api.PerformanceNavigation.redirectCount")}}

+ +

Voir aussi

+ + diff --git a/files/fr/web/api/performancenavigation/type/index.html b/files/fr/web/api/performancenavigation/type/index.html new file mode 100644 index 0000000000..14fc86b915 --- /dev/null +++ b/files/fr/web/api/performancenavigation/type/index.html @@ -0,0 +1,89 @@ +--- +title: PerformanceNavigation.type +slug: Web/API/PerformanceNavigation/type +tags: + - API + - Backwards compatibility + - Deprecated + - Déprécié + - Navigation Timing + - PerformanceNavigation + - Property + - Propriété + - Read-only + - Héritage +translation_of: Web/API/PerformanceNavigation/type +--- +

{{APIRef("Navigation Timing")}}

+ +
+

Attention : Cette interface est dépréciée dans la spécification Navigation Timing Level 2. Veuillez utiliser la propriété PerformanceNavigationTiming.type de l'interface PerformanceNavigationTiming à la place.

+
+ +

L'ancienne propriété PerformanceNavigation.type en lecture seule renvoie un unsigned short contenant une constante décrivant comment la navigation vers cette page a été effectuée. Les valeurs possibles sont :

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ValeurNom de la constanteSignification
0TYPE_NAVIGATELa page a été consultée en suivant un lien, un signet, un formulaire, un script ou en tapant l'URL dans la barre d'adresse.
1TYPE_RELOADLa page a été consultée en cliquant sur le bouton Recharger ou via la méthode Location.reload().
2TYPE_BACK_FORWARDLa page a été consultée en naviguant dans l'historique.
255TYPE_RESERVEDDe toute autre manière.
+ +

Syntaxe

+ +
let type = performanceNavigation.type;
+ +

Spécifications

+ + + + + + + + + + + + + + + + +
SpécificationsStatutCommentaire
{{SpecName('Navigation Timing', '#dom-performancenavigation-type', + 'PerformanceNavigation.type')}}{{Spec2('Navigation Timing')}}Définition initiale.
+ +

Compatibilité des navigateurs

+ +

{{Compat("api.PerformanceNavigation.type")}}

+ +

Voir aussi

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