Make accessibility retrieval synchronous in AccessibilityUtils.
Categories
(Testing :: General, task, P3)
Tracking
(firefox87 fixed)
Tracking | Status | |
---|---|---|
firefox87 | --- | fixed |
People
(Reporter: yzen, Assigned: yzen)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
Right now AccessibilityUtils retrieve accessible objects asynchronously. This is because accessible is not guaranteed to be created because layout was not flushed. We either wait for an accessibility event and then check for an accessible or, in the worst case scenario, we wait for 1 second and check if accessible was created.
We should be able to do this synchronously if we manage to force layout flush and refresh that creates the accessible node.
This is desired because we would require far less changes to existing tests and testing tools that assume sync when performing mouse and keyboard interactions.
Assignee | ||
Comment 1•3 years ago
|
||
Assignee | ||
Comment 2•3 years ago
|
||
Depends on D104126
Pushed by yura.zenevich@gmail.com: https://hg.mozilla.org/integration/autoland/rev/bcb4ba398ee0 make accessible retrieval synchronous. r=Jamie https://hg.mozilla.org/integration/autoland/rev/2b1ec882c4c1 revert EventUtils.sendMouseEvent back to being sync. r=jmaher
Comment 4•3 years ago
|
||
Backed out 2 changesets (Bug 1689445) for causing bc failures in browser_search.js
Backout link: https://hg.mozilla.org/integration/autoland/rev/3797039ad062dd566bbe5511f330c90b32b579b0
Failure log: https://treeherder.mozilla.org/logviewer?job_id=329081799&repo=autoland&lineNumber=8816
Pushed by yura.zenevich@gmail.com: https://hg.mozilla.org/integration/autoland/rev/a5a33dae3589 make accessible retrieval synchronous. r=Jamie https://hg.mozilla.org/integration/autoland/rev/d06c9fb6d902 revert EventUtils.sendMouseEvent back to being sync. r=jmaher
Comment 6•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/a5a33dae3589
https://hg.mozilla.org/mozilla-central/rev/d06c9fb6d902
Description
•