| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!doctype html> |
| 2 <meta charset=utf-8> |
| 2 <title>IndexedDB: IDBObjectStore deleteIndex() Exception Ordering</title> | 3 <title>IndexedDB: IDBObjectStore deleteIndex() Exception Ordering</title> |
| 3 <meta charset=utf-8> | |
| 4 <link rel="help" href="https://w3c.github.io/IndexedDB/#dom-idbobjectstore-delet
eindex"> | 4 <link rel="help" href="https://w3c.github.io/IndexedDB/#dom-idbobjectstore-delet
eindex"> |
| 5 <script src="../../resources/testharness.js"></script> | 5 <script src="/resources/testharness.js"></script> |
| 6 <script src="../../resources/testharnessreport.js"></script> | 6 <script src="/resources/testharnessreport.js"></script> |
| 7 <script src="resources/testharness-helpers.js"></script> | 7 <script src="support.js"></script> |
| 8 <script> | 8 <script> |
| 9 | 9 |
| 10 indexeddb_test( | 10 indexeddb_test( |
| 11 (t, db) => { | 11 (t, db) => { |
| 12 const store = db.createObjectStore('s'); | 12 const store = db.createObjectStore('s'); |
| 13 store.createIndex('i', 'keyPath'); | 13 store.createIndex('i', 'keyPath'); |
| 14 }, | 14 }, |
| 15 (t, db) => { | 15 (t, db) => { |
| 16 const tx = db.transaction('s'); | 16 const tx = db.transaction('s'); |
| 17 const store = tx.objectStore('s'); | 17 const store = tx.objectStore('s'); |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 '"name in store" check (NotFoundError)'); | 59 '"name in store" check (NotFoundError)'); |
| 60 t.done(); | 60 t.done(); |
| 61 }), 0); | 61 }), 0); |
| 62 }, | 62 }, |
| 63 (t, db) => {}, | 63 (t, db) => {}, |
| 64 'IDBObjectStore.deleteIndex exception order: ' + | 64 'IDBObjectStore.deleteIndex exception order: ' + |
| 65 'TransactionInactiveError vs. NotFoundError' | 65 'TransactionInactiveError vs. NotFoundError' |
| 66 ); | 66 ); |
| 67 | 67 |
| 68 </script> | 68 </script> |
| OLD | NEW |