Bug 151349

Summary: HTTP authentication dialog should focus on first input field
Product: WebKit Reporter: (bitlord) <bitlord0xff>
Component: WebKitGTKAssignee: Claudio Saavedra <csaavedra>
Status: RESOLVED FIXED    
Severity: Normal CC: berto, bugs-noreply, buildbot, cgarcia, commit-queue, csaavedra, gustavo, ialeksiev3, mcatanzaro
Priority: P2    
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description (bitlord) 2015-11-17 10:31:48 PST
This is example from my dsl router, every time I try to open its web interface it ask for authentication, but if you start typing nothing happens, you first need to click into text field to switch focus to it.
On other browsers same dialog and first input field is in focus automatically.
Comment 1 Michael Catanzaro 2015-11-17 10:35:06 PST
The request is just to focus the username field in the WebKitAuthenticationDialog by default.
Comment 2 Claudio Saavedra 2017-05-10 07:15:50 PDT
Created attachment 309601 [details]
Patch
Comment 3 Build Bot 2017-05-10 07:18:21 PDT
Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See http://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API
Comment 4 Michael Catanzaro 2017-05-10 07:32:00 PDT
Comment on attachment 309601 [details]
Patch

OK. Since this is GTK+, I guess it's probably not possible to add a layout test for this... and it's very minor anyway.
Comment 5 WebKit Commit Bot 2017-05-10 07:46:45 PDT
Comment on attachment 309601 [details]
Patch

Clearing flags on attachment: 309601

Committed r216584: <http://trac.webkit.org/changeset/216584>
Comment 6 WebKit Commit Bot 2017-05-10 07:46:47 PDT
All reviewed patches have been landed.  Closing bug.