WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
264956
Safari ignores autofill scopes with same form owner
https://bugs.webkit.org/show_bug.cgi?id=264956
Summary
Safari ignores autofill scopes with same form owner
Anthony Frehner
Reported
2023-11-16 08:40:04 PST
Created
attachment 468620
[details]
Shows Safari incorrectly autofilling multiple autofill scopes When there are multiple autofill scopes in the same form owner, Safari ignores the autofill scope and fills all fields across all scopes. Firefox and Chromium do not. Spec:
https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill-processing-model:autofill-scope
Example (codesandbox app):
https://jxkyfc.csb.app
Source code for example:
https://codesandbox.io/s/autofilling-shipping-billing-addresses-forked-jxkyfc?file=/src/index.html
The attached video shows this incorrect behavior in Safari. In contrast, if there are multiple form owners, then Safari respects the autofill scope and only autofills one scope at a time: Example:
https://jzv2yd.csb.app
Source code for example:
https://codesandbox.io/s/nervous-northcutt-jzv2yd?file=/index.html
Attachments
Shows Safari incorrectly autofilling multiple autofill scopes
(1.50 MB, video/quicktime)
2023-11-16 08:40 PST
,
Anthony Frehner
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-11-17 21:07:28 PST
<
rdar://problem/118591948
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug