Bug 261077
| Summary: | [Regression] pattern attribute handling for invalid regular expressions (unicode-invalid-01) | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ahmad Saleem <ahmad.saleem792> |
| Component: | Forms | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Anne van Kesteren
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
<rdar://problem/115234392>
Aditya Keerthi
Retitling, since one of the "failures" matches all browsers.
Michael Saboff
Pull request: https://github.com/WebKit/WebKit/pull/19255
EWS
Committed 269502@main (cd16ef7144b7): <https://commits.webkit.org/269502@main>
Reviewed commits have been landed. Closing PR #19255 and removing active labels.