iveError'
);

indexeddb_test(
  (t, db) => {
    const store = db.createObjectStore('s');

    setTimeout(t.step_func(() => {
      assert_throws_dom(
        'TransactionInactiveError', () => { store.deleteIndex('nope'); },
        '"not active" check (TransactionInactiveError) should precede ' +
        '"name in store" check (NotFoundError)');
      t.done();
    }), 0);
  },
  (t, db) => {},
  'IDBObjectStore.deleteIndex exception order: ' +
  'TransactionInactiveError vs. NotFoundError'
);

</script>
