Closed Bug 1224339 Opened 9 years ago Closed 9 years ago

Handle asynchrony between accessible and DOM trees when a11y check is enabled in marionette.

Categories

(Remote Protocol :: Marionette, defect)

defect
Not set
normal

Tracking

(firefox45 fixed)

RESOLVED FIXED
mozilla45
Tracking Status
firefox45 --- fixed

People

(Reporter: yzen, Assigned: yzen)

Details

(Keywords: access)

Attachments

(1 file)

Right now we only make one attempt to retrieve and accessible object for an element. This is problematic because accessible tree and DOM tree might be out of sync for a short little while (while a11y tree is updating). Thus we need to attempt to retrieve and accessible object several times. We already had that approach in Gaia Python tests (https://github.com/mozilla-b2g/gaia/blob/master/tests/atoms/accessibility.js#L16-L36) but it should be universal and available to all clients.
imported patch 1224339.patch
Comment on attachment 8686799 [details]
MozReview Request: imported patch 1224339.patch

Review request updated; see interdiff: https://reviewboard.mozilla.org/r/25081/diff/1-2/
Attachment #8686799 - Flags: review?(dburns)
Attachment #8686799 - Flags: review?(dburns) → review+
Comment on attachment 8686799 [details]
MozReview Request: imported patch 1224339.patch

https://reviewboard.mozilla.org/r/25081/#review22647

Make sure to give it a meaningful commit message :)
https://hg.mozilla.org/mozilla-central/rev/b0e16f67e098
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: