Bug 151199 - WK2 iOS interaction tests in LayoutTests/fast/events/ios are flaky
Summary: WK2 iOS interaction tests in LayoutTests/fast/events/ios are flaky
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: iPhone / iPad Unspecified
: P2 Normal
Assignee: Wenson Hsieh
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-11-12 10:15 PST by Wenson Hsieh
Modified: 2015-11-13 16:05 PST (History)
4 users (show)

See Also:


Attachments
Patch (1.59 KB, patch)
2015-11-12 12:37 PST, Wenson Hsieh
no flags Details | Formatted Diff | Diff
Patch (2.98 KB, patch)
2015-11-13 15:54 PST, Wenson Hsieh
thorton: review+
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-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>