Bug 1308240 - Fix missing `this.` in Sync's Collection's getters. r?markh
MozReview-Commit-ID: BsYFmkCMYU5
--- a/services/sync/modules/record.js
+++ b/services/sync/modules/record.js
@@ -606,23 +606,23 @@ Collection.prototype = {
// index
get sort() { return this._sort; },
set sort(value) {
this._sort = value;
this._rebuildURL();
},
// Set information about the batch for this request.
- get batch() { return _batch; },
+ get batch() { return this._batch; },
set batch(value) {
this._batch = value;
this._rebuildURL();
},
- get commit() { return _commit; },
+ get commit() { return this._commit; },
set commit(value) {
this._commit = value && true;
this._rebuildURL();
},
set recordHandler(onRecord) {
// Save this because onProgress is called with this as the ChannelListener
let coll = this;