mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 583976. Part 4 - Enable reftests that require focus on reftest-ipc. r=cjones
This commit is contained in:
parent
6f329825e4
commit
54dd85a087
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user