Bug 651554 - permaorange: browser_tapping.js | Fired a good double tap [r=mfinkle]

This commit is contained in:
Phil Ringnalda 2011-05-30 13:49:11 +02:00
parent d4795b1e8f
commit c63697429b

View File

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