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 a7b3a8d505
commit de3de525b7

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.