Bug 651429 - Wait for panning to end in test. r=mfinkle

This commit is contained in:
Wes Johnston 2011-04-21 10:51:47 -07:00
parent 8869e128b5
commit ef72f6c629

View File

@ -223,7 +223,9 @@ gTests.push({
ok(checkEvents([]), "Fired a pan + delay which should be seen as a non-event");
clearEvents();
gCurrentTest.longTapPassTest();
window.addEventListener("PanFinished", function() {
setTimeout(gCurrentTest.longTapPassTest, 0);
}, true);
}, 500);
},