mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
Bug 583976. Part 4 - Enable reftests that require focus on reftest-ipc. r=cjones
This commit is contained in:
parent
bacaaeb56b
commit
20000c7e93
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user