aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/api/performance/onresourcetimingbufferfull/index.html
diff options
context:
space:
mode:
authortristantheb <tristantheb@users.noreply.github.com>2021-03-16 06:48:45 +0100
committerGitHub <noreply@github.com>2021-03-16 06:48:45 +0100
commit0830c11eef8ef87dda77d8274abb3c15297bc2b3 (patch)
tree02a5169fa3cff34994a9024330a4496bb7539e7a /files/fr/web/api/performance/onresourcetimingbufferfull/index.html
parentd49032372e1ad262a313dc974d8de6bb6efbf784 (diff)
downloadtranslated-content-0830c11eef8ef87dda77d8274abb3c15297bc2b3.tar.gz
translated-content-0830c11eef8ef87dda77d8274abb3c15297bc2b3.tar.bz2
translated-content-0830c11eef8ef87dda77d8274abb3c15297bc2b3.zip
Complete French translation of the Performance interface (#163)
* UPDATE: Update the content of the Performance page * CREATE: Translate the performance.clearMarks() page * CREATE: Translate the performance.clearMeasures() page * CREATE: Translate the performance.clearResourceTiming() page * CREATE: Translate the performance.getEntries() page * FIX: Tags not updated during the translation phase * CREATE: Translate the performance.getEntriesByName() page * CREATE: Translate the performance.getEntriesByType() page * CREATE: Translate the performance.mark() page * CREATE: Translate the performance.measure() page * CREATE: Translate the performance.memory page * CREATE: Translate the performance.onresourcetimingbufferfull page * CREATE: Translate the performance.onresourcetimingbufferfull_event page * CREATE: Translate the performance.setResourceTimingBufferSize() page * CREATE: Translate the performance.timeOrigin page * CREATE: Translate the performance.timing page * CREATE: Translate the performance.toJSON() page * UPDATE: Update content of the performance.navigation page * UPDATE: Update content of the performance.now() page * FIX: Fix several typo and style issues * Minor typofixes for #163 (1/n) * Minor typofixes for #163 (2/n) * Minor typofixes for #163 (3/n) * Minor modifications for #163 (4/n) * Minor typofixes for #163 (5/n) * Minor typofixes for #163 (6/n) * Minor typofixes for #163 (7/n) * Minor typofixes for #163 (8/n) * Minor typofixes for #163 (9/n) * Minor changes for #163 (10/n) * Minor typofixes for #163 (10/n) * Minor typofixes for #163 (12/n) * Minor typofixes for #163 (13/n) * Minor typofixes for #163 (14/n) * Minor typofixes for #163 (15/n) * Minor typofixes for #163 (16/n) * Minor typofixes for #163 (n/n) Co-authored-by: SphinxKnight <SphinxKnight@users.noreply.github.com>
Diffstat (limited to 'files/fr/web/api/performance/onresourcetimingbufferfull/index.html')
-rw-r--r--files/fr/web/api/performance/onresourcetimingbufferfull/index.html78
1 files changed, 78 insertions, 0 deletions
diff --git a/files/fr/web/api/performance/onresourcetimingbufferfull/index.html b/files/fr/web/api/performance/onresourcetimingbufferfull/index.html
new file mode 100644
index 0000000000..251d9666b9
--- /dev/null
+++ b/files/fr/web/api/performance/onresourcetimingbufferfull/index.html
@@ -0,0 +1,78 @@
+---
+title: performance.onresourcetimingbufferfull
+slug: Web/API/Performance/onresourcetimingbufferfull
+tags:
+- API
+- Method
+- Méthode
+- Reference
+- Performance web
+translation_of: Web/API/Performance/onresourcetimingbufferfull
+---
+<div>{{APIRef("Resource Timing API")}}</div>
+
+<p class="seoSummary">La propriété <strong><code>onresourcetimingbufferfull</code></strong> est un gestionnaire d'événements qui sera appelé lorsque l'événement <a href="/fr/docs/Web/API/Performance/resourcetimingbufferfull_event"><code>resourcetimingbufferfull</code></a> est déclenché. Ce déclenchement a lieu lorsque le tampon de performance de synchronisation des ressources du navigateur est plein.</p>
+
+<p>{{AvailableInWorkers}}</p>
+
+<h2 id="Syntax">Syntaxe</h2>
+
+<pre class="brush: js">
+ callback = performance.onresourcetimingbufferfull = buffer_full_cb;
+</pre>
+
+<h3 id="Return_Value">Valeur de retour</h3>
+
+<dl>
+ <dt><code>callback</code></dt>
+ <dd>Un {{domxref("EventHandler")}} qui est invoqué lorsque l'événement <a href="/fr/docs/Web/API/Performance/resourcetimingbufferfull_event"><code>resourcetimingbufferfull</code></a> est déclenché.</dd>
+</dl>
+
+<h2 id="Example">Exemple</h2>
+
+<p>L'exemple suivant définit une fonction de rappel sur la propriété <code>onresourcetimingbufferfull</code>.</p>
+
+<pre class="brush: js">function buffer_full(event) {
+ console.log("WARNING: Resource Timing Buffer is FULL!");
+ performance.setResourceTimingBufferSize(200);
+}
+function init() {
+ // Définit un rappel si le tampon de ressources est rempli.
+ performance.onresourcetimingbufferfull = buffer_full;
+}
+</pre>
+
+<h2 id="Specifications">Spécifications</h2>
+
+<table class="standard-table">
+ <thead>
+ <tr>
+ <th scope="col">Spécification</th>
+ <th scope="col">Statut</th>
+ <th scope="col">Commentaire</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>{{SpecName('Resource Timing', '#dom-performance-onresourcetimingbufferfull',
+ 'onresourcetimingbufferfull')}}</td>
+ <td>{{Spec2('Resource Timing')}}</td>
+ <td>Définition initiale.</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="Browser_compatibility">Compatibilité des navigateurs</h2>
+
+<p>{{Compat("api.Performance.onresourcetimingbufferfull")}}</p>
+
+<h2 id="See_also">Voir aussi</h2>
+
+<ul>
+ <li>Événément <a href="/fr/docs/Web/API/Performance/resourcetimingbufferfull_event"><code>resourcetimingbufferfull</code></a></li>
+ <li>{{domxref("Performance.clearResourceTimings","Performance.clearResourceTimings()")}}
+ </li>
+ <li>
+ {{domxref("Performance.setResourceTimingBufferSize","Performance.setResourceTimingBufferSize()")}}
+ </li>
+</ul>