Modern IDB: storage/indexeddb/version-change-exclusive.html fails
authorbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 4 Dec 2015 19:41:52 +0000 (19:41 +0000)
committerbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 4 Dec 2015 19:41:52 +0000 (19:41 +0000)
commitf8c562a10f734dedd67968b0c1e9d6f8dade8e2e
tree1aff102a94652800002e267ba35e1388c04a2806
parentffd890879e88c1c857b7f3e8222dd03c306018a0
Modern IDB: storage/indexeddb/version-change-exclusive.html fails
https://bugs.webkit.org/show_bug.cgi?id=151870

Reviewed by Alex Christensen.

Source/WebCore:

Test: storage/indexeddb/modern/double-open.html
      storage/indexeddb/version-change-exclusive.html

* Modules/indexeddb/server/UniqueIDBDatabase.cpp:
(WebCore::IDBServer::UniqueIDBDatabase::openDatabaseConnection): Delay handling open operations
  while the first is still in progress.
(WebCore::IDBServer::UniqueIDBDatabase::didOpenBackingStore):
* Modules/indexeddb/server/UniqueIDBDatabase.h:

LayoutTests:

* platform/mac-wk1/TestExpectations:
* storage/indexeddb/modern/double-open-expected.txt: Added.
* storage/indexeddb/modern/double-open.html: Added.
* storage/indexeddb/version-change-exclusive-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@193431 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/platform/mac-wk1/TestExpectations
LayoutTests/storage/indexeddb/modern/double-open-expected.txt [new file with mode: 0644]
LayoutTests/storage/indexeddb/modern/double-open.html [new file with mode: 0644]
LayoutTests/storage/indexeddb/version-change-exclusive-expected.txt
Source/WebCore/ChangeLog
Source/WebCore/Modules/indexeddb/server/UniqueIDBDatabase.cpp
Source/WebCore/Modules/indexeddb/server/UniqueIDBDatabase.h