From c50c97c5bf63b14129662fc3c03544374d018ae7 Mon Sep 17 00:00:00 2001 From: Daniel Brooks Date: Wed, 18 Nov 2009 06:15:03 -0600 Subject: [PATCH] bug 528792 - test frippery --- toolkit/content/tests/widgets/test_popup_scaled.xul | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolkit/content/tests/widgets/test_popup_scaled.xul b/toolkit/content/tests/widgets/test_popup_scaled.xul index da20cb0a194..7e5b75e3a41 100644 --- a/toolkit/content/tests/widgets/test_popup_scaled.xul +++ b/toolkit/content/tests/widgets/test_popup_scaled.xul @@ -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); } }