summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-11-04 12:15:20 (GMT)
committerMontel Laurent <montel@kde.org>2016-11-04 13:03:36 (GMT)
commit44bff4e0b28280c8b6ecbb7e5d8373c25d2d71ae (patch)
treea86e9201e3b76636592e536782f4485b4d3bc7bd
parentae452f6b1ad8b45b963ae0eb4d2c1d3aed61a121 (diff)
Exclude some other types
-rw-r--r--messageviewer/src/viewer/webengine/blockexternalresourcesurlinterceptor/blockexternalresourcesurlinterceptor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/messageviewer/src/viewer/webengine/blockexternalresourcesurlinterceptor/blockexternalresourcesurlinterceptor.cpp b/messageviewer/src/viewer/webengine/blockexternalresourcesurlinterceptor/blockexternalresourcesurlinterceptor.cpp
index 2f306cd..5f0a637 100644
--- a/messageviewer/src/viewer/webengine/blockexternalresourcesurlinterceptor/blockexternalresourcesurlinterceptor.cpp
+++ b/messageviewer/src/viewer/webengine/blockexternalresourcesurlinterceptor/blockexternalresourcesurlinterceptor.cpp
@@ -44,6 +44,7 @@ bool BlockExternalResourcesUrlInterceptor::interceptRequest(QWebEngineUrlRequest
resourceType == QWebEngineUrlRequestInfo::ResourceTypeXhr ||
resourceType == QWebEngineUrlRequestInfo::ResourceTypeObject ||
resourceType == QWebEngineUrlRequestInfo::ResourceTypeScript ||
+ resourceType == QWebEngineUrlRequestInfo::ResourceTypeServiceWorker ||
#if QT_VERSION >= QT_VERSION_CHECK(5, 7, 0)
resourceType == QWebEngineUrlRequestInfo::ResourceTypePluginResource ||
resourceType == QWebEngineUrlRequestInfo::ResourceTypeCspReport ||