Bug 259348
Summary: | Multiple in-flight CacheStorage.open calls create duplicate responses in CacheStorageCache | ||
---|---|---|---|
Product: | WebKit | Reporter: | Ben Nham <nham> |
Component: | Website Storage | Assignee: | 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
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Ben Nham
rdar://112483324
Ben Nham
Pull request: https://github.com/WebKit/WebKit/pull/15938
EWS
Committed 266174@main (392584f2a30c): <https://commits.webkit.org/266174@main>
Reviewed commits have been landed. Closing PR #15938 and removing active labels.