mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backed out changeset df7bcbbeda21 (bug 1029128)
This commit is contained in:
parent
af5c9f6706
commit
697df61130
@ -11,8 +11,6 @@
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
//// Globals
|
||||
|
||||
"use strict";
|
||||
|
||||
const { classes: Cc, interfaces: Ci, utils: Cu, results: Cr } = Components;
|
||||
|
||||
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
|
||||
@ -139,10 +137,12 @@ this.LoginManagerStorage_json.prototype = {
|
||||
addLogin : function (login) {
|
||||
this._store.ensureDataReady();
|
||||
|
||||
let encUsername, encPassword;
|
||||
|
||||
// Throws if there are bogus values.
|
||||
LoginHelper.checkLoginValues(login);
|
||||
|
||||
let [encUsername, encPassword, encType] = this._encryptLogin(login);
|
||||
[encUsername, encPassword, encType] = this._encryptLogin(login);
|
||||
|
||||
// Clone the login, so we don't modify the caller's object.
|
||||
let loginClone = login.clone();
|
||||
|
Loading…
Reference in New Issue
Block a user