Bug 968550 - onerror is undefined in processICCIOError. r=yoshi

This commit is contained in:
Fabien Cazenave (kaze@mozilla.com) 2014-02-27 15:25:17 +08:00
parent c2e7beb833
commit 2b5b58e7f9

View File

@ -11817,7 +11817,9 @@ ICCIOHelperObject.prototype = {
}
this.context.debug(errorMsg);
}
onerror(requestError);
if (options.onerror) {
options.onerror(requestError);
}
},
};
ICCIOHelperObject.prototype[ICC_COMMAND_SEEK] = null;
@ -12205,7 +12207,7 @@ ICCRecordHelperObject.prototype = {
callback: onsuccess,
onerror: onerror
});
},
},
/**
* Cache EF_ANR record size.