WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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
Details
Formatted Diff
Diff
Patch
(4.26 KB, patch)
2015-08-07 13:36 PDT
,
Wenson Hsieh
enrica
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
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
Created
attachment 258524
[details]
Patch
Wenson Hsieh
Comment 3
2015-08-07 13:36:01 PDT
Created
attachment 258525
[details]
Patch
Daniel Bates
Comment 4
2015-08-07 13:46:13 PDT
<
rdar://problem/22126518
>
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
Committed
r188162
: <
http://trac.webkit.org/changeset/188162
>
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