OLD | NEW |
| 1 CONSOLE WARNING: 'DOMStringList.contains()' is deprecated, and will be removed. |
1 Test IndexedDB IDBDatabase internal closePending flag | 2 Test IndexedDB IDBDatabase internal closePending flag |
2 | 3 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 5 |
5 | 6 |
6 dbname = "database-closepending-flag.html" | 7 dbname = "database-closepending-flag.html" |
7 indexedDB.deleteDatabase(dbname) | 8 indexedDB.deleteDatabase(dbname) |
8 indexedDB.open(dbname) | 9 indexedDB.open(dbname) |
9 store = connection.createObjectStore('store') | 10 store = connection.createObjectStore('store') |
10 | 11 |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 transaction = connection.transaction('store') | 68 transaction = connection.transaction('store') |
68 connection.close() | 69 connection.close() |
69 closePending is set, but active transaction will keep connection from closing | 70 closePending is set, but active transaction will keep connection from closing |
70 request = indexedDB.deleteDatabase(dbname) | 71 request = indexedDB.deleteDatabase(dbname) |
71 'blocked' event fired, letting transaction complete and connection close | 72 'blocked' event fired, letting transaction complete and connection close |
72 PASS versionChangeWasFired is false | 73 PASS versionChangeWasFired is false |
73 PASS successfullyParsed is true | 74 PASS successfullyParsed is true |
74 | 75 |
75 TEST COMPLETE | 76 TEST COMPLETE |
76 | 77 |
OLD | NEW |