From e72fd5136c5a7a848d9156334cf8f067eb1a1a10 Mon Sep 17 00:00:00 2001 From: Tamas Zakor Date: Mon, 4 Nov 2019 16:32:23 +0100 Subject: Fix pepper flash plugin permission Fixes: QTBUG-78280 Change-Id: Ic202314bb7935741791fa8c747e255b10dc7dc61 Reviewed-by: Allan Sandfeld Jensen Reviewed-by: Florian Bruhin --- src/core/content_client_qt.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/content_client_qt.cpp b/src/core/content_client_qt.cpp index 0f8c7ac3a..952122052 100644 --- a/src/core/content_client_qt.cpp +++ b/src/core/content_client_qt.cpp @@ -129,7 +129,8 @@ static QString getLocalAppDataDir() static const int32_t kPepperFlashPermissions = ppapi::PERMISSION_DEV | ppapi::PERMISSION_PRIVATE | ppapi::PERMISSION_BYPASS_USER_GESTURE | - ppapi::PERMISSION_FLASH; + ppapi::PERMISSION_FLASH | + ppapi::PERMISSION_SOCKET; namespace switches { const char kPpapiFlashPath[] = "ppapi-flash-path"; -- cgit v1.2.3