Bug 261077

Summary: [Regression] pattern attribute handling for invalid regular expressions (unicode-invalid-01)
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: FormsAssignee: Michael Saboff <msaboff>
Status: RESOLVED FIXED    
Severity: Normal CC: akeerthi, annevk, cdumez, karlcow, msaboff, rniwa, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: BrowserCompat, InRadar, WPTImpact
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   
URL: https://jsfiddle.net/sjo283vg/show

Ahmad Saleem
Reported 2023-09-02 18:47:17 PDT
Hi Team, In attached test case, we regressed following in STP177 compared to Safari 16.6: > patternMismatchFor("unicode-invalid-01") should be false. Was true > patternMismatchFor("wrong-email-address") should be true. Was false. Just wanted to raise so we can fix it. Thanks!
Attachments
Anne van Kesteren
Comment 1 2023-09-02 23:20:11 PDT
Chromium and Gecko also fail the wrong-email-address one (as well as disabled). But they don't fail unicode-invalid-01 so that one seems like a problem.
Radar WebKit Bug Importer
Comment 2 2023-09-09 18:48:17 PDT
Aditya Keerthi
Comment 3 2023-10-17 14:01:54 PDT
Retitling, since one of the "failures" matches all browsers.
Michael Saboff
Comment 4 2023-10-18 16:08:13 PDT
EWS
Comment 5 2023-10-18 21:57:22 PDT
Committed 269502@main (cd16ef7144b7): <https://commits.webkit.org/269502@main> Reviewed commits have been landed. Closing PR #19255 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.