Don't try to restore deleted MemoryIndexes if their owning object store is not restored.
authorbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 17 Mar 2016 22:48:41 +0000 (22:48 +0000)
committerbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 17 Mar 2016 22:48:41 +0000 (22:48 +0000)
commit6876fefc45191f2014d72a7df3bf9dadbb1bac28
tree3ec707e12077204c8473dfe5e4f38f90af18cd08
parentaa8b1bc5f59ee05db74e6037e79a6a60635d40a3
Don't try to restore deleted MemoryIndexes if their owning object store is not restored.
https://bugs.webkit.org/show_bug.cgi?id=155068

Reviewed by Alex Christensen.

Source/WebCore:

Test: storage/indexeddb/modern/deleteindex-4-private.html

* Modules/indexeddb/server/MemoryBackingStoreTransaction.cpp:
(WebCore::IDBServer::MemoryBackingStoreTransaction::indexDeleted):

LayoutTests:

* storage/indexeddb/modern/deleteindex-4-private-expected.txt: Added.
* storage/indexeddb/modern/deleteindex-4-private.html: Added.
* storage/indexeddb/modern/resources/deleteindex-4.js: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@198357 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/storage/indexeddb/modern/deleteindex-4-private-expected.txt [new file with mode: 0644]
LayoutTests/storage/indexeddb/modern/deleteindex-4-private.html [new file with mode: 0644]
LayoutTests/storage/indexeddb/modern/resources/deleteindex-4.js [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/Modules/indexeddb/server/MemoryBackingStoreTransaction.cpp