Bug 236283 - HTMLToken::beginStartTag can take an 8 bit character
Summary: HTMLToken::beginStartTag can take an 8 bit character
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Cameron McCormack (:heycam)
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-02-07 20:43 PST by Cameron McCormack (:heycam)
Modified: 2022-02-08 11:34 PST (History)
7 users (show)

See Also:


Attachments
Patch (1.86 KB, patch)
2022-02-07 20:45 PST, Cameron McCormack (:heycam)
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Cameron McCormack (:heycam) 2022-02-07 20:43:45 PST
HTMLToken::beginStartTag is only ever called with an ASCII lowercase letter.  It can take an LChar instead of a UChar, and we can avoid updating m_data8BitCheck.
Comment 1 Cameron McCormack (:heycam) 2022-02-07 20:45:25 PST
Created attachment 451203 [details]
Patch
Comment 2 EWS 2022-02-08 11:33:35 PST
Committed r289410 (246977@main): <https://commits.webkit.org/246977@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 451203 [details].
Comment 3 Radar WebKit Bug Importer 2022-02-08 11:34:20 PST
<rdar://problem/88642964>