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 bacaaeb56b
commit 20000c7e93

View File

@ -876,12 +876,6 @@ 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 {