Take into account removed caches in Caches::remove assertion
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 31 Aug 2017 18:31:22 +0000 (18:31 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 31 Aug 2017 18:31:22 +0000 (18:31 +0000)
commit53ad2e937faf02f022ca9ebcf0f351a2c45e1456
tree78e14a88f134d24d04de8fa605e8a3f8047596c0
parent63f48a1528bc52a8a7c1f1ea75545c170eb9c8d7
Take into account removed caches in Caches::remove assertion
https://bugs.webkit.org/show_bug.cgi?id=176164

Patch by Youenn Fablet <youenn@apple.com> on 2017-08-31
Reviewed by Alex Christensen.

Source/WebKit:

* NetworkProcess/cache/CacheStorageEngineCaches.cpp:
(WebKit::CacheStorage::Caches::remove):

LayoutTests:

* http/wpt/cache-storage/cache-remove-twice-expected.txt: Added.
* http/wpt/cache-storage/cache-remove-twice.html: Added.
* http/wpt/cache-storage/resources/cache-remove-twice-iframe.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@221428 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/http/wpt/cache-storage/cache-remove-twice-expected.txt [new file with mode: 0644]
LayoutTests/http/wpt/cache-storage/cache-remove-twice.html [new file with mode: 0644]
LayoutTests/http/wpt/cache-storage/resources/cache-remove-twice-iframe.html [new file with mode: 0644]
Source/WebKit/ChangeLog
Source/WebKit/NetworkProcess/cache/CacheStorageEngineCaches.cpp