diff options
Diffstat (limited to 'files/fr/web/api/idbobjectstore/deleteindex/index.html')
| -rw-r--r-- | files/fr/web/api/idbobjectstore/deleteindex/index.html | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/files/fr/web/api/idbobjectstore/deleteindex/index.html b/files/fr/web/api/idbobjectstore/deleteindex/index.html index 4177b1015b..6c01a8ab42 100644 --- a/files/fr/web/api/idbobjectstore/deleteindex/index.html +++ b/files/fr/web/api/idbobjectstore/deleteindex/index.html @@ -8,7 +8,7 @@ translation_of: Web/API/IDBObjectStore/deleteIndex <p>La méthode <strong><code>deleteIndex()</code></strong> de l'interface {{domxref("IDBObjectStore")}} supprime l'index dont le nom est passé en paramètre, du magasin d'objet relié ({{domxref("IDBObjectStore")}}).</p> <div class="note"> -<p><strong>Note</strong>: Cette méthode ne peut être appelée que si la transaction ({{domxref("IDBTransaction")}}) de l'accès ({{domxref("IDBObjectStore")}}) au magasin d'objet est en mode ({{domxref("IDBTransaction.mode")}}) <strong><a href="/fr/docs/Web/API/IDBTransaction/mode#versionchange">versionchange</a></strong>. Les propriétés<strong> indexNames ({{domxref("IDBObjectStore.indexNames")}}) </strong>des accès au magasin d'object seront aussi mises à jour.</p> +<p><strong>Note :</strong> Cette méthode ne peut être appelée que si la transaction ({{domxref("IDBTransaction")}}) de l'accès ({{domxref("IDBObjectStore")}}) au magasin d'objet est en mode ({{domxref("IDBTransaction.mode")}}) <strong><a href="/fr/docs/Web/API/IDBTransaction/mode#versionchange">versionchange</a></strong>. Les propriétés<strong> indexNames ({{domxref("IDBObjectStore.indexNames")}}) </strong>des accès au magasin d'object seront aussi mises à jour.</p> </div> <p>{{AvailableInWorkers}}</p> @@ -34,8 +34,8 @@ translation_of: Web/API/IDBObjectStore/deleteIndex <dt><code>InvalidStateError</code></dt> <dd>Cette exception ({{domxref("DOMException")}}) est levée si la transaction ({{domxref("IDBTransaction")}}) dont dépend cet accès ({{domxref("IDBObjectStore")}}) au magasin d'objet n'est pas en mode ({{domxref("IDBTransaction.mode")}}) <a href="/fr/docs/Web/API/IDBTransaction/mode#versionchange"><code>versionchange</code></a>.</dd> <dt><code>TransactionInactiveError</code></dt> - <dd>Cette exception ({{domxref("DOMException")}}) est levée si la transaction ({{domxref("IDBTransaction")}}) de l'accès ({{domxref("IDBObjectStore")}}) au magasin d’objet est inactive. - <p class="note">Dans les versions de Firefox antérieur à 41, une <code>InvalidStateError</code> est levée dans ce cas aussi, ce qui est trompeur. Cela a été corrigé (voir <a class="external external-icon" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1176165" title="FIXED: Fix error codes for {create,delete}{ObjectStore,Index}">bug 1176165</a>).</p> + <dd><p>Cette exception ({{domxref("DOMException")}}) est levée si la transaction ({{domxref("IDBTransaction")}}) de l'accès ({{domxref("IDBObjectStore")}}) au magasin d’objet est inactive. + <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1176165">bug 1176165</a>).</p> </dd> <dt><code>NotFoundError</code></dt> <dd>Cette exception ({{domxref("DOMException")}}) est levée si l'index avec le nom (case sensible) demandé n'existe pas sur le magasin d'objet.</dd> @@ -94,7 +94,9 @@ DBOpenRequest.onupgradeneeded = function(event) { }; </pre> -<p class="note">Pour un exemple de travail complet, voir notre <a href="https://github.com/mdn/to-do-notifications/">To-do Notifications</a> app (<a href="http://mdn.github.io/to-do-notifications/">view example live</a>).</p> +<div class="note"> + <p><strong>Note :</strong> Pour un exemple de travail complet, voir notre <a href="https://github.com/mdn/to-do-notifications/">To-do Notifications</a> app (<a href="http://mdn.github.io/to-do-notifications/">view example live</a>).</p> +</div> <h2 id="Spécification">Spécification</h2> @@ -113,7 +115,7 @@ DBOpenRequest.onupgradeneeded = function(event) { </tbody> </table> -<h2 id="Browser_compatibility" name="Browser_compatibility">Compatibilité avec les navigateurs</h2> +<h2 id="Browser_compatibility">Compatibilité avec les navigateurs</h2> <p>{{Compat("api.IDBObjectStore.deleteIndex")}}</p> @@ -126,5 +128,5 @@ DBOpenRequest.onupgradeneeded = function(event) { <li>{{domxref("IDBKeyRange","Définir l'intervalle des clés")}}</li> <li>{{domxref("IDBObjectStore","Accès aux magasins d'objets")}}</li> <li>{{domxref("IDBCursor","Utiliser les curseur")}}</li> - <li>Exemple de référence: <a class="external" href="https://github.com/mdn/to-do-notifications/tree/gh-pages">To-do Notifications</a> (<a class="external" href="http://mdn.github.io/to-do-notifications/">view example live</a>.)</li> + <li>Exemple de référence: <a href="https://github.com/mdn/to-do-notifications/tree/gh-pages">To-do Notifications</a> (<a href="http://mdn.github.io/to-do-notifications/">view example live</a>.)</li> </ul> |
