Bug 1561546 Part 1 - Change scrollbar pref early. r=hiro

Differential Revision: https://phabricator.services.mozilla.com/D46363

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Adam Gashlin 2019-09-18 21:28:06 +00:00
parent 6bd9ca2b13
commit 5dbbd97138
2 changed files with 1 additions and 4 deletions

View File

@ -329,8 +329,6 @@ waitForAllPaints(() => {
add_task(
async function restyling_transform_animations_in_scrolled_out_element() {
await SpecialPowers.pushPrefEnv({ set: [["ui.showHideScrollbars", 1]] });
// Make sure we start from the state right after requestAnimationFrame.
await waitForFrame();
@ -1542,8 +1540,6 @@ waitForAllPaints(() => {
add_task(
async function no_overflow_transform_animations_in_scrollable_element() {
await SpecialPowers.pushPrefEnv({ set: [["ui.showHideScrollbars", 1]] });
const parentElement = addDiv(null,
{ style: 'overflow-y: scroll; height: 100px;' });
const div = addDiv(null);

View File

@ -12,6 +12,7 @@ SpecialPowers.pushPrefEnv(
set: [
['layout.reflow.synthMouseMove', false],
['privacy.reduceTimerPrecision', false],
["ui.showHideScrollbars", 1],
],
},
function() {