Bug 257343 - Update httpHeaderNameString() to return an ASCIILiteral
Summary: Update httpHeaderNameString() to return an ASCIILiteral
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-05-25 12:34 PDT by Chris Dumez
Modified: 2023-05-26 09:34 PDT (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 Chris Dumez 2023-05-25 12:34:22 PDT
Update httpHeaderNameString() to return an ASCIILiteral instead of a StringView. It makes it clearer that it only returns ASCII characters and that they are "immortal".
Comment 1 Chris Dumez 2023-05-25 12:35:48 PDT
Pull request: https://github.com/WebKit/WebKit/pull/14360
Comment 2 EWS 2023-05-26 09:33:27 PDT
Committed 264587@main (fa601944b216): <https://commits.webkit.org/264587@main>

Reviewed commits have been landed. Closing PR #14360 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2023-05-26 09:34:17 PDT
<rdar://problem/109892743>