Bug 960997 - Change the DOMWebNotificationClicked handler to use window.focus() instead of focusManager.activeWindow = window. r=dao

This commit is contained in:
AK 2014-01-18 14:30:56 +01:00
parent 504f5ba6b9
commit f8cdc97bed

View File

@ -2982,8 +2982,7 @@
if (!tab)
return;
this.selectedTab = tab;
let focusManager = Cc["@mozilla.org/focus-manager;1"].getService(Ci.nsIFocusManager);
focusManager.activeWindow = window;
window.focus();
break;
}
}