зеркало из https://github.com/mozilla/gecko-dev.git
Bug 898170 - Skip login manager event handlers in e10s mode (r=felipe)
This commit is contained in:
Родитель
543e6c2c92
Коммит
cc307eff0b
|
@ -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);
|
||||
});
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче