Warn when WebRTC isn't detected in the webext

Trac 31067
This commit is contained in:
Arlo Breault 2019-07-03 15:35:01 +02:00
parent 4494dbd3ca
commit 095f4a0510
5 changed files with 23 additions and 7 deletions

View file

@ -17,6 +17,12 @@ log = (msg) ->
dbg = (msg) -> log msg if debug
if not Util.featureDetect()
chrome.runtime.onConnect.addListener (port) ->
port.postMessage
missingFeature: true
return
init = () ->
config = new Config
ui = new WebExtUI()