diff options
Diffstat (limited to 'files/fr/archive/b2g_os/api/domrequest')
6 files changed, 0 insertions, 436 deletions
diff --git a/files/fr/archive/b2g_os/api/domrequest/error/index.html b/files/fr/archive/b2g_os/api/domrequest/error/index.html deleted file mode 100644 index 97e50b6908..0000000000 --- a/files/fr/archive/b2g_os/api/domrequest/error/index.html +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: DOMRequest.error -slug: Archive/B2G_OS/API/DOMRequest/error -tags: - - DOM -translation_of: Archive/B2G_OS/API/DOMRequest/error ---- -<div><section class="Quick_links" id="Quick_Links"><ol><li><strong><a href="/en-US/docs/Mozilla/Firefox_OS/API/Archive"><code>Archive</code></a></strong></li><li data-default-state="open"><a href="#"><strong>Related pages for DOM (Non-standard)</strong></a><ol><li><a href="/en-US/docs/Mozilla/Firefox_OS/API/DOMCursor"><code>DOMCursor</code></a></li></ol></li></ol></section></div> - -<p>This property can contain error information in a <a href="/en-US/docs/Web/API/DOMError" title="The DOMError interface describes an error object that contains an error name."><code>DOMError</code></a> object.</p> - -<p></p><div class="note"><strong>Note:</strong> This feature is available in <a href="/en-US/docs/Web/API/Web_Workers_API">Web Workers</a>.</div><p></p> - -<h2 id="Syntax">Syntax</h2> - -<pre class="eval">var <em>errorname</em> = <em>request</em>.error.name; -</pre> - -<p>Where <em>request</em> is a <a href="/en-US/docs/Web/API/DOMRequest" title="The documentation about this has not yet been written; please consider contributing!"><code>DOMRequest</code></a> object. This gets the name of the error. See <a href="/en-US/docs/Web/API/DOMError" title="The DOMError interface describes an error object that contains an error name."><code>DOMError</code></a> for the error types.</p> - -<h2 id="Specifications">Specifications</h2> - -<p>Not part of any current specification.</p> - -<h2 id="Browser_compatibility">Browser compatibility</h2> - -<p>Supported in Firefox 13.<br> - Available in workers in Firefox 41.</p> - -<h2 id="See_also">See also</h2> - -<ul> - <li><a href="/en-US/docs/Web/API/DOMRequest" title="The documentation about this has not yet been written; please consider contributing!"><code>DOMRequest</code></a></li> - <li><a href="/en-US/docs/Web/API/DOMRequest/onsuccess" title="The documentation about this has not yet been written; please consider contributing!"><code>DOMRequest.onsuccess</code></a></li> - <li><a href="/en-US/docs/Web/API/DOMRequest/onerror" title="The documentation about this has not yet been written; please consider contributing!"><code>DOMRequest.onerror</code></a></li> - <li><a href="/en-US/docs/Web/API/DOMRequest/readyState" title="The documentation about this has not yet been written; please consider contributing!"><code>DOMRequest.readyState</code></a></li> - <li><a href="/en-US/docs/Web/API/DOMRequest/result" title="The documentation about this has not yet been written; please consider contributing!"><code>DOMRequest.result</code></a></li> -</ul> diff --git a/files/fr/archive/b2g_os/api/domrequest/index.html b/files/fr/archive/b2g_os/api/domrequest/index.html deleted file mode 100644 index 6fb4e8f968..0000000000 --- a/files/fr/archive/b2g_os/api/domrequest/index.html +++ /dev/null @@ -1,97 +0,0 @@ ---- -title: DOMRequest -slug: Archive/B2G_OS/API/DOMRequest -tags: - - DOM - - Référence_du_DOM_Gecko -translation_of: Archive/B2G_OS/API/DOMRequest ---- -<p>{{ ApiRef() }}</p> -<p>{{ non-standard_header() }}</p> -<p>Un objet <code>DOMRequest</code> représente une opération en cours. Il fournit des callbacks qui sont appelés quand l'operation est finit, ainsi qu'une reférence au résultat de l'opération. Une méthode DOM qui initie une opération se poursuivant au cours du temps, retounera un objet <code>DOMRequest</code> que vous pouvez surveiller pour connaitre le déroulement de l'opération</p> -<h2 id="Attributs">Attributs</h2> -<dl> - <dt> - {{ domxref("DOMRequest.onsuccess") }}</dt> - <dd> - Pour définir un callback à appeler quand l'opération représentée par <code>DOMRequest</code> est terminée</dd> - <dt> - {{ domxref("DOMRequest.onerror") }}</dt> - <dd> - Pour définir un callback qui sera appelé si une erreur survient pendant le déroulement de l'opération.</dd> - <dt> - {{ domxref("DOMRequest.readyState") }}</dt> - <dd> - Une chaîne de caractère indiquant si l'opération tourne toujours. Sa valeur est soit "<code>done</code>" ou "<code>pending</code>".</dd> - <dt> - {{ domxref("DOMRequest.result") }}</dt> - <dd> - Le résultat de l'opération.</dd> - <dt> - {{ domxref("DOMRequest.error") }}</dt> - <dd> - Information de l'erreur, si présent.</dd> -</dl> -<h2 id="Exemple">Exemple</h2> -<p>Un exemple de l'utilisation des propriétés <code>onsuccess</code>, <code>onerror</code>, <code>result</code> et <code>error</code> de l'objet <code>DOMRequest</code>.</p> -<pre class="brush: js">var pending = navigator.mozApps.install(manifestUrl); -pending.onsuccess = function () { - // Enregistre l'objet App renvoyé - var appRecord = this.result; - alert('Installation réussie !'); -}; -pending.onerror = function () { - // Affiche le nom de l'erreur - alert('Installation échouée, erreur : ' + this.error.name); -}; -</pre> -<h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2> -<p>{{ CompatibilityTable() }}</p> -<div id="compat-desktop"> - <table class="compat-table"> - <tbody> - <tr> - <th>Fonction</th> - <th>Chrome</th> - <th>Firefox (Gecko)</th> - <th>Internet Explorer</th> - <th>Opera</th> - <th>Safari</th> - </tr> - <tr> - <td>Support de base</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatGeckoDesktop("13.0") }}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - </tr> - </tbody> - </table> -</div> -<div id="compat-mobile"> - <table class="compat-table"> - <tbody> - <tr> - <th>Fonction</th> - <th>Android</th> - <th>Chrome pour Android</th> - <th>Firefox Mobile (Gecko)</th> - <th>IE Mobile</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - </tr> - <tr> - <td>Support de base</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatGeckoMobile("13.0") }}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - </tr> - </tbody> - </table> -</div> -<h2 id="Spécification">Spécification</h2> -<p>Ne fait actuellement partie d'aucune spécification</p> diff --git a/files/fr/archive/b2g_os/api/domrequest/onerror/index.html b/files/fr/archive/b2g_os/api/domrequest/onerror/index.html deleted file mode 100644 index 81160a27cb..0000000000 --- a/files/fr/archive/b2g_os/api/domrequest/onerror/index.html +++ /dev/null @@ -1,74 +0,0 @@ ---- -title: DOMRequest.onerror -slug: Archive/B2G_OS/API/DOMRequest/onerror -tags: - - DOM - - Référence_du_DOM_Gecko -translation_of: Archive/B2G_OS/API/DOMRequest/onerror ---- -<p>{{ ApiRef() }}</p> -<p>{{ non-standard_header() }}</p> -<h2 id="Summary" name="Summary">Résumé</h2> -<p>Cette propriété renseigne la fonction de callback à appeler quand un {{ domxref("DOMRequest") }} échoue.</p> -<h2 id="Syntax" name="Syntax">Syntaxe</h2> -<pre class="eval"><em>requete</em>.onerror = <em>fonction</em>; -</pre> -<p>Où <em>requete</em> est un objet {{ domxref("DOMRequest") }} et <em>fonction</em> est une fonction JavaScript à éxecuter quand la requête ne parvient pas à se terminer sans problème.</p> -<h2 id="Specification" name="Specification">Spécification</h2> -<p>Ne fait actuellement partie d'aucune spécification.</p> -<h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2> -<p>{{ CompatibilityTable() }}</p> -<div id="compat-desktop"> - <table class="compat-table"> - <tbody> - <tr> - <th>Fonction</th> - <th>Chrome</th> - <th>Firefox (Gecko)</th> - <th>Internet Explorer</th> - <th>Opera</th> - <th>Safari</th> - </tr> - <tr> - <td>Support de base</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatGeckoDesktop("13.0") }}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - </tr> - </tbody> - </table> -</div> -<div id="compat-mobile"> - <table class="compat-table"> - <tbody> - <tr> - <th>Fonction</th> - <th>Android</th> - <th>Chrome pour Android</th> - <th>Firefox Mobile (Gecko)</th> - <th>IE Mobile</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - </tr> - <tr> - <td>Support de base</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatGeckoMobile("13.0") }}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - </tr> - </tbody> - </table> -</div> -<h2 id="Voir_aussi">Voir aussi</h2> -<ul> - <li>{{ domxref("DOMRequest") }}</li> - <li>{{ domxref("DOMRequest.onsuccess") }}</li> - <li>{{ domxref("DOMRequest.readyState") }}</li> - <li>{{ domxref("DOMRequest.result") }}</li> - <li>{{ domxref("DOMRequest.error") }}</li> -</ul> diff --git a/files/fr/archive/b2g_os/api/domrequest/onsuccess/index.html b/files/fr/archive/b2g_os/api/domrequest/onsuccess/index.html deleted file mode 100644 index 454fb8e72a..0000000000 --- a/files/fr/archive/b2g_os/api/domrequest/onsuccess/index.html +++ /dev/null @@ -1,74 +0,0 @@ ---- -title: DOMRequest.onsuccess -slug: Archive/B2G_OS/API/DOMRequest/onsuccess -tags: - - DOM - - Référence_du_DOM_Gecko -translation_of: Archive/B2G_OS/API/DOMRequest/onsuccess ---- -<p>{{ ApiRef() }}</p> -<p>{{ non-standard_header() }}</p> -<h2 id="Summary" name="Summary">Résumé</h2> -<p>Cette propriété renseigne la fonction de callback à appeler quand un {{ domxref("DOMRequest") }} se termine sans problème.</p> -<h2 id="Syntax" name="Syntax">Syntaxe</h2> -<pre class="eval"><em>requete</em>.onsuccess = <em>fonction</em>; -</pre> -<p>Où <em>requete</em> est un objet {{ domxref("DOMRequest") }} et <em>fonction</em> est une fonction JavaScript à executer quand le requête se termine sans problème.</p> -<h2 id="Specification" name="Specification">Spécification</h2> -<p>Ne fait actuellement partie d'aucune spécification.</p> -<h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2> -<p>{{ CompatibilityTable() }}</p> -<div id="compat-desktop"> - <table class="compat-table"> - <tbody> - <tr> - <th>Fonction</th> - <th>Chrome</th> - <th>Firefox (Gecko)</th> - <th>Internet Explorer</th> - <th>Opera</th> - <th>Safari</th> - </tr> - <tr> - <td>Support de base</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatGeckoDesktop("13.0") }}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - </tr> - </tbody> - </table> -</div> -<div id="compat-mobile"> - <table class="compat-table"> - <tbody> - <tr> - <th>Fonction</th> - <th>Android</th> - <th>Chrome pour Android</th> - <th>Firefox Mobile (Gecko)</th> - <th>IE Mobile</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - </tr> - <tr> - <td>Support de base</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatGeckoMobile("13.0") }}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - </tr> - </tbody> - </table> -</div> -<h2 id="Voir_aussi">Voir aussi</h2> -<ul> - <li>{{ domxref("DOMRequest") }}</li> - <li>{{ domxref("DOMRequest.onerror") }}</li> - <li>{{ domxref("DOMRequest.readyState") }}</li> - <li>{{ domxref("DOMRequest.result") }}</li> - <li>{{ domxref("DOMRequest.error") }}</li> -</ul> diff --git a/files/fr/archive/b2g_os/api/domrequest/readystate/index.html b/files/fr/archive/b2g_os/api/domrequest/readystate/index.html deleted file mode 100644 index 15e22601a4..0000000000 --- a/files/fr/archive/b2g_os/api/domrequest/readystate/index.html +++ /dev/null @@ -1,77 +0,0 @@ ---- -title: DOMRequest.readyState -slug: Archive/B2G_OS/API/DOMRequest/readyState -tags: - - DOM - - Référence_du_DOM_Gecko -translation_of: Archive/B2G_OS/API/DOMRequest/readyState ---- -<p>{{ ApiRef() }}</p> -<p>{{ non-standard_header() }}</p> -<h2 id="Summary" name="Summary">Résumé</h2> -<p>Cette propriété est une chaîne de caractères indiquant si une opération {{ domxref("DOMRequest") }} a fini, ou pas, de s'éxecuter.</p> -<h2 id="Syntax" name="Syntax">Syntaxe</h2> -<pre class="eval">var etat = requete.readyState; -</pre> -<p>Où <em>requete</em> est un objet {{ domxref("DOMRequest") }}.</p> -<p>Cette propriété est en lecture seul.</p> -<h2 id="Valeur_renvoyée">Valeur renvoyée</h2> -<p>La valeur renvoyé est une chaîne de caractères JavaScript dont le contenu est "<code>done</code>" si l'opération est finie ou "<code>pending</code>" si elle ne l'est pas.</p> -<h2 id="Specification" name="Specification">Spécification</h2> -<p>Ne fait actuellement partie d'aucune spécification.</p> -<h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2> -<p>{{ CompatibilityTable() }}</p> -<div id="compat-desktop"> - <table class="compat-table"> - <tbody> - <tr> - <th>Fonction</th> - <th>Chrome</th> - <th>Firefox (Gecko)</th> - <th>Internet Explorer</th> - <th>Opera</th> - <th>Safari</th> - </tr> - <tr> - <td>Support de base</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatGeckoDesktop("13.0") }}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - </tr> - </tbody> - </table> -</div> -<div id="compat-mobile"> - <table class="compat-table"> - <tbody> - <tr> - <th>Fonction</th> - <th>Android</th> - <th>Chrome pour Android</th> - <th>Firefox Mobile (Gecko)</th> - <th>IE Mobile</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - </tr> - <tr> - <td>Support de base</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatGeckoMobile("13.0") }}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - </tr> - </tbody> - </table> -</div> -<h2 id="Voir_aussi">Voir aussi</h2> -<ul> - <li>{{ domxref("DOMRequest") }}</li> - <li>{{ domxref("DOMRequest.onsuccess") }}</li> - <li>{{ domxref("DOMRequest.onerror") }}</li> - <li>{{ domxref("DOMRequest.result") }}</li> - <li>{{ domxref("DOMRequest.error") }}</li> -</ul> diff --git a/files/fr/archive/b2g_os/api/domrequest/result/index.html b/files/fr/archive/b2g_os/api/domrequest/result/index.html deleted file mode 100644 index 73efc17722..0000000000 --- a/files/fr/archive/b2g_os/api/domrequest/result/index.html +++ /dev/null @@ -1,76 +0,0 @@ ---- -title: DOMRequest.result -slug: Archive/B2G_OS/API/DOMRequest/result -tags: - - DOM - - Référence_du_DOM_Gecko -translation_of: Archive/B2G_OS/API/DOMRequest/result ---- -<p>{{ ApiRef() }}</p> -<p>{{ non-standard_header() }}</p> -<h2 id="Summary" name="Summary">Résumé</h2> -<p>Cette propriété fournit la valeur de résultat pour l'opération d'un {{ domxref("DOMRequest") }}.</p> -<h2 id="Syntax" name="Syntax">Syntaxe</h2> -<pre class="eval">var <em>resultat</em> = <em>requete</em>.result; -</pre> -<p>Où <em>requête</em> est un objet {{ domxref("DOMRequest") }}.</p> -<h2 id="Valeur_renvoyée">Valeur renvoyée</h2> -<p>La valeur renvoyée est un objet JavaScript représentant le résultat de l'opération.</p> -<h2 id="Specification" name="Specification">Spécification</h2> -<p>Ne fait actuellement partie d'aucune spécification.</p> -<h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2> -<p>{{ CompatibilityTable() }}</p> -<div id="compat-desktop"> - <table class="compat-table"> - <tbody> - <tr> - <th>Fonction</th> - <th>Chrome</th> - <th>Firefox (Gecko)</th> - <th>Internet Explorer</th> - <th>Opera</th> - <th>Safari</th> - </tr> - <tr> - <td>Support de base</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatGeckoDesktop("13.0") }}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - </tr> - </tbody> - </table> -</div> -<div id="compat-mobile"> - <table class="compat-table"> - <tbody> - <tr> - <th>Fonction</th> - <th>Android</th> - <th>Chrome pour Android</th> - <th>Firefox Mobile (Gecko)</th> - <th>IE Mobile</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - </tr> - <tr> - <td>Support de base</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatGeckoMobile("13.0") }}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - </tr> - </tbody> - </table> -</div> -<h2 id="Voir_aussi">Voir aussi</h2> -<ul> - <li>{{ domxref("DOMRequest") }}</li> - <li>{{ domxref("DOMRequest.onsuccess") }}</li> - <li>{{ domxref("DOMRequest.onerror") }}</li> - <li>{{ domxref("DOMRequest.readyState") }}</li> - <li>{{ domxref("DOMRequest.error") }}</li> -</ul> |
