Bug 422132 part.3 Disable smooth scroll in the new test due to random orange r=smaug

This commit is contained in:
Masayuki Nakano 2012-08-20 11:46:08 +09:00
parent f19581794b
commit b147137040

View File

@ -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();