RESOLVED FIXED 182198
Make accessibility/mac/selection-notification-focus-change.html more reliable and re-enable it
https://bugs.webkit.org/show_bug.cgi?id=182198
Summary Make accessibility/mac/selection-notification-focus-change.html more reliable...
Ryosuke Niwa
Reported 2018-01-26 17:11:59 PST
Right now, accessibility/mac/selection-notification-focus-change.html is marked as pass & fail. This is because the test used to flakily fail. It now fails with the same output each time. We should update the test to be more reliable and re-enable it everywhere.
Attachments
Fixes the test (9.61 KB, patch)
2018-01-26 17:26 PST, Ryosuke Niwa
thorton: review+
Radar WebKit Bug Importer
Comment 1 2018-01-26 17:12:27 PST
Ryosuke Niwa
Comment 2 2018-01-26 17:26:40 PST
Created attachment 332438 [details] Fixes the test
chris fleizach
Comment 3 2018-01-26 17:39:43 PST
Comment on attachment 332438 [details] Fixes the test View in context: https://bugs.webkit.org/attachment.cgi?id=332438&action=review > LayoutTests/accessibility/mac/selection-notification-focus-change-expected.txt:21 > +FAIL userInfo["AXTextSelectionChangedFocus"] should be true (of type boolean). Was undefined (of type undefined). is this expected to check in the FAIL case?
Ryosuke Niwa
Comment 4 2018-01-26 17:44:50 PST
(In reply to chris fleizach from comment #3) > Comment on attachment 332438 [details] > Fixes the test > > View in context: > https://bugs.webkit.org/attachment.cgi?id=332438&action=review > > > LayoutTests/accessibility/mac/selection-notification-focus-change-expected.txt:21 > > +FAIL userInfo["AXTextSelectionChangedFocus"] should be true (of type boolean). Was undefined (of type undefined). > > is this expected to check in the FAIL case? No, but I have a fix coming up soon :). I wanted to land the test change first so that it's easy to see what code change fixes which test case instead of changing the code & the test at the same time.
Ryosuke Niwa
Comment 5 2018-01-26 22:26:11 PST
Note You need to log in before you can comment on or make changes to this bug.