Image 01
profile-image

Beguam

Firefox addon for kwallet KDE5

Various Plasma 5 Improvements 26 comments

Rating: 6.8
Jul 11 2016
Sorry :
let entries = this._lib.findLogins( hostname, formSubmitURL, realm ); - Oct 11 2016
Hello, thanks for your patch, I have made the same for me (instead I'm not a developper).

But the function _lib.findLogins crashes if one parameter is "undefined".
Previous, you have to set the vars at null :

var guid;
var hostname = null;
var formSubmitURL = null;
var realm = null;

then you have to comment the default clause :

/*default:
throw new Error("Unexpected propertybag item: " + prop.name);*/

And at the end :

if (guid !== undefined) {
let entries = this._lib.findLoginsWithGuid( guid );
return this._array2NsILoginInfo( outCount, entries );
} else {
let entries = this._lib.findLogins( hostname, submitURL, realm );
return this._array2NsILoginInfo( outCount, entries );
} - Oct 11 2016