bug 528792 - test frippery

This commit is contained in:
Daniel Brooks 2009-11-18 06:15:03 -06:00
parent 4a9efbdb4a
commit 2044fa1490

View File

@ -78,7 +78,6 @@ function nextTest()
}
else {
screenTest = true;
setScale(window, 2);
var box = document.documentElement.boxObject;
// - the iframe is at 4×, but out here css pixels are only 2× device pixels
@ -86,6 +85,7 @@ function nextTest()
// integers, so ensure we pass in even numbers to openPopupAtScreen
screenx = (x = even(box.screenX + 120))/2;
screeny = (y = even(box.screenY + 120))/2;
setScale(window, 2);
$("popup").openPopupAtScreen(x, y);
}
}