mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-14 23:11:29 -04:00
Warn when WebRTC isn't detected in the webext
Trac 31067
This commit is contained in:
parent
4494dbd3ca
commit
095f4a0510
5 changed files with 23 additions and 7 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue