Bug 1334981 - Backed out changeset d6ca24ba3673 for regression caused by bug 887718. r=enndeakin+6102
authorHenrik Skupin <mail@hskupin.info>
Thu, 07 Jun 2018 15:48:48 +0200
changeset 421886 1f16a2ff45ab492025e42afb8122f4d52cb24c0b
parent 421885 f86b968525a8a9b21abb87fc75ac28f454417fb5
child 421887 5eb98e41ebd9776cdbe2fd7616676d87f78c10d3
push id34108
push useraiakab@mozilla.com
push dateFri, 08 Jun 2018 09:54:54 +0000
treeherdermozilla-central@5eb98e41ebd9 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersenndeakin
bugs1334981, 887718
milestone62.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 1334981 - Backed out changeset d6ca24ba3673 for regression caused by bug 887718. r=enndeakin+6102 MozReview-Commit-ID: 9hIcRVRseO1
dom/base/nsFocusManager.cpp
--- a/dom/base/nsFocusManager.cpp
+++ b/dom/base/nsFocusManager.cpp
@@ -730,19 +730,17 @@ nsFocusManager::WindowRaised(mozIDOMWind
   docShellAsItem->GetTreeOwner(getter_AddRefs(treeOwner));
   nsCOMPtr<nsIBaseWindow> baseWindow = do_QueryInterface(treeOwner);
   if (baseWindow) {
     bool isEnabled = true;
     if (NS_SUCCEEDED(baseWindow->GetEnabled(&isEnabled)) && !isEnabled) {
       return NS_ERROR_FAILURE;
     }
 
-    if (!sTestMode) {
-      baseWindow->SetVisibility(true);
-    }
+    baseWindow->SetVisibility(true);
   }
 
   // If this is a parent or single process window, send the activate event.
   // Events for child process windows will be sent when ParentActivated
   // is called.
   if (XRE_IsParentProcess()) {
     ActivateOrDeactivate(window, true);
   }