mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-04 13:07:52 +00:00
Bug 887718, don't call SetVisibility when focus test mode is enabled, r=smaug
This commit is contained in:
parent
8be2814f99
commit
2e8cab5dbe
@ -687,7 +687,9 @@ nsFocusManager::WindowRaised(nsIDOMWindow* aWindow)
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
baseWindow->SetVisibility(true);
|
||||
if (!sTestMode) {
|
||||
baseWindow->SetVisibility(true);
|
||||
}
|
||||
}
|
||||
|
||||
// inform the DOM window that it has activated, so that the active attribute
|
||||
|
Loading…
x
Reference in New Issue
Block a user