From 50d5ab68c87ae745cdd07c74ff8b540f7f771059 Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Sun, 22 Apr 2018 14:50:40 -0400 Subject: [PATCH] fix https://github.com/uBlockOrigin/uBlock-issues/issues/9 --- platform/chromium/vapi-background.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/platform/chromium/vapi-background.js b/platform/chromium/vapi-background.js index 12be4a9d9..517b0854f 100644 --- a/platform/chromium/vapi-background.js +++ b/platform/chromium/vapi-background.js @@ -111,12 +111,10 @@ vAPI.browserSettings = (function() { // only for Chromium proper (because it can be compiled without the // WebRTC feature): hence avoid overhead of the evaluation (which uses // an iframe) for platforms where it's a non-issue. + // https://github.com/uBlockOrigin/uBlock-issues/issues/9 + // Some Chromium builds are made to look like a Chrome build. webRTCSupported: (function() { - var flavor = vAPI.webextFlavor.soup; - if ( - flavor.has('chromium') === false || - flavor.has('google') || flavor.has('opera') - ) { + if ( vAPI.webextFlavor.soup.has('chromium') === false ) { return true; } })(),