mirror of
https://github.com/roytam1/UXP.git
synced 2026-05-27 02:50:46 +00:00
devtools: check if impl is not null before use
This commit is contained in:
@@ -310,7 +310,7 @@ NetworkResponseListener.prototype = {
|
||||
}
|
||||
try {
|
||||
let impl = this._wrappedNotificationCallbacks.getInterface(iid);
|
||||
impl[method].apply(impl, args);
|
||||
if(impl) impl[method].apply(impl, args);
|
||||
} catch (e) {
|
||||
if (e.result != Cr.NS_ERROR_NO_INTERFACE) {
|
||||
throw e;
|
||||
|
||||
Reference in New Issue
Block a user