Bug 252781 - Produce 8 bit @font-face URL strings when possible
Summary: Produce 8 bit @font-face URL strings when possible
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Cameron McCormack (:heycam)
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-02-22 15:11 PST by Cameron McCormack (:heycam)
Modified: 2023-02-22 18:48 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.