[Webkit-unassigned] [Bug 264956] New: Safari ignores autofill scopes with same form owner

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 16 08:40:04 PST 2023


https://bugs.webkit.org/show_bug.cgi?id=264956

            Bug ID: 264956
           Summary: Safari ignores autofill scopes with same form owner
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Forms
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: afrehner.work at gmail.com
                CC: cdumez at apple.com, wenson_hsieh at apple.com

Created attachment 468620

  --> https://bugs.webkit.org/attachment.cgi?id=468620&action=review

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20231116/e47581cd/attachment.htm>


More information about the webkit-unassigned mailing list