Bug 253766

Summary: Avoid doing too much iteration in WebExtensionContext::removeExpired
Product: WebKit Reporter: Timothy Hatcher <timothy>
Component: WebKit ExtensionsAssignee: Timothy Hatcher <timothy>
Status: RESOLVED FIXED    
Severity: Normal CC: timothy, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   

Description Timothy Hatcher 2023-03-11 16:09:52 PST
We don't need to iterate the HashMap if we know nothing has expired yet.
Comment 1 Timothy Hatcher 2023-03-11 16:14:26 PST
Pull request: https://github.com/WebKit/WebKit/pull/11408
Comment 2 EWS 2023-03-15 13:12:23 PDT
Committed 261706@main (d09ca7493d1e): <https://commits.webkit.org/261706@main>

Reviewed commits have been landed. Closing PR #11408 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2023-03-15 13:13:29 PDT
<rdar://problem/106769684>