Bug 1073315: Log callers attempting to use dead CPOWs. r=billm

This commit is contained in:
Dave Townsend 2014-10-14 09:53:54 -07:00
parent 6cf5c5a2ae
commit fea7478907

View File

@ -113,7 +113,12 @@ AddonInterpositionService.prototype = {
if (iid) {
interp = this._interfaceInterpositions[iid];
} else {
interp = this._taggedInterpositions[this.getObjectTag(target)];
try {
interp = this._taggedInterpositions[this.getObjectTag(target)];
}
catch (e) {
Cu.reportError(new Components.Exception("Failed to interpose object", e.result, Components.stack.caller));
}
}
if (!interp) {