Raymond Hill 2018-04-22 14:50:40 -04:00
parent 48426469de
commit 50d5ab68c8
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
1 changed files with 3 additions and 5 deletions

View File

@ -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;
}
})(),