Bug 248476 - Bail out early for empty text content in text controls
Summary: Bail out early for empty text content in text controls
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: Safari 15
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Rob Buis
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-11-29 10:28 PST by Rob Buis
Modified: 2022-11-29 23:19 PST (History)
8 users (show)

See Also:


Attachments
Patch (1.21 KB, patch)
2022-11-29 10:29 PST, Rob Buis
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rob Buis 2022-11-29 10:28:03 PST
If the text control has no text content available then return early in valueWithHardLineBreaks.
Comment 1 Rob Buis 2022-11-29 10:29:14 PST
Created attachment 463789 [details]
Patch
Comment 2 EWS 2022-11-29 23:18:28 PST
Committed 257169@main (2f5a356da672): <https://commits.webkit.org/257169@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 463789 [details].
Comment 3 Radar WebKit Bug Importer 2022-11-29 23:19:17 PST
<rdar://problem/102800240>