Bug 303457
| Summary: | AtomString(ASCIILiteral) constructor should not copy the string data. | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Mark Lam <mark.lam> |
| Component: | JavaScriptCore | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/165744213>
Mark Lam
Pull request: https://github.com/WebKit/WebKit/pull/54773
EWS
Committed 303880@main (55173525c593): <https://commits.webkit.org/303880@main>
Reviewed commits have been landed. Closing PR #54773 and removing active labels.