Bug 176164

Summary: Take into account removed caches in Caches::remove assertion
Product: WebKit Reporter: youenn fablet <youennf>
Component: WebCore Misc.Assignee: youenn fablet <youennf>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, buildbot, cdumez, cgarcia, commit-queue, jlewis3, ryanhaddad, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=175995
Attachments:
Description Flags
Patch none

Description youenn fablet 2017-08-31 09:34:53 PDT
Caches may be asked to remove an already removed cache.
The assertion in Caches::remove should take that into account.
Comment 1 youenn fablet 2017-08-31 10:48:22 PDT
Created attachment 319479 [details]
Patch
Comment 2 Build Bot 2017-08-31 10:50:53 PDT
Attachment 319479 [details] did not pass style-queue:


ERROR: Source/WebKit/NetworkProcess/cache/CacheStorageEngineCaches.cpp:131:  More than one command on the same line  [whitespace/newline] [4]
Total errors found: 1 in 6 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 WebKit Commit Bot 2017-08-31 11:31:26 PDT
Comment on attachment 319479 [details]
Patch

Clearing flags on attachment: 319479

Committed r221428: <http://trac.webkit.org/changeset/221428>
Comment 4 WebKit Commit Bot 2017-08-31 11:31:27 PDT
All reviewed patches have been landed.  Closing bug.
Comment 5 Matt Lewis 2017-09-01 15:39:24 PDT
The test added in this patch has consistently failed on windows testers since being added according to the flakiness dashboard.

it has also failed on Sierra debug:
https://build.webkit.org/results/Apple%20Sierra%20Debug%20WK2%20(Tests)/r221490%20(2818)/results.html
Comment 6 Radar WebKit Bug Importer 2017-09-27 12:46:47 PDT
<rdar://problem/34693934>