1 if (this.importScripts) {
2 importScripts('../../../resources/js-test.js');
3 importScripts('shared.js');
6 description("Test IndexedDB transaction does not crash on abort.");
8 indexedDBTest(prepareDatabase, setVersionComplete);
9 function prepareDatabase()
11 db = event.target.result;
12 event.target.transaction.onabort = unexpectedAbortCallback;
13 evalAndLog("db.createObjectStore('foo')");
16 function setVersionComplete()
18 evalAndLog("db.transaction('foo')");
19 evalAndLog("self.gc()");