mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 03:45:46 +00:00
Backout changeset 37c5482971b1 (bug 583976) because of Android R2 test failures
This commit is contained in:
parent
ce9fd81cfc
commit
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 {
|
||||
|
Loading…
Reference in New Issue
Block a user