зеркало из https://github.com/mozilla/gecko-dev.git
Bug 944125 - test_bug602962.xul is racy, r=ehsan
--HG-- extra : rebase_source : 183ab49a00239b39518ee67cb547caa1fac9333e
This commit is contained in:
Родитель
d0ea96520f
Коммит
4d0205662c
|
@ -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);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче