RESOLVED FIXED 147792
Temporarily allow programmatic input assistance for adding Gmail account
https://bugs.webkit.org/show_bug.cgi?id=147792
Summary Temporarily allow programmatic input assistance for adding Gmail account
Wenson Hsieh
Reported 2015-08-07 13:12:34 PDT
When assisting a node, skip the early return due to no user interaction when we're in Gmail or Yahoo account setup pages.
Attachments
Patch (4.28 KB, patch)
2015-08-07 13:27 PDT, Wenson Hsieh
no flags
Patch (4.26 KB, patch)
2015-08-07 13:36 PDT, Wenson Hsieh
enrica: review+
Wenson Hsieh
Comment 1 2015-08-07 13:18:11 PDT
Actually, it looks like it's just in Gmail settings. There does not appear to be autofocus for the Yahoo Add Account page.
Wenson Hsieh
Comment 2 2015-08-07 13:27:07 PDT
Wenson Hsieh
Comment 3 2015-08-07 13:36:01 PDT
Daniel Bates
Comment 4 2015-08-07 13:46:13 PDT
mitz
Comment 5 2015-08-07 14:02:31 PDT
Comment on attachment 258525 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=258525&action=review > Source/WebCore/platform/RuntimeApplicationChecksIOS.mm:130 > +bool applicationIsGmailAddAccountOnIOS() > +{ > + static const bool isGmailAddAccountOnIOS = [[[NSBundle mainBundle] bundleIdentifier] isEqualToString:@"com.apple.social.SLGoogleAuth.SLGoogleAuthService"]; > + return isGmailAddAccountOnIOS; > +} > + This isn’t the best approach to take here. Adapting WebKit’s behavior to the client is sometimes unavoidable when the client is an application that’s already shipped. But this is not the case here.
Enrica Casucci
Comment 6 2015-08-07 14:02:36 PDT
Comment on attachment 258525 [details] Patch Looks good!
Wenson Hsieh
Comment 7 2015-08-07 14:13:05 PDT
Note You need to log in before you can comment on or make changes to this bug.