| Index: LayoutTests/storage/indexeddb/transaction-basics-expected.txt
|
| diff --git a/LayoutTests/storage/indexeddb/transaction-basics-expected.txt b/LayoutTests/storage/indexeddb/transaction-basics-expected.txt
|
| index 4874e9b5b17154aa7ec670d51cd56c71150f1913..4588c4d955e782a5bb4a2b68c9df51ef39c076cf 100644
|
| --- a/LayoutTests/storage/indexeddb/transaction-basics-expected.txt
|
| +++ b/LayoutTests/storage/indexeddb/transaction-basics-expected.txt
|
| @@ -23,7 +23,7 @@ Expecting exception from store.deleteIndex('indexFail')
|
| PASS Exception was thrown.
|
| PASS code is DOMException.INVALID_STATE_ERR
|
| PASS ename is 'InvalidStateError'
|
| -Exception message: The object store has been deleted.
|
| +Exception message: Failed to execute 'deleteIndex' on 'IDBObjectStore': The object store has been deleted.
|
|
|
| testSetVersionAbort2():
|
| PASS self.db.objectStoreNames is []
|
| @@ -41,7 +41,7 @@ Expecting exception from store.deleteIndex('indexFail')
|
| PASS Exception was thrown.
|
| PASS code is DOMException.INVALID_STATE_ERR
|
| PASS ename is 'InvalidStateError'
|
| -Exception message: The object store has been deleted.
|
| +Exception message: Failed to execute 'deleteIndex' on 'IDBObjectStore': The object store has been deleted.
|
| store = db.createObjectStore('storeFail', null)
|
| index = store.createIndex('indexFail', 'x')
|
|
|
| @@ -64,57 +64,57 @@ Expecting exception from index.openCursor()
|
| PASS Exception was thrown.
|
| PASS code is 0
|
| PASS ename is 'TransactionInactiveError'
|
| -Exception message: The transaction has finished.
|
| +Exception message: Failed to execute 'openCursor' on 'IDBIndex': The transaction has finished.
|
| Expecting exception from index.openKeyCursor()
|
| PASS Exception was thrown.
|
| PASS code is 0
|
| PASS ename is 'TransactionInactiveError'
|
| -Exception message: The transaction has finished.
|
| +Exception message: Failed to execute 'openKeyCursor' on 'IDBIndex': The transaction has finished.
|
| Expecting exception from index.get(0)
|
| PASS Exception was thrown.
|
| PASS code is 0
|
| PASS ename is 'TransactionInactiveError'
|
| -Exception message: The transaction has finished.
|
| +Exception message: Failed to execute 'get' on 'IDBIndex': The transaction has finished.
|
| Expecting exception from index.getKey(0)
|
| PASS Exception was thrown.
|
| PASS code is 0
|
| PASS ename is 'TransactionInactiveError'
|
| -Exception message: The transaction has finished.
|
| +Exception message: Failed to execute 'getKey' on 'IDBIndex': The transaction has finished.
|
| Expecting exception from index.count()
|
| PASS Exception was thrown.
|
| PASS code is 0
|
| PASS ename is 'TransactionInactiveError'
|
| -Exception message: The transaction has finished.
|
| +Exception message: Failed to execute 'count' on 'IDBIndex': The transaction has finished.
|
| Expecting exception from store.put(0, 0)
|
| PASS Exception was thrown.
|
| PASS code is 0
|
| PASS ename is 'TransactionInactiveError'
|
| -Exception message: The transaction has finished.
|
| +Exception message: Failed to execute 'put' on 'IDBObjectStore': The transaction has finished.
|
| Expecting exception from store.add(0, 0)
|
| PASS Exception was thrown.
|
| PASS code is 0
|
| PASS ename is 'TransactionInactiveError'
|
| -Exception message: The transaction has finished.
|
| +Exception message: Failed to execute 'add' on 'IDBObjectStore': The transaction has finished.
|
| Expecting exception from store.delete(0)
|
| PASS Exception was thrown.
|
| PASS code is 0
|
| PASS ename is 'TransactionInactiveError'
|
| -Exception message: The transaction has finished.
|
| +Exception message: Failed to execute 'delete' on 'IDBObjectStore': The transaction has finished.
|
| Expecting exception from store.clear()
|
| PASS Exception was thrown.
|
| PASS code is 0
|
| PASS ename is 'TransactionInactiveError'
|
| -Exception message: The transaction has finished.
|
| +Exception message: Failed to execute 'clear' on 'IDBObjectStore': The transaction has finished.
|
| Expecting exception from store.get(0)
|
| PASS Exception was thrown.
|
| PASS code is 0
|
| PASS ename is 'TransactionInactiveError'
|
| -Exception message: The transaction has finished.
|
| +Exception message: Failed to execute 'get' on 'IDBObjectStore': The transaction has finished.
|
| Expecting exception from store.openCursor()
|
| PASS Exception was thrown.
|
| PASS code is 0
|
| PASS ename is 'TransactionInactiveError'
|
| -Exception message: The transaction has finished.
|
| +Exception message: Failed to execute 'openCursor' on 'IDBObjectStore': The transaction has finished.
|
|
|
| testSetVersionAbort4():
|
| PASS self.db.objectStoreNames is []
|
| @@ -133,57 +133,57 @@ Expecting exception from index.openCursor()
|
| PASS Exception was thrown.
|
| PASS code is 0
|
| PASS ename is 'TransactionInactiveError'
|
| -Exception message: The transaction has finished.
|
| +Exception message: Failed to execute 'openCursor' on 'IDBIndex': The transaction has finished.
|
| Expecting exception from index.openKeyCursor()
|
| PASS Exception was thrown.
|
| PASS code is 0
|
| PASS ename is 'TransactionInactiveError'
|
| -Exception message: The transaction has finished.
|
| +Exception message: Failed to execute 'openKeyCursor' on 'IDBIndex': The transaction has finished.
|
| Expecting exception from index.get(0)
|
| PASS Exception was thrown.
|
| PASS code is 0
|
| PASS ename is 'TransactionInactiveError'
|
| -Exception message: The transaction has finished.
|
| +Exception message: Failed to execute 'get' on 'IDBIndex': The transaction has finished.
|
| Expecting exception from index.getKey(0)
|
| PASS Exception was thrown.
|
| PASS code is 0
|
| PASS ename is 'TransactionInactiveError'
|
| -Exception message: The transaction has finished.
|
| +Exception message: Failed to execute 'getKey' on 'IDBIndex': The transaction has finished.
|
| Expecting exception from index.count()
|
| PASS Exception was thrown.
|
| PASS code is 0
|
| PASS ename is 'TransactionInactiveError'
|
| -Exception message: The transaction has finished.
|
| +Exception message: Failed to execute 'count' on 'IDBIndex': The transaction has finished.
|
| Expecting exception from store.put(0, 0)
|
| PASS Exception was thrown.
|
| PASS code is 0
|
| PASS ename is 'TransactionInactiveError'
|
| -Exception message: The transaction has finished.
|
| +Exception message: Failed to execute 'put' on 'IDBObjectStore': The transaction has finished.
|
| Expecting exception from store.add(0, 0)
|
| PASS Exception was thrown.
|
| PASS code is 0
|
| PASS ename is 'TransactionInactiveError'
|
| -Exception message: The transaction has finished.
|
| +Exception message: Failed to execute 'add' on 'IDBObjectStore': The transaction has finished.
|
| Expecting exception from store.delete(0)
|
| PASS Exception was thrown.
|
| PASS code is 0
|
| PASS ename is 'TransactionInactiveError'
|
| -Exception message: The transaction has finished.
|
| +Exception message: Failed to execute 'delete' on 'IDBObjectStore': The transaction has finished.
|
| Expecting exception from store.clear()
|
| PASS Exception was thrown.
|
| PASS code is 0
|
| PASS ename is 'TransactionInactiveError'
|
| -Exception message: The transaction has finished.
|
| +Exception message: Failed to execute 'clear' on 'IDBObjectStore': The transaction has finished.
|
| Expecting exception from store.get(0)
|
| PASS Exception was thrown.
|
| PASS code is 0
|
| PASS ename is 'TransactionInactiveError'
|
| -Exception message: The transaction has finished.
|
| +Exception message: Failed to execute 'get' on 'IDBObjectStore': The transaction has finished.
|
| Expecting exception from store.openCursor()
|
| PASS Exception was thrown.
|
| PASS code is 0
|
| PASS ename is 'TransactionInactiveError'
|
| -Exception message: The transaction has finished.
|
| +Exception message: Failed to execute 'openCursor' on 'IDBObjectStore': The transaction has finished.
|
|
|
| testSetVersionAbort5():
|
| PASS db.objectStoreNames is ['storeFail']
|
| @@ -237,12 +237,12 @@ Expecting exception from db.transaction(null)
|
| PASS Exception was thrown.
|
| PASS code is DOMException.NOT_FOUND_ERR
|
| PASS ename is 'NotFoundError'
|
| -Exception message: One of the specified object stores was not found.
|
| +Exception message: Failed to execute 'transaction' on 'IDBDatabase': One of the specified object stores was not found.
|
| Expecting exception from db.transaction(undefined)
|
| PASS Exception was thrown.
|
| PASS code is DOMException.NOT_FOUND_ERR
|
| PASS ename is 'NotFoundError'
|
| -Exception message: One of the specified object stores was not found.
|
| +Exception message: Failed to execute 'transaction' on 'IDBDatabase': One of the specified object stores was not found.
|
| request = newConnection()
|
| indexedDB.open(dbname, 8)
|
| db.createObjectStore('null')
|
|
|