Closed Bug 1548253 Opened 8 months ago Closed 8 months ago

Port pref cache variables of nsContentUtils to StaticPrefs

Categories

(Core :: DOM: Core & HTML, task, P2)

task

Tracking

()

RESOLVED FIXED
mozilla68
Tracking Status
firefox68 --- fixed

People

(Reporter: baku, Assigned: baku)

References

Details

Attachments

(27 files, 1 obsolete file)

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
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
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

nsContentUtils.cpp uses Preferences::AddBoolVarCache() a lot:

https://searchfox.org/mozilla-central/rev/f0ef51bfafc8ad0c3a2f523bf076edc57dc4891a/dom/base/nsContentUtils.cpp#632-712

All of these can be converted to StaticPrefs.

Attachment #9061895 - Attachment is obsolete: true
Pushed by amarchesini@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b4777b487caf
Port pref cache variables of nsContentUtils to StaticPrefs - full-screen-api.enabled, r=Ehsan
https://hg.mozilla.org/integration/autoland/rev/caabb7fbc2e2
Port pref cache variables of nsContentUtils to StaticPrefs - full-screen-api.unprefix.enabled, r=Ehsan
https://hg.mozilla.org/integration/autoland/rev/6c8359a8c5b4
Port pref cache variables of nsContentUtils to StaticPrefs - full-screen-api.allow-trusted-requests-only, r=Ehsan
https://hg.mozilla.org/integration/autoland/rev/32a9dc03ded3
Port pref cache variables of nsContentUtils to StaticPrefs - dom.allow_cut_copy, r=Ehsan
https://hg.mozilla.org/integration/autoland/rev/04c2cdd7311b
Port pref cache variables of nsContentUtils to StaticPrefs - dom.enable_performance, r=Ehsan
https://hg.mozilla.org/integration/autoland/rev/4826fedb277d
Port pref cache variables of nsContentUtils to StaticPrefs - dom.enable_resource_timing, r=Ehsan
https://hg.mozilla.org/integration/autoland/rev/8dd0d629bbb4
Port pref cache variables of nsContentUtils to StaticPrefs - dom.enable_performance_navigation_timing, r=Ehsan
https://hg.mozilla.org/integration/autoland/rev/112043fdad43
Port pref cache variables of nsContentUtils to StaticPrefs - security.mixed_content.upgrade_display_content, r=Ehsan
https://hg.mozilla.org/integration/autoland/rev/aa2f98e4c908
Port pref cache variables of nsContentUtils to StaticPrefs - dom.enable_frame_timing, r=Ehsan
https://hg.mozilla.org/integration/autoland/rev/182ea7ffeb7f
Port pref cache variables of nsContentUtils to StaticPrefs - dom.forms.autocomplete.formautofill, r=Ehsan
https://hg.mozilla.org/integration/autoland/rev/ce2fd287bfe3
Port pref cache variables of nsContentUtils to StaticPrefs - privacy.window.maxInnerWidth/Height, r=Ehsan
https://hg.mozilla.org/integration/autoland/rev/e323ab3dd2b3
Port pref cache variables of nsContentUtils to StaticPrefs - dom.event.handling-user-input-time-limit, r=Ehsan
https://hg.mozilla.org/integration/autoland/rev/c64a91442fa0
Port pref cache variables of nsContentUtils to StaticPrefs - dom.performance.enable_notify_performance_timing, r=Ehsan
https://hg.mozilla.org/integration/autoland/rev/10c31efa0b10
Port pref cache variables of nsContentUtils to StaticPrefs - privacy.donottrackheader.enabled, r=Ehsan
https://hg.mozilla.org/integration/autoland/rev/c1f3b933fcf9
Port pref cache variables of nsContentUtils to StaticPrefs - ui.use_activity_cursor, r=Ehsan
https://hg.mozilla.org/integration/autoland/rev/0aefb5e67e72
Port pref cache variables of nsContentUtils to StaticPrefs - dom.animations-api.core.enabled, r=Ehsan
https://hg.mozilla.org/integration/autoland/rev/56c0a3cb06c3
Port pref cache variables of nsContentUtils to StaticPrefs - layout.css.getBoxQuads.enabled, r=Ehsan
https://hg.mozilla.org/integration/autoland/rev/cfd5b0a2f197
Port pref cache variables of nsContentUtils to StaticPrefs - dom.input.skip_cursor_move_for_same_value_set, r=Ehsan
https://hg.mozilla.org/integration/autoland/rev/2635d54614b2
Port pref cache variables of nsContentUtils to StaticPrefs - dom.requestIdleCallback.enabled, r=Ehsan
https://hg.mozilla.org/integration/autoland/rev/f218dd7cbfad
Port pref cache variables of nsContentUtils to StaticPrefs - network.http.tailing.enabled, r=Ehsan
https://hg.mozilla.org/integration/autoland/rev/431944c99e17
Port pref cache variables of nsContentUtils to StaticPrefs - dom.placeholder.show_on_focus, r=Ehsan
https://hg.mozilla.org/integration/autoland/rev/e9c3fbcf6ae8
Port pref cache variables of nsContentUtils to StaticPrefs - browser.autofocus, r=Ehsan
https://hg.mozilla.org/integration/autoland/rev/0f932f5341a0
Port pref cache variables of nsContentUtils to StaticPrefs - dom.script_loader.bytecode_cache.enabled, r=Ehsan
https://hg.mozilla.org/integration/autoland/rev/3bebcc207e1b
Port pref cache variables of nsContentUtils to StaticPrefs - browser.contentblocking.rejecttrackers.control-center.ui.enabled, r=Ehsan
https://hg.mozilla.org/integration/autoland/rev/4c06fb6c9e31
Port pref cache variables of nsContentUtils to StaticPrefs - dom.script_loader.bytecode_cache.strategy, r=Ehsan
https://hg.mozilla.org/integration/autoland/rev/1be432c72aeb
Port pref cache variables of nsContentUtils to StaticPrefs - dom_presentation_testing_simulate_receiver, r=Ehsan
https://hg.mozilla.org/integration/autoland/rev/d0c37d548ba8
Port pref cache variables of nsContentUtils to StaticPrefs - dom.largeAllocation.forceEnable, r=Ehsan
Regressions: 1548402
Assignee: nobody → amarchesini
Status: NEW → ASSIGNED
Type: defect → task
Priority: -- → P2

