Bug 583976. Part 4 - Enable reftests that require focus on reftest-ipc. r=cjones

This commit is contained in:
Felipe Gomes 2011-10-03 16:15:44 -07:00
parent 6f329825e4
commit 54dd85a087

View File

@ -1104,12 +1104,6 @@ function ServeFiles(manifestPrincipal, 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.focusedWindow = gContainingWindow;
#ifdef XP_MACOSX