Bug 259348

Summary: Multiple in-flight CacheStorage.open calls create duplicate responses in CacheStorageCache
Product: WebKit Reporter: Ben Nham <nham>
Component: Website StorageAssignee: Ben Nham <nham>
Status: RESOLVED FIXED    
Severity: Normal CC: nham, sihui_liu, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   

Ben Nham
Reported 2023-07-19 15:14:06 PDT
Webpages that call CacheStorage.open multiple times in quick succession can trigger a bug in CacheStorageCache::open which cause multiple responses to be stored per URL in the m_records hash map. This can lead NetworkProcess to use large amounts of memory unnecessarily.
Attachments
Ben Nham
Comment 1 2023-07-19 15:14:32 PDT
Ben Nham
Comment 2 2023-07-19 15:22:56 PDT
EWS
Comment 3 2023-07-19 21:15:10 PDT
Committed 266174@main (392584f2a30c): <https://commits.webkit.org/266174@main> Reviewed commits have been landed. Closing PR #15938 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.