Closed Bug 1570084 Opened 4 months ago Closed 4 months ago

Convert the VarCache pref in AccessibleNode to static pref

Categories

(Core :: Preferences: Backend, enhancement)

enhancement
Not set

Tracking

()

RESOLVED FIXED
mozilla70
Tracking Status
firefox70 --- fixed

People

(Reporter: KrisWright, Assigned: KrisWright)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

It looks like there is only one VarCache pref added in accessibile/*, which is defined in AccessibleNode::isAOMEnabled(...)[1]. This can be converted to use a static pref instead.

[1] https://searchfox.org/mozilla-central/rev/38c88cbf4be87dfa0636d15a5d3599a8ea0d1a72/accessible/aom/AccessibleNode.cpp#21

Converts accessibility.AOM.enabled to static pref and removes the related mirror variable and static flag used to initially generate the varcache pref

This removes accesibility.AOM.enabled from all.js, as the previous patch defines it in staticpreflist.yaml.

Pushed by kwright@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/fa5ecfa68c5b
Convert accessibility.AOM.enabled varcache pref to static pref. r=njn
https://hg.mozilla.org/integration/autoland/rev/e4f859815226
Remove accessibility.AOM.enabled from all.js. r=njn
Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
Assignee: nobody → kwright
You need to log in before you can comment on or make changes to this bug.