Bug 261077 - [Regression] pattern attribute handling for invalid regular expressions (unicode-invalid-01)
Summary: [Regression] pattern attribute handling for invalid regular expressions (unic...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Michael Saboff
URL: https://jsfiddle.net/sjo283vg/show
Keywords: BrowserCompat, InRadar, WPTImpact
Depends on:
Blocks:
 
Reported: 2023-09-02 18:47 PDT by Ahmad Saleem
Modified: 2023-10-18 21:57 PDT (History)
8 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ahmad Saleem 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!
Comment 1 Anne van Kesteren 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.
Comment 2 Radar WebKit Bug Importer 2023-09-09 18:48:17 PDT
<rdar://problem/115234392>
Comment 3 Aditya Keerthi 2023-10-17 14:01:54 PDT
Retitling, since one of the "failures" matches all browsers.
Comment 4 Michael Saboff 2023-10-18 16:08:13 PDT
Pull request: https://github.com/WebKit/WebKit/pull/19255
Comment 5 EWS 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.