Source code

Revision control

Other Tools

1
<script>
2
const dbRequest = window.indexedDB.open('bug1505821_1_hello');
3
dbRequest.onupgradeneeded = function (event) {
4
const store = event.target.result.createObjectStore('IDBStore_1', {autoIncrement: true});
5
store.createIndex('I', [''], {unique: true});
6
store.createIndex('J', ['a', ''], {unique: true});
7
store.createIndex('M', ['', 'a'], {unique: true});
8
store.createIndex('K', ['', 'a', ''], {unique: true});
9
store.createIndex('L', ['', '', ''], {unique: true});
10
}
11
12
const dbRequest2 = window.indexedDB.open('bug1505821_1_hello');
13
dbRequest.onsuccess = function (event) {
14
window.indexedDB.deleteDatabase("bug1507229_1_hello");
15
}
16
</script>