Closed Bug 455840 Opened 11 years ago Closed 9 years ago
_ns IAccessible _focus .html mochitest to use event Queue
In test_nsIAccessible_focus.html, when run with all tests, the test for focused state on the "aria-link" element fails. However right prior to that, the test for the corresponding dom node having focus passes. Determine why getFinalState returns the wrong info in this case. I already tried prolonging the timeout in this window.setTimeout function block, but even at 250, which is a quarter of a second, the result is no different, so the state is apparently not set at all. The test is currently marked as known fail and wrapped in an if statement so the other tests for this state still have a chance to succeed.
I can't recreate this bug.
Assignee: nobody → bolterbugz
Comment on attachment 403277 [details] [diff] [review] patch After discussing on IRC, we think it makes sense to tie this file into our new event handling rather than patching it up the other way. Cancelling review request.
10 years ago
Assignee: bolterbugz → marco.zehe
Marco, do we want to do anything here?
We should see if we have an equivalent test like the one indicated in the patch. If that works, close as WFM.
change mochitest to use eventQueue
Summary: Determine why focused state is not set on aria-link event hough the dom node has focus. → change test_nsIAccessible_focus.html mochitest to use eventQueue
Comment on attachment 518630 [details] [diff] [review] patch Yes, that's looking good, thanks! r=me
Attachment #518630 - Flags: review?(marco.zehe) → review+
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0
You need to log in before you can comment on or make changes to this bug.