aboutsummaryrefslogtreecommitdiff
path: root/files/fr/orphaned
diff options
context:
space:
mode:
authorSphinxKnight <SphinxKnight@users.noreply.github.com>2021-08-02 15:49:00 +0200
committerGitHub <noreply@github.com>2021-08-02 09:49:00 -0400
commitd6ad6f26c1bee20479bc043e8b027905421e25ee (patch)
treecd4ce25e2d0f4fe3c3596657d8508db89e19ebbf /files/fr/orphaned
parent35303dd4e511bca6086a47f0f0305cf39761c0d0 (diff)
downloadtranslated-content-d6ad6f26c1bee20479bc043e8b027905421e25ee.tar.gz
translated-content-d6ad6f26c1bee20479bc043e8b027905421e25ee.tar.bz2
translated-content-d6ad6f26c1bee20479bc043e8b027905421e25ee.zip
Removes any mention of fxsitecompat.com in fr (#1839)
* Removes any mention of fxsitecompat.com * Fix back heading levels/tree
Diffstat (limited to 'files/fr/orphaned')
-rw-r--r--files/fr/orphaned/web/api/abstractworker/onerror/index.html56
1 files changed, 0 insertions, 56 deletions
diff --git a/files/fr/orphaned/web/api/abstractworker/onerror/index.html b/files/fr/orphaned/web/api/abstractworker/onerror/index.html
deleted file mode 100644
index 133e53188b..0000000000
--- a/files/fr/orphaned/web/api/abstractworker/onerror/index.html
+++ /dev/null
@@ -1,56 +0,0 @@
----
-title: AbstractWorker.onerror
-slug: orphaned/Web/API/AbstractWorker/onerror
-translation_of: Web/API/AbstractWorker/onerror
-original_slug: Web/API/AbstractWorker/onerror
----
-<p>{{ APIRef("AbstractWorker") }}</p>
-
-<p>La propriété <code><strong>AbstractWorker</strong></code><strong><code>.onerror</code></strong> de l'interface {{domxref("AbstractWorker")}} représente un {{event("Event_handlers", "event handler")}}, c'est-à-dire une fonction à appeler lorsque l'événement {{event("error")}} survient et se propage à travers le {{domxref("Worker")}}.</p>
-
-<h2 id="Syntaxe">Syntaxe</h2>
-
-<pre>myWorker.onerror = function() { ... };</pre>
-
-<h2 id="Exemple">Exemple</h2>
-
-<p>L'extrait de code suivant montre la création d'un objet <a href="https://developer.mozilla.org/en-US/docs/Web/API/Worker" title="The Worker interface represents a background task that can be easily created and can send messages back to its creator. Creating a worker is as simple as calling the Worker() constructor and specifying a script to be run in the worker thread."><code>Worker</code></a> utilisant le constructeur <a href="https://developer.mozilla.org/en-US/docs/Web/API/Worker.Worker" title="The Worker() constructor creates a Worker that executes the script at the specified URL. This script must obey the same-origin policy."><code>Worker()</code></a> et l'ajout d'un gestionnaire <code>onerror</code> à l'objet en question :</p>
-
-<pre class="brush: js">var myWorker = new Worker("worker.js");
-
-myWorker.onerror = function() {
- console.log('le worker a rencontré une erreur !');
-}</pre>
-
-<h2 id="Spécifications">Spécifications</h2>
-
-<table class="standard-table">
- <tbody>
- <tr>
- <th scope="col">Spécification</th>
- <th scope="col">Statut</th>
- <th scope="col">Commentaire</th>
- </tr>
- <tr>
- <td>{{SpecName('HTML WHATWG', "#handler-abstractworker-onerror", "AbstractWorker.onerror")}}</td>
- <td>{{Spec2('HTML WHATWG')}}</td>
- <td></td>
- </tr>
- </tbody>
-</table>
-
-<h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2>
-
-<div class="hidden">he compatibility table on 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.</div>
-
-<p>{{Compat("api.AbstractWorker.onerror")}}</p>
-
-<h3 id="Comportement_des_worker_en_cas_derreur_cross-origin">Comportement des worker en cas d'erreur cross-origin</h3>
-
-<p>Dans les versions antérieurs des navigateurs, essayer de charger un script <em>worker</em> en cross-origin lève une exception <code>SecurityError</code>; dans les versions plus récentes, un évènement {{event("error")}} est déclenché; suite à un changement de spécification. Pour plus d'information sur la manière de gérer cela: <a href="https://www.fxsitecompat.com/en-CA/docs/2016/loading-cross-origin-worker-now-fires-error-event-instead-of-throwing-worker-in-sandboxed-iframe-no-longer-allowed/">(en) Loading cross-origin worker now fires error event instead of throwing; worker in sandboxed iframe no longer allowed</a>.</p>
-
-<h2 id="Voir_aussi">Voir aussi</h2>
-
-<ul>
- <li>L'interface {{domxref("AbstractWorker")}} à laquelle elle appartient.</li>
-</ul>