mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1177651 - Ensure that the preventDefault calls work with APZ enabled if the test is running slowly. r=dvander
This commit is contained in:
parent
a91fce0ff8
commit
5a90b6ad27
@ -1330,6 +1330,9 @@ function* testBody()
|
||||
SpecialPowers.setIntPref("mousewheel.with_win.delta_multiplier_x", 100);
|
||||
SpecialPowers.setIntPref("mousewheel.with_win.delta_multiplier_y", 100);
|
||||
SpecialPowers.setIntPref("mousewheel.with_win.delta_multiplier_z", 100);
|
||||
// If APZ is enabled we should ensure the preventDefault calls work even
|
||||
// if the test is running slowly.
|
||||
SpecialPowers.setIntPref("apz.content_response_timeout", 2000);
|
||||
|
||||
yield* prepareScrollUnits();
|
||||
yield* doTests();
|
||||
@ -1352,6 +1355,7 @@ function* testBody()
|
||||
SpecialPowers.clearUserPref("mousewheel.with_win.delta_multiplier_x");
|
||||
SpecialPowers.clearUserPref("mousewheel.with_win.delta_multiplier_y");
|
||||
SpecialPowers.clearUserPref("mousewheel.with_win.delta_multiplier_z");
|
||||
SpecialPowers.clearUserPref("apz.content_response_timeout");
|
||||
}
|
||||
|
||||
var gTestContinuation = null;
|
||||
|
Loading…
Reference in New Issue
Block a user