diff options
Diffstat (limited to 'tests/auto/core/qwebengineurlrequestinterceptor')
-rw-r--r-- | tests/auto/core/qwebengineurlrequestinterceptor/tst_qwebengineurlrequestinterceptor.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/core/qwebengineurlrequestinterceptor/tst_qwebengineurlrequestinterceptor.cpp b/tests/auto/core/qwebengineurlrequestinterceptor/tst_qwebengineurlrequestinterceptor.cpp index a65ffb868..180953ed4 100644 --- a/tests/auto/core/qwebengineurlrequestinterceptor/tst_qwebengineurlrequestinterceptor.cpp +++ b/tests/auto/core/qwebengineurlrequestinterceptor/tst_qwebengineurlrequestinterceptor.cpp @@ -150,6 +150,9 @@ public: void interceptRequest(QWebEngineUrlRequestInfo &info) override { + if (info.resourceType() == QWebEngineUrlRequestInfo::ResourceTypeFavicon) + return; + requestedUrls.append(info.requestUrl()); info.redirect(QUrl("data:text/html,<p>hello")); } |