mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 967613 - Tighten up timing of touch injection calls to avoid the 100msec interval Windows enforces. r=mbrubeck
This commit is contained in:
parent
6b5fa5e337
commit
c48cfb9326
@ -27,6 +27,11 @@ function tearDown() {
|
||||
PanelUI.hide();
|
||||
BookmarksTestHelper.restore();
|
||||
HistoryTestHelper.restore();
|
||||
Browser.selectedTab
|
||||
.browser
|
||||
.contentWindow
|
||||
.QueryInterface(Ci.nsIInterfaceRequestor)
|
||||
.getInterface(Ci.nsIDOMWindowUtils).clearNativeTouchSequence();
|
||||
}
|
||||
|
||||
/*
|
||||
@ -85,7 +90,7 @@ gTests.push({
|
||||
let domUtils = win.QueryInterface(Ci.nsIInterfaceRequestor).getInterface(Ci.nsIDOMWindowUtils);
|
||||
var touchdrag = new TouchDragAndHold();
|
||||
touchdrag.useNativeEvents = true;
|
||||
touchdrag.stepTimeout = 20;
|
||||
touchdrag.stepTimeout = 5;
|
||||
touchdrag.numSteps = 20;
|
||||
|
||||
stopwatch.start();
|
||||
@ -122,7 +127,7 @@ gTests.push({
|
||||
let domUtils = win.QueryInterface(Ci.nsIInterfaceRequestor).getInterface(Ci.nsIDOMWindowUtils);
|
||||
var touchdrag = new TouchDragAndHold();
|
||||
touchdrag.useNativeEvents = true;
|
||||
touchdrag.stepTimeout = 20;
|
||||
touchdrag.stepTimeout = 5;
|
||||
touchdrag.numSteps = 10;
|
||||
|
||||
let iterations = 3;
|
||||
|
Loading…
Reference in New Issue
Block a user