Web Inspector: Not receiving responses for async request IndexedDB.requestDatabaseNames
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 12 Aug 2015 20:20:37 +0000 (20:20 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 12 Aug 2015 20:20:37 +0000 (20:20 +0000)
commit877db175cc15a9b1d8463e345bdc3dac4e42885f
tree207a8b32c66eada67fa197f98edc3087352acb69
parent617c7efdf97d5848c5653e5a60aa777b93899a95
Web Inspector: Not receiving responses for async request IndexedDB.requestDatabaseNames
https://bugs.webkit.org/show_bug.cgi?id=147844

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2015-08-12
Reviewed by Brian Burg.

Source/WebKit2:

* WebProcess/Databases/IndexedDB/WebIDBFactoryBackend.cpp:
(WebKit::WebIDBFactoryBackend::getDatabaseNames):
This method should not return without calling either the success
or error callbacks. In this case, it can succeed with an empty list.

LayoutTests:

* inspector/indexeddb/requestDatabaseNames-expected.txt: Added.
* inspector/indexeddb/requestDatabaseNames.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@188353 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/inspector/indexeddb/requestDatabaseNames-expected.txt [new file with mode: 0644]
LayoutTests/inspector/indexeddb/requestDatabaseNames.html [new file with mode: 0644]
LayoutTests/platform/mac-wk1/TestExpectations
Source/WebInspectorUI/UserInterface/Base/Test.js
Source/WebKit2/ChangeLog
Source/WebKit2/WebProcess/Databases/IndexedDB/WebIDBFactoryBackend.cpp