зеркало из https://github.com/mozilla/pjs.git
Bug 482513 - ClientRecord inherits from WBORecord, so it lacks cleartext. r=thunder
This commit is contained in:
Родитель
5e1b7601b4
Коммит
0077f1f02b
|
@ -59,6 +59,10 @@ ClientRecord.prototype = {
|
|||
this._WBORec_init(uri);
|
||||
},
|
||||
|
||||
// engines.js uses cleartext to determine if records _isEqual
|
||||
// XXX Bug 482669 Implement .equals() for SyncEngine to compare records
|
||||
get cleartext() this.serialize(),
|
||||
|
||||
// XXX engines.js calls encrypt/decrypt for all records, so define these:
|
||||
encrypt: function ClientRec_encrypt(onComplete) {
|
||||
let fn = function ClientRec__encrypt() {let self = yield;};
|
||||
|
|
Загрузка…
Ссылка в новой задаче