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 51d11d89ea
commit 61dc0b019b

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),