Bug 898170 - Skip login manager event handlers in e10s mode (r=felipe)

This commit is contained in:
Bill McCloskey 2013-07-26 14:26:22 -07:00
Родитель 543e6c2c92
Коммит cc307eff0b
1 изменённых файлов: 11 добавлений и 9 удалений

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

@ -34,12 +34,14 @@ addMessageListener("Browser:HideSessionRestoreButton", function (message) {
}
});
addEventListener("DOMContentLoaded", function(event) {
LoginManagerContent.onContentLoaded(event);
});
addEventListener("DOMAutoComplete", function(event) {
LoginManagerContent.onUsernameInput(event);
});
addEventListener("blur", function(event) {
LoginManagerContent.onUsernameInput(event);
});
if (!Services.prefs.getBoolPref("browser.tabs.remote")) {
addEventListener("DOMContentLoaded", function(event) {
LoginManagerContent.onContentLoaded(event);
});
addEventListener("DOMAutoComplete", function(event) {
LoginManagerContent.onUsernameInput(event);
});
addEventListener("blur", function(event) {
LoginManagerContent.onUsernameInput(event);
});
}