(m)
| 243 | }; |
| 244 | |
| 245 | var msg = function(m) { |
| 246 | if (m.onMessage) { |
| 247 | if (port) port.notifyListeners(port.oMlisteners, m.msg); |
| 248 | } else if (m.onDisconnect) { |
| 249 | if (port) { |
| 250 | port.notifyListeners(port.oDlisteners); |
| 251 | port = null; |
| 252 | } |
| 253 | } |
| 254 | }; |
| 255 | |
| 256 | var id = chromeEmu.getResponseId(msg); |
| 257 | tmCE.sendExtensionConnect(chromeEmu.key, JSON.stringify(obj), id); |
nothing calls this directly
no outgoing calls
no test coverage detected