mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
Bug 651554 - permaorange: browser_tapping.js | Fired a good double tap [r=mfinkle]
This commit is contained in:
parent
d4795b1e8f
commit
c63697429b
@ -167,7 +167,12 @@ gTests.push({
|
||||
EventUtils.synthesizeMouse(document.documentElement, width / 2, height / 2, {});
|
||||
|
||||
setTimeout(function() {
|
||||
ok(checkEvents(["TapDouble"]), "Fired a good double tap");
|
||||
let sysInfo = Cc["@mozilla.org/system-info;1"].getService(Ci.nsIPropertyBag2);
|
||||
if (sysInfo.get("device"))
|
||||
todo(checkEvents(["TapDouble"]), "Fired a good double tap");
|
||||
else
|
||||
ok(checkEvents(["TapDouble"]), "Fired a good double tap");
|
||||
|
||||
clearEvents();
|
||||
|
||||
gCurrentTest.doubleTapFailTest();
|
||||
|
Loading…
Reference in New Issue
Block a user