Bug 1967169 - Explicitly set layout.scroll.disable-pixel-alignment to test_bug583889.html. r=dlrobertson

Differential Revision: https://phabricator.services.mozilla.com/D250096
This commit is contained in:
Hiroyuki Ikezoe
2025-05-20 20:37:27 +00:00
committed by hikezoe.birchill@mozilla.com
parent b43fafceba
commit 251a73199e

View File

@@ -26,6 +26,12 @@ function* runTest() {
// Wait for onLoad event.
yield;
SpecialPowers.pushPrefEnv({
set: [ ["layout.scroll.disable-pixel-alignment", true] ]
}).then(grabEventAndGo);
// Wait for the pref change.
yield;
var inner = $("inner");
inner.src = "bug583889_inner1.html";
window.onmessage = grabEventAndGo;