[webkit-changes] [WebKit/WebKit] 4f993e: Add release assert against key already existing in...
Antti Koivisto
noreply at github.com
Fri Jul 14 09:32:07 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 4f993e39b079abaeb0d60a51d5a70cb4f662dc23
https://github.com/WebKit/WebKit/commit/4f993e39b079abaeb0d60a51d5a70cb4f662dc23
Author: Antti Koivisto <antti at apple.com>
Date: 2023-07-14 (Fri, 14 Jul 2023)
Changed paths:
M Source/WebCore/loader/cache/MemoryCache.cpp
Log Message:
-----------
Add release assert against key already existing in memory cache
https://bugs.webkit.org/show_bug.cgi?id=259211
rdar://112266773
Reviewed by Chris Dumez.
* Source/WebCore/loader/cache/MemoryCache.cpp:
(WebCore::MemoryCache::add):
(WebCore::MemoryCache::revalidationSucceeded):
If the resource was there already we might end up with a resource with inCache flag still incorrectly set.
Canonical link: https://commits.webkit.org/266065@main
More information about the webkit-changes
mailing list