Bug 303457

Summary: AtomString(ASCIILiteral) constructor should not copy the string data.
Product: WebKit Reporter: Mark Lam <mark.lam>
Component: JavaScriptCoreAssignee: Mark Lam <mark.lam>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Mark Lam
Reported 2025-12-02 23:36:54 PST
It should create an AtomStringImpl that just points to the ASCIILiteral's data as its backing store instead. This used to be how it worked, but was regressed by 250160@main back in 2022.
Attachments
Radar WebKit Bug Importer
Comment 1 2025-12-02 23:37:17 PST
Mark Lam
Comment 2 2025-12-03 07:54:44 PST
EWS
Comment 3 2025-12-03 18:38:07 PST
Committed 303880@main (55173525c593): <https://commits.webkit.org/303880@main> Reviewed commits have been landed. Closing PR #54773 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.