Bug 252781

Summary: Produce 8 bit @font-face URL strings when possible
Product: WebKit Reporter: Cameron McCormack (:heycam) <heycam>
Component: CSSAssignee: Cameron McCormack (:heycam) <heycam>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Cameron McCormack (:heycam) 2023-02-22 15:11:17 PST
We can end up wasting memory storing @font-face URLs (which can be large data: URLs) as 16 bit strings, if they appear in style sheet text stored as a 16 bit string, even when the URL itself is 8 bit only.
Comment 1 Radar WebKit Bug Importer 2023-02-22 15:11:38 PST
<rdar://problem/105801659>
Comment 2 Cameron McCormack (:heycam) 2023-02-22 15:14:21 PST
Pull request: https://github.com/WebKit/WebKit/pull/10547
Comment 3 EWS 2023-02-22 18:48:14 PST
Committed 260716@main (7995dcceaf86): <https://commits.webkit.org/260716@main>

Reviewed commits have been landed. Closing PR #10547 and removing active labels.