Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
IndexedDB in service workers is using a memory backed store
https://bugs.webkit.org/show_bug.cgi?id=182574 <rdar://problem/37316205> Reviewed by Youenn Fablet. LayoutTests/imported/w3c: Rebaseline WPT test that is now passing. * web-platform-tests/service-workers/service-worker/indexeddb.https-expected.txt: Source/WebKit: Make sure we pass a proper WebDatabaseProvider to the ServiceWorkerProcess via PageConfiguration. Otherwise, we end up using the default EmptyDatabaseProvider which uses an InProcessIDBServer and a memory-backed store for IndexedDB. * UIProcess/ServiceWorkerProcessProxy.cpp: (WebKit::ServiceWorkerProcessProxy::start): * UIProcess/WebProcessPool.h: * WebProcess/Storage/WebSWContextManagerConnection.cpp: (WebKit::WebSWContextManagerConnection::WebSWContextManagerConnection): (WebKit::WebSWContextManagerConnection::installServiceWorker): * WebProcess/Storage/WebSWContextManagerConnection.h: * WebProcess/WebProcess.cpp: (WebKit::WebProcess::establishWorkerContextConnectionToStorageProcess): * WebProcess/WebProcess.h: * WebProcess/WebProcess.messages.in: LayoutTests: Unskip test that no longer times out. * TestExpectations: Canonical link: https://commits.webkit.org/198370@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@228230 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
with
69 additions
and 14 deletions.
- +12 −0 LayoutTests/ChangeLog
- +0 −1 LayoutTests/TestExpectations
- +12 −0 LayoutTests/imported/w3c/ChangeLog
- +3 −6 ...Tests/imported/w3c/web-platform-tests/service-workers/service-worker/indexeddb.https-expected.txt
- +24 −0 Source/WebKit/ChangeLog
- +2 −1 Source/WebKit/UIProcess/ServiceWorkerProcessProxy.cpp
- +2 −0 Source/WebKit/UIProcess/WebProcessPool.h
- +8 −1 Source/WebKit/WebProcess/Storage/WebSWContextManagerConnection.cpp
- +2 −1 Source/WebKit/WebProcess/Storage/WebSWContextManagerConnection.h
- +2 −2 Source/WebKit/WebProcess/WebProcess.cpp
- +1 −1 Source/WebKit/WebProcess/WebProcess.h
- +1 −1 Source/WebKit/WebProcess/WebProcess.messages.in
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -1,8 +1,5 @@ | ||
|
||
PASS Verify Indexed DB operation in a Service Worker | ||
PASS clean up: registration | ||
PASS clean up: database | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters