Skip to content

Commit

Permalink
IndexedDB: Fix exception type expected for invalid transaction() mode
Browse files Browse the repository at this point in the history
  • Loading branch information
inexorabletash committed Apr 4, 2017
1 parent ba5a2e9 commit a7a16c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions IndexedDB/idbdatabase-transaction-exception-order.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@
assert_throws('NotFoundError', () => {
db.transaction('no-such-store', 'versionchange');
}, '"No such store" check (NotFoundError) should precede ' +
'"invalid mode" check (InvalidAccessError)');
'"invalid mode" check (TypeError)');
t.done();
},
'IDBDatabase.transaction exception order: NotFoundError vs. InvalidAccessError'
'IDBDatabase.transaction exception order: NotFoundError vs. TypeError'
);

</script>

0 comments on commit a7a16c3

Please sign in to comment.