Backout changeset 37c5482971b1 (bug 583976) because of Android R2 test failures

--HG--
extra : transplant_source : %86%B2%ED%A5w%00%82%FF%BEe%BFf%0C%FE%E7%B4%26%05%D8g
This commit is contained in:
Ehsan Akhgari 2011-10-03 23:40:34 -04:00
Родитель 08c452dea6
Коммит f96c487bb6
1 изменённых файлов: 6 добавлений и 0 удалений

Просмотреть файл

@ -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 {