Bug 1320401 - Make the password doorhanger non-persistent again. r=florian
MozReview-Commit-ID: LCOHfC8AxhI
--- a/toolkit/components/passwordmgr/nsLoginManagerPrompter.js
+++ b/toolkit/components/passwordmgr/nsLoginManagerPrompter.js
@@ -1005,18 +1005,18 @@ LoginManagerPrompter.prototype = {
this._getPopupNote().show(
browser,
"password",
promptMsg,
"password-notification-icon",
mainAction,
secondaryActions,
{
+ timeout: Date.now() + 10000,
persistWhileVisible: true,
- persistent: true,
passwordNotificationType: type,
hideClose: true,
eventCallback(topic) {
switch (topic) {
case "showing":
currentNotification = this;
chromeDoc.getElementById("password-notification-password")
.removeAttribute("focused");