зеркало из https://github.com/mozilla/gecko-dev.git
Backout changeset 37c5482971b1 (bug 583976) because of Android R2 test failures
This commit is contained in:
Родитель
ce9fd81cfc
Коммит
e3be9ffdb6
|
@ -876,6 +876,12 @@ function ServeFiles(manifestURL, depth, aURL, files)
|
|||
// Return true iff this window is focused when this function returns.
|
||||
function Focus()
|
||||
{
|
||||
// FIXME/bug 583976: focus doesn't yet work with out-of-process
|
||||
// content.
|
||||
if (gBrowserIsRemote) {
|
||||
return false;
|
||||
}
|
||||
|
||||
var fm = CC["@mozilla.org/focus-manager;1"].getService(CI.nsIFocusManager);
|
||||
fm.activeWindow = window;
|
||||
try {
|
||||
|
|
Загрузка…
Ссылка в новой задаче