https://hg.mozilla.org/mozilla-central/rev/b4777b487caf
https://hg.mozilla.org/mozilla-central/rev/caabb7fbc2e2
https://hg.mozilla.org/mozilla-central/rev/6c8359a8c5b4
https://hg.mozilla.org/mozilla-central/rev/32a9dc03ded3
https://hg.mozilla.org/mozilla-central/rev/04c2cdd7311b
https://hg.mozilla.org/mozilla-central/rev/4826fedb277d
https://hg.mozilla.org/mozilla-central/rev/8dd0d629bbb4
https://hg.mozilla.org/mozilla-central/rev/112043fdad43
https://hg.mozilla.org/mozilla-central/rev/aa2f98e4c908
https://hg.mozilla.org/mozilla-central/rev/182ea7ffeb7f
https://hg.mozilla.org/mozilla-central/rev/ce2fd287bfe3
https://hg.mozilla.org/mozilla-central/rev/e323ab3dd2b3
https://hg.mozilla.org/mozilla-central/rev/c64a91442fa0
https://hg.mozilla.org/mozilla-central/rev/10c31efa0b10
https://hg.mozilla.org/mozilla-central/rev/c1f3b933fcf9
https://hg.mozilla.org/mozilla-central/rev/0aefb5e67e72
https://hg.mozilla.org/mozilla-central/rev/56c0a3cb06c3
https://hg.mozilla.org/mozilla-central/rev/cfd5b0a2f197
https://hg.mozilla.org/mozilla-central/rev/2635d54614b2
https://hg.mozilla.org/mozilla-central/rev/f218dd7cbfad
https://hg.mozilla.org/mozilla-central/rev/431944c99e17
https://hg.mozilla.org/mozilla-central/rev/e9c3fbcf6ae8
https://hg.mozilla.org/mozilla-central/rev/0f932f5341a0
https://hg.mozilla.org/mozilla-central/rev/3bebcc207e1b
https://hg.mozilla.org/mozilla-central/rev/4c06fb6c9e31
https://hg.mozilla.org/mozilla-central/rev/1be432c72aeb
https://hg.mozilla.org/mozilla-central/rev/d0c37d548ba8

Status: ASSIGNED → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
You need to log in before you can comment on or make changes to this bug.