Bug 251892

Summary: CachedFont objects gets created for every 'src' attribute in @font-face rules, even if they're never loaded.
Product: WebKit Reporter: Matt Woodrow <mattwoodrow>
Component: TextAssignee: Matt Woodrow <mattwoodrow>
Status: NEW ---    
Severity: Normal CC: mmaxfield, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Matt Woodrow 2023-02-07 16:21:50 PST
The combination of CachedFont, CachedFontLoadRequest and CSSFontFaceSource add up to a significant chunk of memory, which is largely unneeded until we actually load the fonts.

<rdar://104940966>
Comment 1 Matt Woodrow 2023-02-07 16:23:00 PST
Pull request: https://github.com/WebKit/WebKit/pull/9787