| 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 f50c2104775633ad4554a2d3cdebf13e721e072f..c3517521e40f72e34c47b21e57fcc9420896aebd 100644
|
| --- a/LayoutTests/storage/indexeddb/deleted-objects-expected.txt
|
| +++ b/LayoutTests/storage/indexeddb/deleted-objects-expected.txt
|
| @@ -17,74 +17,92 @@ 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.
|
| 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.
|
| 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.
|
| 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.
|
| 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.
|
| 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.
|
| 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.
|
| 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.
|
| 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.
|
| 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.
|
| 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.
|
| 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.
|
| 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.
|
| 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.
|
| 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.
|
| 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.
|
| 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.
|
| 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.
|
|
|
| testIndex():
|
| store = connection.createObjectStore('store')
|
| @@ -95,70 +113,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.
|
| 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.
|
| 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.
|
| 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.
|
| 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.
|
| 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.
|
| 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.
|
| 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.
|
| 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.
|
| 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.
|
| 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.
|
| 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.
|
| 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.
|
| 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.
|
| 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.
|
| 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.
|
| 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.
|
|
|
| testTransitiveDeletion():
|
| deletedStore = connection.createObjectStore('deletedStore')
|
| @@ -169,70 +204,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.
|
| 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.
|
| 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.
|
| 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.
|
| 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.
|
| 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.
|
| 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.
|
| 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.
|
| 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.
|
| 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.
|
| 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.
|
| 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.
|
| 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.
|
| 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.
|
| 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.
|
| 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.
|
| 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.
|
|
|
| testObjectStoreCursor():
|
| deletedStore = connection.createObjectStore('deletedStore')
|
| @@ -246,18 +298,22 @@ Expecting exception from cursor.delete()
|
| PASS Exception was thrown.
|
| PASS code is DOMException.INVALID_STATE_ERR
|
| PASS ename is 'InvalidStateError'
|
| +Exception message: The cursor's source or effective object store has been deleted.
|
| Expecting exception from cursor.update(1)
|
| PASS Exception was thrown.
|
| PASS code is DOMException.INVALID_STATE_ERR
|
| PASS ename is 'InvalidStateError'
|
| +Exception message: The cursor's source or effective object store has been deleted.
|
| Expecting exception from cursor.continue()
|
| PASS Exception was thrown.
|
| PASS code is DOMException.INVALID_STATE_ERR
|
| PASS ename is 'InvalidStateError'
|
| +Exception message: The cursor's source or effective object store has been deleted.
|
| Expecting exception from cursor.advance(1)
|
| PASS Exception was thrown.
|
| PASS code is DOMException.INVALID_STATE_ERR
|
| PASS ename is 'InvalidStateError'
|
| +Exception message: The cursor's source or effective object store has been deleted.
|
|
|
| testIndexCursor():
|
| store.put({id: 123}, 0)
|
| @@ -271,18 +327,22 @@ Expecting exception from cursor.delete()
|
| PASS Exception was thrown.
|
| PASS code is DOMException.INVALID_STATE_ERR
|
| PASS ename is 'InvalidStateError'
|
| +Exception message: The cursor's source or effective object store has been deleted.
|
| Expecting exception from cursor.update(1)
|
| PASS Exception was thrown.
|
| PASS code is DOMException.INVALID_STATE_ERR
|
| PASS ename is 'InvalidStateError'
|
| +Exception message: The cursor's source or effective object store has been deleted.
|
| Expecting exception from cursor.continue()
|
| PASS Exception was thrown.
|
| PASS code is DOMException.INVALID_STATE_ERR
|
| PASS ename is 'InvalidStateError'
|
| +Exception message: The cursor's source or effective object store has been deleted.
|
| Expecting exception from cursor.advance(1)
|
| PASS Exception was thrown.
|
| PASS code is DOMException.INVALID_STATE_ERR
|
| PASS ename is 'InvalidStateError'
|
| +Exception message: The cursor's source or effective object store has been deleted.
|
|
|
| testIndexOfDeletedStoreCursor():
|
| deletedStore = connection.createObjectStore('deletedStore')
|
| @@ -297,18 +357,22 @@ Expecting exception from cursor.delete()
|
| PASS Exception was thrown.
|
| PASS code is DOMException.INVALID_STATE_ERR
|
| PASS ename is 'InvalidStateError'
|
| +Exception message: The cursor's source or effective object store has been deleted.
|
| Expecting exception from cursor.update(1)
|
| PASS Exception was thrown.
|
| PASS code is DOMException.INVALID_STATE_ERR
|
| PASS ename is 'InvalidStateError'
|
| +Exception message: The cursor's source or effective object store has been deleted.
|
| Expecting exception from cursor.continue()
|
| PASS Exception was thrown.
|
| PASS code is DOMException.INVALID_STATE_ERR
|
| PASS ename is 'InvalidStateError'
|
| +Exception message: The cursor's source or effective object store has been deleted.
|
| Expecting exception from cursor.advance(1)
|
| PASS Exception was thrown.
|
| PASS code is DOMException.INVALID_STATE_ERR
|
| PASS ename is 'InvalidStateError'
|
| +Exception message: The cursor's source or effective object store has been deleted.
|
| PASS successfullyParsed is true
|
|
|
| TEST COMPLETE
|
|
|