Bug 151199

Summary: WK2 iOS interaction tests in LayoutTests/fast/events/ios are flaky
Product: WebKit Reporter: Wenson Hsieh <wenson_hsieh>
Component: Tools / TestsAssignee: Wenson Hsieh <wenson_hsieh>
Status: RESOLVED FIXED    
Severity: Normal CC: lforschler, simon.fraser, thorton, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: iPhone / iPad   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch thorton: review+

Description Wenson Hsieh 2015-11-12 10:15:22 PST
When running iOS interaction tests using UIScriptController, we time out in rare cases.
Comment 1 Wenson Hsieh 2015-11-12 10:15:44 PST
This happens because touches may occasionally hit-test to the UIStatusBarWindow instead of WebKitTestRunnerWindow, causing WebKit's gesture recognizers to never fire. This can be easily fixed by disabling user interaction for the UIStatusBarWindow when launching WKTR.
Comment 2 Wenson Hsieh 2015-11-12 12:31:11 PST
<rdar://problem/23518459>
Comment 3 Wenson Hsieh 2015-11-12 12:37:02 PST
Created attachment 265422 [details]
Patch
Comment 4 Wenson Hsieh 2015-11-13 15:54:46 PST
Created attachment 265509 [details]
Patch
Comment 5 Tim Horton 2015-11-13 15:59:43 PST
Comment on attachment 265509 [details]
Patch

Furrrrrrther. I think it should be all the way at the bottom of this function.
Comment 6 Wenson Hsieh 2015-11-13 16:05:03 PST
Committed r192448: <http://trac.webkit.org/changeset/192448>