Closed Bug 1881190 Opened 8 months ago Closed 8 months ago

[UIA] Switch to a properly defined static pref

Categories

(Core :: Disability Access APIs, task)

Desktop
Windows
task

Tracking

()

RESOLVED FIXED
125 Branch
Tracking Status
firefox125 --- fixed

People

(Reporter: Jamie, Assigned: Jamie)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Our UIA implementation (rudimentary as it is) is currently gated behind a GetBoolPref call on an undefined pref. We should instead define the pref in StaticPrefList.yaml and use the dedicated C++ getter that generates. Note that this doesn't need to be a mirror: once (requires restart) pref. mirror: always will be fine.

OS: Unspecified → Windows
Hardware: Unspecified → Desktop

Previously, we used an undefined (and thus hidden) pref, making it more difficult to toggle.
Also, we used GetBoolPref, which is slightly less efficient.
But mostly, this is just cleaner.

Assignee: nobody → jteh
Status: NEW → ASSIGNED
Pushed by jteh@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d9ff1fbbe73e Switch to a properly defined static pref for enabling of UI Automation. r=nlapre
Status: ASSIGNED → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch
Regressions: 1896816
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: