Closed Bug 1771822 Opened 2 years ago Closed 2 years ago

Clean up obsolete or unnecessary prefs set when running APZ tests

Categories

(Core :: Panning and Zooming, task, P3)

task

Tracking

()

RESOLVED FIXED
104 Branch
Tracking Status
firefox104 --- fixed

People

(Reporter: botond, Assigned: botond)

References

Details

Attachments

(7 files)

No description provided.

This pref is left over from a previous dynamic toolbar implementation,
and no one was reading its value.

This pref is now enabled by default on all platforms.

Depends on D147810

Pushed by bballo@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/493bb853cb56
Remove the browser.chrome.dynamictoolbar pref. r=tnikkel,perftest-reviewers,AlexandruIonescu
https://hg.mozilla.org/integration/autoland/rev/a6d9ec5a481e
Do not explicitly set dom.visualviewport.enabled in tests. r=tnikkel
Keywords: leave-open

We can't do likewise for reftests and web platform tests because
those test suites disable apz.allow_zooming by default on android.

Pushed by bballo@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0a598b1533e6
Do not explicitly set apz.allow_zooming in mochitests. r=tnikkel
Regressions: 1779178

(In reply to Botond Ballo [:botond] from comment #5)

We can't do likewise for reftests and web platform tests because
those test suites disable apz.allow_zooming by default on android.

By the way, I did check to see how many reftests fail on Android with apz.allow_zooming enabled, looks like it's a few dozen.

It might be a good idea to change the Android default to apz.allow_zooming=true and disable it only for the specific tests that need it, until we investigate those failures; that way, at least new reftests get Android coverage with zooming enabled.

However, I don't know of a way to disable apz.allow_zooming for those tests on Android only; pref(apz.allow_zooming,false) in the reftest.list file would disable zooming on all platforms for those tests. Not sure if that would be an improvement in terms of test coverage...

The prefs handled in this patch are:

apz.paint_skipping.enabled
apz.force_disable_desktop_zooming_scrollbars
apz.mac.enable_double_tap_zoom_touchpad_gesture
dom.event.default_to_passive_touch_listeners
dom.visualviewport.enabled (one use left over)

It's currently unused.

Depends on D151795

These are no longer used.

Depends on D151796

Attachment #9285435 - Attachment description: Bug 1771822 - Do not explicitly set some other prefs, which are not always enabled, in tests. r=tnikkel → Bug 1771822 - Do not explicitly set some other prefs, which are now always enabled, in tests. r=tnikkel
Keywords: leave-open
Pushed by bballo@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b0c7abb73386
Do not explicitly set some other prefs, which are now always enabled, in tests. r=tnikkel
https://hg.mozilla.org/integration/autoland/rev/af7f68944b4f
Remove the apz.minimap.enabled pref. r=tnikkel
https://hg.mozilla.org/integration/autoland/rev/f41c9ad861cd
Remove the layers.low-precision-{buffer,resolution} prefs. r=tnikkel
https://hg.mozilla.org/integration/autoland/rev/937db60c3c63
Follow-up simplifications to DisplayPortUtils functions. r=tnikkel
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: