diff --git a/devtools/shared/webconsole/network-monitor.js b/devtools/shared/webconsole/network-monitor.js index 7fec4ff1cc..18647e059c 100644 --- a/devtools/shared/webconsole/network-monitor.js +++ b/devtools/shared/webconsole/network-monitor.js @@ -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;