diff --git a/dom/system/gonk/RILContentHelper.js b/dom/system/gonk/RILContentHelper.js index 1714c5168d44..77462381851b 100644 --- a/dom/system/gonk/RILContentHelper.js +++ b/dom/system/gonk/RILContentHelper.js @@ -135,6 +135,7 @@ function RILContentHelper() { this.initDOMRequestHelper(/* aWindow */ null, RIL_IPC_MSG_NAMES); this._windowsMap = []; this._iccListeners = []; + this._iccChannelCallback = []; Services.obs.addObserver(this, NS_XPCOM_SHUTDOWN_OBSERVER_ID, false); @@ -593,6 +594,8 @@ RILContentHelper.prototype = { } }, + _iccChannelCallback: null, + _addIccChannelCallback: function(requestId, channelCb) { let cbInterfaces = this._iccChannelCallback; if (!cbInterfaces[requestId] && channelCb) {