summaryrefslogtreecommitdiff
path: root/indra/media_plugins/cef/media_plugin_cef.cpp
diff options
context:
space:
mode:
authorCallum Prentice <callum@lindenlab.com>2021-05-14 15:21:06 -0700
committerCallum Prentice <callum@lindenlab.com>2021-05-14 15:21:06 -0700
commitc705126d0be0b6a60d0e8e23bf8919e08e0db967 (patch)
tree6e5a7e2010f0405efe657a93896d62e640f928e4 /indra/media_plugins/cef/media_plugin_cef.cpp
parente41412eddaa5e8fcc808018aadc844dd68c6c247 (diff)
Fixes SL-14897 Disable Flash support in the embedded browser
Diffstat (limited to 'indra/media_plugins/cef/media_plugin_cef.cpp')
-rw-r--r--indra/media_plugins/cef/media_plugin_cef.cpp13
1 files changed, 10 insertions, 3 deletions
diff --git a/indra/media_plugins/cef/media_plugin_cef.cpp b/indra/media_plugins/cef/media_plugin_cef.cpp
index c658f35480..181355d395 100644
--- a/indra/media_plugins/cef/media_plugin_cef.cpp
+++ b/indra/media_plugins/cef/media_plugin_cef.cpp
@@ -547,7 +547,10 @@ void MediaPluginCEF::receiveMessage(const char* message_string)
settings.disable_network_service = mDisableNetworkService;
settings.use_mock_keychain = mUseMockKeyChain;
#endif
- settings.flash_enabled = mPluginsEnabled;
+ // SL-14897 Disable Flash support in the embedded browser
+ //settings.flash_enabled = mPluginsEnabled;
+ settings.flash_enabled = false;
+
settings.flip_mouse_y = false;
settings.flip_pixels_y = true;
settings.frame_rate = 60;
@@ -556,8 +559,12 @@ void MediaPluginCEF::receiveMessage(const char* message_string)
settings.initial_width = 1024;
settings.java_enabled = false;
settings.javascript_enabled = mJavascriptEnabled;
- settings.media_stream_enabled = false; // MAINT-6060 - WebRTC media removed until we can add granualrity/query UI
- settings.plugins_enabled = mPluginsEnabled;
+ settings.media_stream_enabled = false; // MAINT-6060 - WebRTC media removed until we can add granularity/query UI
+
+ // SL-14897 Disable Flash support in the embedded browser
+ //settings.plugins_enabled = mPluginsEnabled;
+ settings.plugins_enabled = false;
+
settings.user_agent_substring = mCEFLib->makeCompatibleUserAgentString(mUserAgentSubtring);
settings.webgl_enabled = true;
settings.log_file = mCefLogFile;