Bug 255543

Summary: Do early returns in XPathFunctions if string meets requirements
Product: WebKit Reporter: Seija K. <doremylover123>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: ahmad.saleem792, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Seija K. 2023-04-17 12:58:34 PDT
This makes the code more clear and prevents operating on empty strings.
Comment 1 Radar WebKit Bug Importer 2023-04-24 12:59:18 PDT
<rdar://problem/108467165>
Comment 2 Ahmad Saleem 2024-02-02 16:04:46 PST
PR - https://github.com/WebKit/WebKit/pull/12814