From a88379657e5a5e12a38022c09932bf5d5b5b16f6 Mon Sep 17 00:00:00 2001 From: yan Date: Wed, 8 Mar 2017 18:36:27 +0000 Subject: [PATCH] allow sites to detect flash when shields are down fix https://github.com/brave/browser-laptop/issues/7549 Auditors: @bridiver Test Plan: 0. enable flash in preferences 1. go to http://tv-trwam.pl/na-zywo 2. turn off shields. the flash placeholder should appear. --- js/state/contentSettings.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/state/contentSettings.js b/js/state/contentSettings.js index b7a788d7986..7b47c15b524 100644 --- a/js/state/contentSettings.js +++ b/js/state/contentSettings.js @@ -266,6 +266,7 @@ const siteSettingsToContentSettings = (currentSiteSettings, defaultContentSettin contentSettings = addContentSettings(contentSettings, 'adInsertion', primaryPattern, '*', 'block') contentSettings = addContentSettings(contentSettings, 'javascript', primaryPattern, '*', 'allow') contentSettings = addContentSettings(contentSettings, 'referer', primaryPattern, '*', 'allow') + contentSettings = addContentSettings(contentSettings, 'plugins', primaryPattern, '*', 'allow') } }) return contentSettings