Bug 155233
| Summary: | [iOS Simulator] fast/events/max-tabindex-focus.html times out | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ryan Haddad <ryanhaddad> |
| Component: | DOM | Assignee: | Chris Dumez <cdumez> |
| Status: | ASSIGNED | ||
| Severity: | Normal | CC: | ap, cdumez |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=155215 | ||
Ryan Haddad
[iOS Simulator] fast/events/max-tabindex-focus.html times out
Test was added with <http://trac.webkit.org/changeset/197835> and it has been timing out on iOS on every run.
<https://build.webkit.org/results/Apple%20iOS%209%20Simulator%20Release%20WK2%20(Tests)/r197857%20(3811)/results.html>
<https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#tests=fast%2Fevents%2Fmax-tabindex-focus.html>
--- /Volumes/Data/slave/ios-simulator-9-release-tests-wk2/build/layout-test-results/fast/events/max-tabindex-focus-expected.txt
+++ /Volumes/Data/slave/ios-simulator-9-release-tests-wk2/build/layout-test-results/fast/events/max-tabindex-focus-actual.txt
@@ -1,10 +1,2 @@
-Tests that an element with the maximum tabIndex value can be focused.
+FAIL: Timed out waiting for notifyDone to be called
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS Element with the maximum tabIndex was focused.
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Chris Dumez
In EventSenderProxyIOS.mm:
void EventSenderProxy::keyDown(WKStringRef key, WKEventModifiers modifiers, unsigned keyLocation)
{
// Write me.
}
iOS does not support EventSender.keydown() :/
Ryan Haddad
(In reply to comment #1)
> In EventSenderProxyIOS.mm:
> void EventSenderProxy::keyDown(WKStringRef key, WKEventModifiers modifiers,
> unsigned keyLocation)
> {
> // Write me.
> }
>
> iOS does not support EventSender.keydown() :/
I went ahead and skipped the test due to the impact on ios-sim EWS tests
<http://trac.webkit.org/projects/webkit/changeset/197859>
Chris Dumez
I'll take a look and see if I can write the test in another way
Alexey Proskuryakov
> iOS does not support EventSender.keydown() :/
It can't, because keyDown() is synchronous, and we cannot implement that on iOS. Possibly UI-side scripts can be used to run the test, although I don't know if iOS even supports tabbing to focus. Another potential alternative is accessibility.