Closed Bug 1424317 Opened 2 years ago Closed 2 years ago

Unconditionally remove UIA detection hook after UIA detection runs

Categories

(Core :: Disability Access APIs, enhancement)

Unspecified
Windows
enhancement
Not set

Tracking

()

RESOLVED FIXED
mozilla59
Tracking Status
firefox59 --- fixed

People

(Reporter: aklotz, Assigned: aklotz)

References

Details

Attachments

(1 file)

The current code only removes the hook if we successfully found an instnatiator. This is a problem, however, if we fail to retrieve the instantiator. Every single UIA request will attempt to re-run the UIA detection code, causing tens of milliseconds of delays.

Instead we should try it once, and if we don't get anything, just stop.
Attachment #8935827 - Flags: review?(jmathies) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/75960f4bb234e7d51428323fb37c434330cc7b06
Bug 1424317: Unconditionally remove UIA hook once UIA detection has run; r=jimm
https://hg.mozilla.org/mozilla-central/rev/75960f4bb234
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
You need to log in before you can comment on or make changes to this bug.