[Webkit-unassigned] [Bug 257500] New: Use StringView more in ScriptElement and EmailInputType
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue May 30 10:36:44 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=257500
Bug ID: 257500
Summary: Use StringView more in ScriptElement and
EmailInputType
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: DOM
Assignee: webkit-unassigned at lists.webkit.org
Reporter: annevk at annevk.nl
As suggested here https://github.com/WebKit/WebKit/pull/14467#pullrequestreview-1451367941.
The event and for attribute values are used for comparisons only, so StringView would be more efficient. Looks like there is no need to convert from AtomString to String for these either.
RegularExpression::match() already takes a StringView so updating isValidEmailAddress() should be straightforward.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230530/cae2a651/attachment.htm>
More information about the webkit-unassigned
mailing list