Bug 1216002 - "JavaScript error: resource://gre/modules/RequestSyncService.jsm, line 228: TypeError: 'continue' called on an object that does not implement interface IDBCursor." r=bz

This commit is contained in:
Andrea Marchesini 2015-10-19 14:11:00 +02:00
parent 78f64415c6
commit 332da38461

View File

@ -101,7 +101,9 @@ this.RequestSyncService = {
aStore.openCursor().onsuccess = event => {
let cursor = event.target.result;
if (cursor) {
this.addRegistration(cursor.value, cursor.continue);
this.addRegistration(cursor.value, function() {
cursor.continue();
});
}
}
}.bind(this),