mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-14 14:11:23 -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
|
@ -2,6 +2,10 @@
|
|||
Entry point.
|
||||
###
|
||||
|
||||
if (not TESTING? or not TESTING) and not Util.featureDetect()
|
||||
console.log 'webrtc feature not detected. shutting down'
|
||||
return
|
||||
|
||||
snowflake = null
|
||||
|
||||
query = Query.parse(location)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue