summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-11-10 12:40:49 (GMT)
committerMontel Laurent <montel@kde.org>2016-11-10 12:40:49 (GMT)
commitf111a3ef8b531e859012d5b58a50ec467f9b9a7e (patch)
treeedae4f1a2c3397558354b95805f111bc166cbf7e
parent34805b872860fe7bb040fa1ae0cc4feb1b387480 (diff)
Block other type
-rw-r--r--messageviewer/src/viewer/webengine/blockexternalresourcesurlinterceptor/blockexternalresourcesurlinterceptor.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/messageviewer/src/viewer/webengine/blockexternalresourcesurlinterceptor/blockexternalresourcesurlinterceptor.cpp b/messageviewer/src/viewer/webengine/blockexternalresourcesurlinterceptor/blockexternalresourcesurlinterceptor.cpp
index 5f0a637..31e9a99 100644
--- a/messageviewer/src/viewer/webengine/blockexternalresourcesurlinterceptor/blockexternalresourcesurlinterceptor.cpp
+++ b/messageviewer/src/viewer/webengine/blockexternalresourcesurlinterceptor/blockexternalresourcesurlinterceptor.cpp
@@ -45,6 +45,9 @@ bool BlockExternalResourcesUrlInterceptor::interceptRequest(QWebEngineUrlRequest
resourceType == QWebEngineUrlRequestInfo::ResourceTypeObject ||
resourceType == QWebEngineUrlRequestInfo::ResourceTypeScript ||
resourceType == QWebEngineUrlRequestInfo::ResourceTypeServiceWorker ||
+ resourceType == QWebEngineUrlRequestInfo::ResourceTypeSharedWorker ||
+ resourceType == QWebEngineUrlRequestInfo::ResourceTypeWorker ||
+ resourceType == QWebEngineUrlRequestInfo::ResourceTypeSubResource ||
#if QT_VERSION >= QT_VERSION_CHECK(5, 7, 0)
resourceType == QWebEngineUrlRequestInfo::ResourceTypePluginResource ||
resourceType == QWebEngineUrlRequestInfo::ResourceTypeCspReport ||