Backed out changeset ac1381f38c3f (bug 1324892)
authorSebastian Hengst <archaeopteryx@coole-files.de>
Fri, 08 Sep 2017 19:46:34 +0200
changeset 661591 c1d35cfb410bfeacc3a30e838c792ae27aa551d0
parent 661590 b04b2abfc1701601879947e934c1b2271c154e38
child 661592 81de05d441e4bdb2b37b0344f3f88de5076c5edb
push id78830
push userasasaki@mozilla.com
push dateFri, 08 Sep 2017 19:44:43 +0000
bugs1324892
milestone57.0a1
backs outac1381f38c3f7cd0f548d55cea7840f9351fccf5
Backed out changeset ac1381f38c3f (bug 1324892)
toolkit/content/tests/chrome/window_largemenu.xul
--- a/toolkit/content/tests/chrome/window_largemenu.xul
+++ b/toolkit/content/tests/chrome/window_largemenu.xul
@@ -319,17 +319,17 @@ function testPopupMovement()
   var screenX, screenY, buttonScreenX, buttonScreenY;
   var rect = popup.getBoundingClientRect();
 
   var overlapOSChrome = !platformIsMac();
   popup.moveTo(1, 1);
   [screenX, screenY] = getScreenXY(popup);
 
   var expectedx = 1, expectedy = 1;
-  if (!overlapOSChrome) {
+  if (!isPanelTest && !overlapOSChrome) {
     if (screen.availLeft >= 1) expectedx = screen.availLeft;
     if (screen.availTop >= 1) expectedy = screen.availTop;
   }
   is(screenX, expectedx, gTests[gTestIndex] + " (1, 1) x");
   is(screenY, expectedy, gTests[gTestIndex] + " (1, 1) y");
 
   popup.moveTo(100, 8000);
   if (isPanelTest) {