Bug 944125 - test_bug602962.xul is racy, r=ehsan

--HG--
extra : rebase_source : 183ab49a00239b39518ee67cb547caa1fac9333e
This commit is contained in:
Olli Pettay 2013-11-28 18:49:24 +02:00
parent 18a5d44681
commit e5bac62129

View File

@ -73,6 +73,12 @@ function resize() {
}
function finish() {
if (win.outerWidth != oldWidth ||
win.outerHeight != oldHeight) {
// We should eventually get back to the original size.
setTimeout(finish, 0);
return;
}
is(mozBeforeResizeHasFired, true, "The MozBeforeResize event should already have fired");
sbo.scrollBy(scrollX, scrollY);