mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 422132 part.3 Disable smooth scroll in the new test due to random orange r=smaug
This commit is contained in:
parent
f19581794b
commit
b147137040
@ -38,6 +38,7 @@ function hitEventLoop(aFunc, aTimes)
|
||||
|
||||
function runTests()
|
||||
{
|
||||
SpecialPowers.setBoolPref("general.smoothScroll", false);
|
||||
SpecialPowers.setIntPref("mousewheel.min_line_scroll_amount", 1);
|
||||
SpecialPowers.setIntPref("mousewheel.transaction.timeout", 100000);
|
||||
|
||||
@ -79,6 +80,7 @@ function runTests()
|
||||
"not scrolled to right by 0.5 line delta value with pending 0.5 line delta");
|
||||
ok(target.scrollTop > scrollTop,
|
||||
"not scrolled to bottom by 0.5 line delta value with pending 0.5 line delta");
|
||||
SpecialPowers.clearUserPref("general.smoothScroll");
|
||||
SpecialPowers.clearUserPref("mousewheel.min_line_scroll_amount");
|
||||
SpecialPowers.clearUserPref("mousewheel.transaction.timeout");
|
||||
SimpleTest.finish();
|
||||
|
Loading…
Reference in New Issue
Block a user