Convert the various prefs in widget/* to static prefs
Categories
(Core :: Preferences: Backend, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox70 | --- | fixed |
People
(Reporter: KrisWright, Assigned: KrisWright)
References
(Regression)
Details
(Keywords: regression)
Attachments
(11 files)
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review |
There are 14 varcache prefs left defined in the widget directory, one or two to a file:
browser.tabs.remote.desktopbehavior
dom.keyboardevent.dispatch_during_composition
dom.keyboardevent.keypress.dispatch_non_printable_keys_only_system_group_in_content
ui.key.generalAccessKey
ui.key.chromeAccess
ui.key.contentAccess
intl.ime.hack.on_any_apps.fire_key_events_for_composition
ui.scrolling.negate_wheel_scroll
android.widget_paints_background
layout.css.devPixelsPerPx
ui.context_menus.after_mouseup
ui.use_native_colors
findbar.modalHighlight
dom.w3c_pointer_events.dispatch_by_pointer_messages
A quick search tells me that these prefs are mostly straightforward, with the bulk of them following the same pattern seen in bug 1573268.
Assignee | ||
Comment 1•5 years ago
|
||
Converts browser.tabs.remote.desktopBehavior to a static pref. Updates usages.
Assignee | ||
Comment 2•5 years ago
|
||
Converts dom.keyboardevent.dispatch_during_composition and dom.keyboardevent.keypress.dispatch_non_printable_keys_only_system_group_in_content to static prefs. Removes the dispatch_during_composition entry from mobile.js, since it just redefines the same pref value.
Assignee | ||
Comment 3•5 years ago
|
||
Converts ui.key.generalAccessKey, ui.key.chromeAccess, and ui.key.contentAccess to static prefs. Updates usages.
Assignee | ||
Comment 4•5 years ago
|
||
Converts intl.ime.hack.on_any_apps.fire_key_events_for_composition to a static pref and updates its usages.
Assignee | ||
Comment 5•5 years ago
|
||
Converts ui.scrolling.negate_wheel_scroll to a static pref and updates its usages. This one is only enabled on android, so I used the IS_ANDROID value to fill it.
Assignee | ||
Comment 6•5 years ago
|
||
Converts android.widget_paints_background to a static pref. From my understanding, this pref only matters on android, and the overridden function in nsIWidget defaults to false
. Based on that I replaced the entire WidgetPaintsBackground() function with a static pref.
Assignee | ||
Comment 7•5 years ago
|
||
Converts layout.css.devPixelsPerPx to a static pref. This one was one of the slightly odd ones; some values were expecting an atomic float, so instead of defining a regular type float it is defined in StaticPrefList.yaml as an AtomicFloat. I am assuming this was the intent of the pref value all along.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 8•5 years ago
|
||
Converts ui.context_menus.after_mouseup varcache pref to a static pref and removes its associated function.
Assignee | ||
Comment 9•5 years ago
|
||
Converts ui.use_native_colors to a static pref and updates its usages.
Assignee | ||
Comment 10•5 years ago
|
||
Converts findbar.modalHighlight to a static pref and updates its usages.
Assignee | ||
Comment 11•5 years ago
|
||
Converts dom.w3c_pointer_events.dispatch_by_pointer_messages to a static pref and removes its mirror variable.
Comment 12•5 years ago
|
||
Pushed by kwright@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/18aea5732daf Convert browser.tabs.remote.desktopBehavior to static pref. r=njn https://hg.mozilla.org/integration/autoland/rev/0c96b213ba8d Convert two dom.keyboardevent.* prefs to staticprefs. r=njn https://hg.mozilla.org/integration/autoland/rev/5b8559f79b94 Convert 3 ui.key.* prefs to static prefs. r=njn https://hg.mozilla.org/integration/autoland/rev/72a0e619b7c5 Convert intl.ime.hack.on_any_apps.fire_key_events_for_composition to static pref. r=njn https://hg.mozilla.org/integration/autoland/rev/17f6be679d8d Convert ui.scrolling.negate_wheel_scroll to static pref. r=njn https://hg.mozilla.org/integration/autoland/rev/d3dc8d935523 Convert android.widget_paints_background to static pref. r=njn https://hg.mozilla.org/integration/autoland/rev/0b5a8bc0d337 Convert layout.css.devPixelsPerPx to static pref. r=njn https://hg.mozilla.org/integration/autoland/rev/330bdf13823d Convert ui.context_menus.after_mouseup to static pref. r=njn https://hg.mozilla.org/integration/autoland/rev/c9489f3868a0 Convert ui.use_native_colors to static pref. r=njn https://hg.mozilla.org/integration/autoland/rev/afcd59408f56 Convert findbar.modalHighlight to static pref. r=njn https://hg.mozilla.org/integration/autoland/rev/5f00f7fcd778 Convert dom.w3c_pointer_events.dispatch_by_pointer_messages to static pref. r=njn
Comment 13•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/18aea5732daf
https://hg.mozilla.org/mozilla-central/rev/0c96b213ba8d
https://hg.mozilla.org/mozilla-central/rev/5b8559f79b94
https://hg.mozilla.org/mozilla-central/rev/72a0e619b7c5
https://hg.mozilla.org/mozilla-central/rev/17f6be679d8d
https://hg.mozilla.org/mozilla-central/rev/d3dc8d935523
https://hg.mozilla.org/mozilla-central/rev/0b5a8bc0d337
https://hg.mozilla.org/mozilla-central/rev/330bdf13823d
https://hg.mozilla.org/mozilla-central/rev/c9489f3868a0
https://hg.mozilla.org/mozilla-central/rev/afcd59408f56
https://hg.mozilla.org/mozilla-central/rev/5f00f7fcd778
Updated•5 years ago
|
Updated•2 years ago
|
Description
•