Bug 147555

Summary: Inputs with the autofocus attribute cause the keyboard to not deploy
Product: WebKit Reporter: Wenson Hsieh <wenson_hsieh>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: buildbot, commit-queue, rniwa, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: iPhone / iPad   
OS: Unspecified   
Attachments:
Description Flags
Test case that reproduces the bug
none
Patch
none
Patch
none
Archive of layout-test-results from ews101 for mac-mavericks
none
Archive of layout-test-results from ews107 for mac-mavericks-wk2
none
Patch none

Description Wenson Hsieh 2015-08-02 23:00:06 PDT
Created attachment 258050 [details]
Test case that reproduces the bug

Upon submitting a form by pressing "Go" on the keyboard, an <input> on the next page with the autofocus attribute may become non-interactible. When attempting to tap on the input, nothing seems to happen. See the attached test case for more details (at the time of writing, it is also deployed to whsieh-test.herokuapp.com).
Comment 1 Wenson Hsieh 2015-08-02 23:01:56 PDT
<rdar://problem/22018044>
Comment 2 Wenson Hsieh 2015-08-03 09:33:01 PDT
Created attachment 258064 [details]
Patch
Comment 3 Wenson Hsieh 2015-08-03 09:35:19 PDT
Created attachment 258065 [details]
Patch
Comment 4 Build Bot 2015-08-03 09:56:04 PDT
Comment on attachment 258065 [details]
Patch

Attachment 258065 [details] did not pass mac-ews (mac):
Output: http://webkit-queues.webkit.org/results/11630

New failing tests:
fast/forms/onchange-enter-submit.html
Comment 5 Build Bot 2015-08-03 09:56:06 PDT
Created attachment 258069 [details]
Archive of layout-test-results from ews101 for mac-mavericks

The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: ews101  Port: mac-mavericks  Platform: Mac OS X 10.9.5
Comment 6 Build Bot 2015-08-03 10:32:41 PDT
Comment on attachment 258065 [details]
Patch

Attachment 258065 [details] did not pass mac-wk2-ews (mac-wk2):
Output: http://webkit-queues.webkit.org/results/11714

New failing tests:
fast/forms/onchange-enter-submit.html
Comment 7 Build Bot 2015-08-03 10:32:43 PDT
Created attachment 258073 [details]
Archive of layout-test-results from ews107 for mac-mavericks-wk2

The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: ews107  Port: mac-mavericks-wk2  Platform: Mac OS X 10.9.5
Comment 8 Wenson Hsieh 2015-08-03 11:44:36 PDT
Created attachment 258092 [details]
Patch
Comment 9 Andreas Kling 2015-08-03 11:54:58 PDT
Comment on attachment 258092 [details]
Patch

r=me
Comment 10 WebKit Commit Bot 2015-08-03 12:29:59 PDT
Comment on attachment 258092 [details]
Patch

Clearing flags on attachment: 258092

Committed r187751: <http://trac.webkit.org/changeset/187751>
Comment 11 WebKit Commit Bot 2015-08-03 12:30:03 PDT
All reviewed patches have been landed.  Closing bug.