Bug 147555 - Inputs with the autofocus attribute cause the keyboard to not deploy
Summary: Inputs with the autofocus attribute cause the keyboard to not deploy
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: iPhone / iPad Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-08-02 23:00 PDT by Wenson Hsieh
Modified: 2015-08-03 12:30 PDT (History)
4 users (show)

See Also:


Attachments
Test case that reproduces the bug (4.17 KB, application/zip)
2015-08-02 23:00 PDT, Wenson Hsieh
no flags Details
Patch (2.16 KB, patch)
2015-08-03 09:33 PDT, Wenson Hsieh
no flags Details | Formatted Diff | Diff
Patch (2.18 KB, patch)
2015-08-03 09:35 PDT, Wenson Hsieh
no flags Details | Formatted Diff | Diff
Archive of layout-test-results from ews101 for mac-mavericks (601.18 KB, application/zip)
2015-08-03 09:56 PDT, Build Bot
no flags Details
Archive of layout-test-results from ews107 for mac-mavericks-wk2 (597.69 KB, application/zip)
2015-08-03 10:32 PDT, Build Bot
no flags Details
Patch (2.16 KB, patch)
2015-08-03 11:44 PDT, Wenson Hsieh
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.