[Webkit-unassigned] [Bug 203299] New: [Shadow DOM] WKWebView: Username/Password autocomplete does not prompt on non-password inputs in Shadow DOM

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 23 10:02:39 PDT 2019


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

            Bug ID: 203299
           Summary: [Shadow DOM] WKWebView: Username/Password autocomplete
                    does not prompt on non-password inputs in Shadow DOM
           Product: WebKit
           Version: Safari 13
          Hardware: iPhone / iPad
                OS: iOS 13
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit2
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ldebeasi at gmail.com

Created attachment 381686

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

iOS app reproduction

When tapping into a non-password input in the Shadow DOM (for example, type="email") the "Passwords" autocomplete option does not appear. This bug only happens in WKWebView and does not happen in Safari.


Steps to reproduce:

1. Download the attached .zip, and run the extracted Xcode project on a physical iOS device.
2. Tap "Light DOM Username". Notice that the "Password" autocomplete option appears.
3. Tap "Shadow DOM Username". Notice that the "Password" autocomplete option does not appear.
4. Open the following CodePen in Safari on the iOS device: https://codepen.io/liamdebeasi/pen/ZEEeRPo (This is the example that is loaded in the WKWebView app)
5. Tap "Light DOM Username". Notice that the "Password" autocomplete option appears.
6. Tap "Shadow DOM Username". Notice that the "Password" autocomplete option appears.


Expected Results: 

I would expect that the "Passwords" autocomplete option appears for username/password inputs regardless of whether or not the input is in the Shadow DOM.

-- 
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/20191023/eec39ceb/attachment.html>


More information about the webkit-unassigned mailing list