Narrow usage of `webRTCIPHandlingPolicy` to only `firefox`

In addition of `mobile`, just in case -- some people are
using mobile version of chromium out there.
This commit is contained in:
Raymond Hill 2021-12-11 07:37:18 -05:00
parent 7a908d293f
commit ca1ec1461b
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
1 changed files with 3 additions and 1 deletions

View File

@ -114,7 +114,9 @@ vAPI.browserSettings = (( ) => {
return {
// https://github.com/uBlockOrigin/uBlock-issues/issues/1723#issuecomment-919913361
canLeakLocalIPAddresses: vAPI.webextFlavor.soup.has('mobile'),
canLeakLocalIPAddresses:
vAPI.webextFlavor.soup.has('firefox') &&
vAPI.webextFlavor.soup.has('mobile'),
set: function(details) {
for ( const setting in details ) {