Bug 482513 - ClientRecord inherits from WBORecord, so it lacks cleartext. r=thunder

This commit is contained in:
Edward Lee 2009-03-11 10:34:31 -05:00
parent 489e86bdc5
commit 85af9e0020

View File

@ -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;};