| Index: LayoutTests/storage/indexeddb/deleted-objects-expected.txt
|
| diff --git a/LayoutTests/storage/indexeddb/deleted-objects-expected.txt b/LayoutTests/storage/indexeddb/deleted-objects-expected.txt
|
| index 83e2c901d672dbb8f820576b7ac81ade2bc4e511..bf0eafa9b72014e2683b16cf62dee1a4625bbfff 100644
|
| --- a/LayoutTests/storage/indexeddb/deleted-objects-expected.txt
|
| +++ b/LayoutTests/storage/indexeddb/deleted-objects-expected.txt
|
| @@ -17,117 +17,117 @@ Expecting exception from deletedStore.put(0, 0)
|
| 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 'put' on 'IDBObjectStore': The object store has been deleted.
|
| Expecting exception from deletedStore.add(0, 0)
|
| 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 'add' on 'IDBObjectStore': The object store has been deleted.
|
| Expecting exception from deletedStore.delete(0)
|
| 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 'delete' on 'IDBObjectStore': The object store has been deleted.
|
| Expecting exception from deletedStore.delete(IDBKeyRange.only(0))
|
| 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 'delete' on 'IDBObjectStore': The object store has been deleted.
|
| Expecting exception from deletedStore.get(0)
|
| 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 'get' on 'IDBObjectStore': The object store has been deleted.
|
| Expecting exception from deletedStore.get(IDBKeyRange.only(0))
|
| 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 'get' on 'IDBObjectStore': The object store has been deleted.
|
| Expecting exception from deletedStore.clear()
|
| 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 'clear' on 'IDBObjectStore': The object store has been deleted.
|
| Expecting exception from deletedStore.openCursor()
|
| 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 'openCursor' on 'IDBObjectStore': The object store has been deleted.
|
| Expecting exception from deletedStore.openCursor(0)
|
| 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 'openCursor' on 'IDBObjectStore': The object store has been deleted.
|
| Expecting exception from deletedStore.openCursor(0, 'next')
|
| 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 'openCursor' on 'IDBObjectStore': The object store has been deleted.
|
| Expecting exception from deletedStore.openCursor(IDBKeyRange.only(0))
|
| 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 'openCursor' on 'IDBObjectStore': The object store has been deleted.
|
| Expecting exception from deletedStore.openCursor(IDBKeyRange.only(0), 'next')
|
| 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 'openCursor' on 'IDBObjectStore': The object store has been deleted.
|
| Expecting exception from deletedStore.openKeyCursor()
|
| 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 'openKeyCursor' on 'IDBObjectStore': The object store has been deleted.
|
| Expecting exception from deletedStore.openKeyCursor(0)
|
| 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 'openKeyCursor' on 'IDBObjectStore': The object store has been deleted.
|
| Expecting exception from deletedStore.openKeyCursor(0, 'next')
|
| 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 'openKeyCursor' on 'IDBObjectStore': The object store has been deleted.
|
| Expecting exception from deletedStore.openKeyCursor(IDBKeyRange.only(0))
|
| 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 'openKeyCursor' on 'IDBObjectStore': The object store has been deleted.
|
| Expecting exception from deletedStore.openKeyCursor(IDBKeyRange.only(0), 'next')
|
| 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 'openKeyCursor' on 'IDBObjectStore': The object store has been deleted.
|
| Expecting exception from deletedStore.createIndex('name', 'path')
|
| 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 'createIndex' on 'IDBObjectStore': The object store has been deleted.
|
| Expecting exception from deletedStore.index('name')
|
| 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 'index' on 'IDBObjectStore': The object store has been deleted.
|
| Expecting exception from deletedStore.deleteIndex('name')
|
| 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.
|
| Expecting exception from deletedStore.count()
|
| 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 'count' on 'IDBObjectStore': The object store has been deleted.
|
| Expecting exception from deletedStore.count(0)
|
| 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 'count' on 'IDBObjectStore': The object store has been deleted.
|
| Expecting exception from deletedStore.count(IDBKeyRange.only(0))
|
| 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 'count' on 'IDBObjectStore': The object store has been deleted.
|
|
|
| testIndex():
|
| store = connection.createObjectStore('store')
|
| @@ -138,87 +138,87 @@ Expecting exception from deletedIndex.openCursor()
|
| PASS Exception was thrown.
|
| PASS code is DOMException.INVALID_STATE_ERR
|
| PASS ename is 'InvalidStateError'
|
| -Exception message: The index or its object store has been deleted.
|
| +Exception message: Failed to execute 'openCursor' on 'IDBIndex': The index or its object store has been deleted.
|
| Expecting exception from deletedIndex.openCursor(0)
|
| PASS Exception was thrown.
|
| PASS code is DOMException.INVALID_STATE_ERR
|
| PASS ename is 'InvalidStateError'
|
| -Exception message: The index or its object store has been deleted.
|
| +Exception message: Failed to execute 'openCursor' on 'IDBIndex': The index or its object store has been deleted.
|
| Expecting exception from deletedIndex.openCursor(0, 'next')
|
| PASS Exception was thrown.
|
| PASS code is DOMException.INVALID_STATE_ERR
|
| PASS ename is 'InvalidStateError'
|
| -Exception message: The index or its object store has been deleted.
|
| +Exception message: Failed to execute 'openCursor' on 'IDBIndex': The index or its object store has been deleted.
|
| Expecting exception from deletedIndex.openCursor(IDBKeyRange.only(0))
|
| PASS Exception was thrown.
|
| PASS code is DOMException.INVALID_STATE_ERR
|
| PASS ename is 'InvalidStateError'
|
| -Exception message: The index or its object store has been deleted.
|
| +Exception message: Failed to execute 'openCursor' on 'IDBIndex': The index or its object store has been deleted.
|
| Expecting exception from deletedIndex.openCursor(IDBKeyRange.only(0), 'next')
|
| PASS Exception was thrown.
|
| PASS code is DOMException.INVALID_STATE_ERR
|
| PASS ename is 'InvalidStateError'
|
| -Exception message: The index or its object store has been deleted.
|
| +Exception message: Failed to execute 'openCursor' on 'IDBIndex': The index or its object store has been deleted.
|
| Expecting exception from deletedIndex.openKeyCursor()
|
| PASS Exception was thrown.
|
| PASS code is DOMException.INVALID_STATE_ERR
|
| PASS ename is 'InvalidStateError'
|
| -Exception message: The index or its object store has been deleted.
|
| +Exception message: Failed to execute 'openKeyCursor' on 'IDBIndex': The index or its object store has been deleted.
|
| Expecting exception from deletedIndex.openKeyCursor(0)
|
| PASS Exception was thrown.
|
| PASS code is DOMException.INVALID_STATE_ERR
|
| PASS ename is 'InvalidStateError'
|
| -Exception message: The index or its object store has been deleted.
|
| +Exception message: Failed to execute 'openKeyCursor' on 'IDBIndex': The index or its object store has been deleted.
|
| Expecting exception from deletedIndex.openKeyCursor(0, 'next')
|
| PASS Exception was thrown.
|
| PASS code is DOMException.INVALID_STATE_ERR
|
| PASS ename is 'InvalidStateError'
|
| -Exception message: The index or its object store has been deleted.
|
| +Exception message: Failed to execute 'openKeyCursor' on 'IDBIndex': The index or its object store has been deleted.
|
| Expecting exception from deletedIndex.openKeyCursor(IDBKeyRange.only(0))
|
| PASS Exception was thrown.
|
| PASS code is DOMException.INVALID_STATE_ERR
|
| PASS ename is 'InvalidStateError'
|
| -Exception message: The index or its object store has been deleted.
|
| +Exception message: Failed to execute 'openKeyCursor' on 'IDBIndex': The index or its object store has been deleted.
|
| Expecting exception from deletedIndex.openKeyCursor(IDBKeyRange.only(0), 'next')
|
| PASS Exception was thrown.
|
| PASS code is DOMException.INVALID_STATE_ERR
|
| PASS ename is 'InvalidStateError'
|
| -Exception message: The index or its object store has been deleted.
|
| +Exception message: Failed to execute 'openKeyCursor' on 'IDBIndex': The index or its object store has been deleted.
|
| Expecting exception from deletedIndex.get(0)
|
| PASS Exception was thrown.
|
| PASS code is DOMException.INVALID_STATE_ERR
|
| PASS ename is 'InvalidStateError'
|
| -Exception message: The index or its object store has been deleted.
|
| +Exception message: Failed to execute 'get' on 'IDBIndex': The index or its object store has been deleted.
|
| Expecting exception from deletedIndex.get(IDBKeyRange.only(0))
|
| PASS Exception was thrown.
|
| PASS code is DOMException.INVALID_STATE_ERR
|
| PASS ename is 'InvalidStateError'
|
| -Exception message: The index or its object store has been deleted.
|
| +Exception message: Failed to execute 'get' on 'IDBIndex': The index or its object store has been deleted.
|
| Expecting exception from deletedIndex.getKey(0)
|
| PASS Exception was thrown.
|
| PASS code is DOMException.INVALID_STATE_ERR
|
| PASS ename is 'InvalidStateError'
|
| -Exception message: The index or its object store has been deleted.
|
| +Exception message: Failed to execute 'getKey' on 'IDBIndex': The index or its object store has been deleted.
|
| Expecting exception from deletedIndex.getKey(IDBKeyRange.only(0))
|
| PASS Exception was thrown.
|
| PASS code is DOMException.INVALID_STATE_ERR
|
| PASS ename is 'InvalidStateError'
|
| -Exception message: The index or its object store has been deleted.
|
| +Exception message: Failed to execute 'getKey' on 'IDBIndex': The index or its object store has been deleted.
|
| Expecting exception from deletedIndex.count()
|
| PASS Exception was thrown.
|
| PASS code is DOMException.INVALID_STATE_ERR
|
| PASS ename is 'InvalidStateError'
|
| -Exception message: The index or its object store has been deleted.
|
| +Exception message: Failed to execute 'count' on 'IDBIndex': The index or its object store has been deleted.
|
| Expecting exception from deletedIndex.count(0)
|
| PASS Exception was thrown.
|
| PASS code is DOMException.INVALID_STATE_ERR
|
| PASS ename is 'InvalidStateError'
|
| -Exception message: The index or its object store has been deleted.
|
| +Exception message: Failed to execute 'count' on 'IDBIndex': The index or its object store has been deleted.
|
| Expecting exception from deletedIndex.count(IDBKeyRange.only(0))
|
| PASS Exception was thrown.
|
| PASS code is DOMException.INVALID_STATE_ERR
|
| PASS ename is 'InvalidStateError'
|
| -Exception message: The index or its object store has been deleted.
|
| +Exception message: Failed to execute 'count' on 'IDBIndex': The index or its object store has been deleted.
|
|
|
| testTransitiveDeletion():
|
| deletedStore = connection.createObjectStore('deletedStore')
|
| @@ -229,87 +229,87 @@ Expecting exception from indexOfDeletedStore.openCursor()
|
| PASS Exception was thrown.
|
| PASS code is DOMException.INVALID_STATE_ERR
|
| PASS ename is 'InvalidStateError'
|
| -Exception message: The index or its object store has been deleted.
|
| +Exception message: Failed to execute 'openCursor' on 'IDBIndex': The index or its object store has been deleted.
|
| Expecting exception from indexOfDeletedStore.openCursor(0)
|
| PASS Exception was thrown.
|
| PASS code is DOMException.INVALID_STATE_ERR
|
| PASS ename is 'InvalidStateError'
|
| -Exception message: The index or its object store has been deleted.
|
| +Exception message: Failed to execute 'openCursor' on 'IDBIndex': The index or its object store has been deleted.
|
| Expecting exception from indexOfDeletedStore.openCursor(0, 'next')
|
| PASS Exception was thrown.
|
| PASS code is DOMException.INVALID_STATE_ERR
|
| PASS ename is 'InvalidStateError'
|
| -Exception message: The index or its object store has been deleted.
|
| +Exception message: Failed to execute 'openCursor' on 'IDBIndex': The index or its object store has been deleted.
|
| Expecting exception from indexOfDeletedStore.openCursor(IDBKeyRange.only(0))
|
| PASS Exception was thrown.
|
| PASS code is DOMException.INVALID_STATE_ERR
|
| PASS ename is 'InvalidStateError'
|
| -Exception message: The index or its object store has been deleted.
|
| +Exception message: Failed to execute 'openCursor' on 'IDBIndex': The index or its object store has been deleted.
|
| Expecting exception from indexOfDeletedStore.openCursor(IDBKeyRange.only(0), 'next')
|
| PASS Exception was thrown.
|
| PASS code is DOMException.INVALID_STATE_ERR
|
| PASS ename is 'InvalidStateError'
|
| -Exception message: The index or its object store has been deleted.
|
| +Exception message: Failed to execute 'openCursor' on 'IDBIndex': The index or its object store has been deleted.
|
| Expecting exception from indexOfDeletedStore.openKeyCursor()
|
| PASS Exception was thrown.
|
| PASS code is DOMException.INVALID_STATE_ERR
|
| PASS ename is 'InvalidStateError'
|
| -Exception message: The index or its object store has been deleted.
|
| +Exception message: Failed to execute 'openKeyCursor' on 'IDBIndex': The index or its object store has been deleted.
|
| Expecting exception from indexOfDeletedStore.openKeyCursor(0)
|
| PASS Exception was thrown.
|
| PASS code is DOMException.INVALID_STATE_ERR
|
| PASS ename is 'InvalidStateError'
|
| -Exception message: The index or its object store has been deleted.
|
| +Exception message: Failed to execute 'openKeyCursor' on 'IDBIndex': The index or its object store has been deleted.
|
| Expecting exception from indexOfDeletedStore.openKeyCursor(0, 'next')
|
| PASS Exception was thrown.
|
| PASS code is DOMException.INVALID_STATE_ERR
|
| PASS ename is 'InvalidStateError'
|
| -Exception message: The index or its object store has been deleted.
|
| +Exception message: Failed to execute 'openKeyCursor' on 'IDBIndex': The index or its object store has been deleted.
|
| Expecting exception from indexOfDeletedStore.openKeyCursor(IDBKeyRange.only(0))
|
| PASS Exception was thrown.
|
| PASS code is DOMException.INVALID_STATE_ERR
|
| PASS ename is 'InvalidStateError'
|
| -Exception message: The index or its object store has been deleted.
|
| +Exception message: Failed to execute 'openKeyCursor' on 'IDBIndex': The index or its object store has been deleted.
|
| Expecting exception from indexOfDeletedStore.openKeyCursor(IDBKeyRange.only(0), 'next')
|
| PASS Exception was thrown.
|
| PASS code is DOMException.INVALID_STATE_ERR
|
| PASS ename is 'InvalidStateError'
|
| -Exception message: The index or its object store has been deleted.
|
| +Exception message: Failed to execute 'openKeyCursor' on 'IDBIndex': The index or its object store has been deleted.
|
| Expecting exception from indexOfDeletedStore.get(0)
|
| PASS Exception was thrown.
|
| PASS code is DOMException.INVALID_STATE_ERR
|
| PASS ename is 'InvalidStateError'
|
| -Exception message: The index or its object store has been deleted.
|
| +Exception message: Failed to execute 'get' on 'IDBIndex': The index or its object store has been deleted.
|
| Expecting exception from indexOfDeletedStore.get(IDBKeyRange.only(0))
|
| PASS Exception was thrown.
|
| PASS code is DOMException.INVALID_STATE_ERR
|
| PASS ename is 'InvalidStateError'
|
| -Exception message: The index or its object store has been deleted.
|
| +Exception message: Failed to execute 'get' on 'IDBIndex': The index or its object store has been deleted.
|
| Expecting exception from indexOfDeletedStore.getKey(0)
|
| PASS Exception was thrown.
|
| PASS code is DOMException.INVALID_STATE_ERR
|
| PASS ename is 'InvalidStateError'
|
| -Exception message: The index or its object store has been deleted.
|
| +Exception message: Failed to execute 'getKey' on 'IDBIndex': The index or its object store has been deleted.
|
| Expecting exception from indexOfDeletedStore.getKey(IDBKeyRange.only(0))
|
| PASS Exception was thrown.
|
| PASS code is DOMException.INVALID_STATE_ERR
|
| PASS ename is 'InvalidStateError'
|
| -Exception message: The index or its object store has been deleted.
|
| +Exception message: Failed to execute 'getKey' on 'IDBIndex': The index or its object store has been deleted.
|
| Expecting exception from indexOfDeletedStore.count()
|
| PASS Exception was thrown.
|
| PASS code is DOMException.INVALID_STATE_ERR
|
| PASS ename is 'InvalidStateError'
|
| -Exception message: The index or its object store has been deleted.
|
| +Exception message: Failed to execute 'count' on 'IDBIndex': The index or its object store has been deleted.
|
| Expecting exception from indexOfDeletedStore.count(0)
|
| PASS Exception was thrown.
|
| PASS code is DOMException.INVALID_STATE_ERR
|
| PASS ename is 'InvalidStateError'
|
| -Exception message: The index or its object store has been deleted.
|
| +Exception message: Failed to execute 'count' on 'IDBIndex': The index or its object store has been deleted.
|
| Expecting exception from indexOfDeletedStore.count(IDBKeyRange.only(0))
|
| PASS Exception was thrown.
|
| PASS code is DOMException.INVALID_STATE_ERR
|
| PASS ename is 'InvalidStateError'
|
| -Exception message: The index or its object store has been deleted.
|
| +Exception message: Failed to execute 'count' on 'IDBIndex': The index or its object store has been deleted.
|
|
|
| testObjectStoreCursor():
|
| deletedStore = connection.createObjectStore('deletedStore')
|
|
|