Bug 201195 - REGRESSION(iOS 13): Can't type in fields on united.com sign-up form in WKWebView
Summary: REGRESSION(iOS 13): Can't type in fields on united.com sign-up form in WKWebView
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL: https://www.united.com/ual/en/US/acco...
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-08-27 12:53 PDT by Ali Juma
Modified: 2019-08-29 12:54 PDT (History)
10 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ali Juma 2019-08-27 12:53:09 PDT
This bug reproduces on iOS 13 beta 8 in WKWebView (tested in Chrome, Firefox, and Edge) but for some reason doesn't reproduce in Safari.

Steps to reproduce:
1. Visit https://www.united.com/ual/en/US/account/enroll/default
2. Scroll down to the form and tap on a field (e.g., "First name")

Expected result:
The field is focused and the keyboard is shown.

Actual result:
Can't focus the field, and the keyboard is not shown.
Comment 1 Alexey Proskuryakov 2019-08-27 17:53:16 PDT
Do quirks not work in WKWebView? We would have plenty of regressions if so!
Comment 2 Radar WebKit Bug Importer 2019-08-27 17:53:53 PDT
<rdar://problem/54772036>
Comment 3 Wenson Hsieh 2019-08-27 18:35:51 PDT
(In reply to Alexey Proskuryakov from comment #1)
> Do quirks not work in WKWebView? We would have plenty of regressions if so!

That’s right — quirks are disabled by default (NeedsSiteSpecificQuirks in WebPreferences.yaml), but enabled in Safari via SPI.

It looks like Quirks::shouldIgnoreContentChange might be relevant here.
Comment 4 Ryosuke Niwa 2019-08-27 22:05:54 PDT
FWIW, you can probably implement a site specific quirk on united.com in Chrome for iOS by hiding the content mentioned in https://trac.webkit.org/changeset/248463/webkit using `display: none`.

Obviously, reaching out to united.com would work too.
Comment 5 Ali Juma 2019-08-29 08:58:50 PDT
(In reply to Ryosuke Niwa from comment #4)
> FWIW, you can probably implement a site specific quirk on united.com in
> Chrome for iOS by hiding the content mentioned in
> https://trac.webkit.org/changeset/248463/webkit using `display: none`.

Thanks for pointing this out!


(In reply to Wenson Hsieh from comment #3)
> (In reply to Alexey Proskuryakov from comment #1)
> > Do quirks not work in WKWebView? We would have plenty of regressions if so!
> 
> That’s right — quirks are disabled by default (NeedsSiteSpecificQuirks in
> WebPreferences.yaml), but enabled in Safari via SPI.

I've filed feedback FB7155444 for getting quirks enabled or for changing the SPI to public API.
Comment 6 Ryosuke Niwa 2019-08-29 12:52:36 PDT
(In reply to Ali Juma from comment #5)
> (In reply to Ryosuke Niwa from comment #4)
> > FWIW, you can probably implement a site specific quirk on united.com in
> > Chrome for iOS by hiding the content mentioned in
> > https://trac.webkit.org/changeset/248463/webkit using `display: none`.
> 
> Thanks for pointing this out!
> 
> 
> (In reply to Wenson Hsieh from comment #3)
> > (In reply to Alexey Proskuryakov from comment #1)
> > > Do quirks not work in WKWebView? We would have plenty of regressions if so!
> > 
> > That’s right — quirks are disabled by default (NeedsSiteSpecificQuirks in
> > WebPreferences.yaml), but enabled in Safari via SPI.
> 
> I've filed feedback FB7155444 for getting quirks enabled or for changing the
> SPI to public API.

That would be <rdar://problem/54838486>.