Bug 1324892: Fix tests for switch to macOS SDK 10.11. r=mstange
authorStephen A Pohl <spohl.mozilla.bugs@gmail.com>
Fri, 08 Sep 2017 15:49:23 -0400
changeset 429358 096247c952ea54152e8a0faa360dc8470d892214
parent 429357 643c70cb9158f57712042853b3265b1e4ec8d474
child 429359 8a67124d36d9ed0c6fa9111ae33620aeddc4ce4d
push id7761
push userjlund@mozilla.com
push dateFri, 15 Sep 2017 00:19:52 +0000
treeherdermozilla-beta@c38455951db4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmstange
bugs1324892
milestone57.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1324892: Fix tests for switch to macOS SDK 10.11. r=mstange
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 (!isPanelTest && !overlapOSChrome) {
+  if (!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) {