mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 383209: clear private data fails to clear stored passwords, patch by Justin Dolske <dolske@mozilla.com>, r=me
This commit is contained in:
parent
0f0097ffc5
commit
64ae01005c
@ -74,10 +74,10 @@ interface nsILoginManager : nsISupports {
|
||||
|
||||
|
||||
/**
|
||||
* Clear all logins known to login manager.
|
||||
* Remove all logins known to login manager.
|
||||
*
|
||||
* The browser sanitization feature allows the user to clear any stored
|
||||
* passwords. This interface allows that to be done without gettng each
|
||||
* passwords. This interface allows that to be done without getting each
|
||||
* login first (which might require knowing the master password).
|
||||
*
|
||||
*/
|
||||
|
@ -98,10 +98,10 @@ interface nsILoginManagerStorage : nsISupports {
|
||||
|
||||
|
||||
/**
|
||||
* Clear all stored logins.
|
||||
* Remove all stored logins.
|
||||
*
|
||||
* The browser sanitization feature allows the user to clear any stored
|
||||
* passwords. This interface allows that to be done without gettng each
|
||||
* passwords. This interface allows that to be done without getting each
|
||||
* login first (which might require knowing the master password).
|
||||
*
|
||||
*/
|
||||
|
@ -456,13 +456,13 @@ LoginManager.prototype = {
|
||||
|
||||
|
||||
/*
|
||||
* clearAllLogins
|
||||
* removeAllLogins
|
||||
*
|
||||
* Clears all stored logins.
|
||||
* Remove all stored logins.
|
||||
*/
|
||||
clearAllLogins : function () {
|
||||
this.log("Clearing all logins");
|
||||
this._storage.clearAllLogins();
|
||||
removeAllLogins : function () {
|
||||
this.log("Removing all logins");
|
||||
this._storage.removeAllLogins();
|
||||
},
|
||||
|
||||
/*
|
||||
|
@ -238,11 +238,11 @@ LoginManagerStorage_legacy.prototype = {
|
||||
|
||||
|
||||
/*
|
||||
* clearAllLogins
|
||||
* removeAllLogins
|
||||
*
|
||||
* Clears all logins from storage.
|
||||
* Removes all logins from storage.
|
||||
*/
|
||||
clearAllLogins : function () {
|
||||
removeAllLogins : function () {
|
||||
this._logins = {};
|
||||
// Disabled hosts kept, as one presumably doesn't want to erase those.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user