Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
CacheStorage::Engine::Caches::writeRecord is not always calling the c…
…ompletion handler https://bugs.webkit.org/show_bug.cgi?id=183055 Patch by Youenn Fablet <youenn@apple.com> on 2018-02-22 Reviewed by Chris Dumez. Source/WebKit: Add a completion handler to Storage::store. Use it instead in Caches::writeRecord. This ensures that the Cache add/put promise will be called once all write operations have been done. * NetworkProcess/cache/CacheStorageEngineCaches.cpp: (WebKit::CacheStorage::Caches::writeRecord): * NetworkProcess/cache/NetworkCacheStorage.cpp: (WebKit::NetworkCache::Storage::WriteOperation::WriteOperation): (WebKit::NetworkCache::Storage::finishWriteOperation): (WebKit::NetworkCache::Storage::store): * NetworkProcess/cache/NetworkCacheStorage.h: (WebKit::NetworkCache::Storage::store): LayoutTests: * http/tests/cache-storage/resources/cache-persistency-iframe.html: Canonical link: https://commits.webkit.org/198804@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@228935 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
with
50 additions
and 18 deletions.
- +9 −0 LayoutTests/ChangeLog
- +9 −13 LayoutTests/http/tests/cache-storage/resources/cache-persistency-iframe.html
- +20 −0 Source/WebKit/ChangeLog
- +2 −1 Source/WebKit/NetworkProcess/cache/CacheStorageEngineCaches.cpp
- +8 −3 Source/WebKit/NetworkProcess/cache/NetworkCacheStorage.cpp
- +2 −1 Source/WebKit/NetworkProcess/cache/NetworkCacheStorage.h
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
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