summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets
diff options
context:
space:
mode:
authorPeter Varga <pvarga@inf.u-szeged.hu>2021-05-20 16:10:59 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-07-06 23:04:18 +0000
commitbbab484dc45ae2391065d07e1f68027bb53e44d9 (patch)
tree95fe80ea52f8dc0966cb69a078c83eabb729fd56 /tests/auto/widgets
parentb1a6adf731828b1f68f51480eeb21dd9e7d3ba1e (diff)
Remove deprecated useforglobalcertificateverification
It enabled an unrecommended OCSP path on Linux [ChangeLog] (Q)WebEngineSettings::useForGlobalCertificateVerification has been removed. Task-number: QTBUG-91467 Change-Id: I9f5d1ad5e4fcb59abd31e6a133ded7bf8319c811 Reviewed-by: Kirill Burtsev <kirill.burtsev@qt.io> (cherry picked from commit 8f7a386a5228428122813ebea1d7489783b00633) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'tests/auto/widgets')
-rw-r--r--tests/auto/widgets/qwebengineprofile/tst_qwebengineprofile.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/tests/auto/widgets/qwebengineprofile/tst_qwebengineprofile.cpp b/tests/auto/widgets/qwebengineprofile/tst_qwebengineprofile.cpp
index a998d7998..662e7a44f 100644
--- a/tests/auto/widgets/qwebengineprofile/tst_qwebengineprofile.cpp
+++ b/tests/auto/widgets/qwebengineprofile/tst_qwebengineprofile.cpp
@@ -77,7 +77,6 @@ private Q_SLOTS:
void changePersistentPath();
void changeHttpUserAgent();
void changeHttpAcceptLanguage();
- void changeUseForGlobalCertificateVerification();
void changePersistentCookiesPolicy();
void initiator();
void badDeleteOrder();
@@ -912,25 +911,6 @@ void tst_QWebEngineProfile::changeHttpAcceptLanguage()
QVERIFY(server.stop());
}
-void tst_QWebEngineProfile::changeUseForGlobalCertificateVerification()
-{
- TestServer server;
- QVERIFY(server.start());
-
- // Check that we don't crash
-
- QWebEngineProfile profile(QStringLiteral("changeUseForGlobalCertifateVerification"));
- std::unique_ptr<QWebEnginePage> page;
- page.reset(new QWebEnginePage(&profile));
- QVERIFY(loadSync(page.get(), server.url("/hedgehog.html")));
- page.reset();
- profile.setUseForGlobalCertificateVerification(true);
- page.reset(new QWebEnginePage(&profile));
- QVERIFY(loadSync(page.get(), server.url("/hedgehog.html")));
- // Don't check for error: there can be disconnects during GET hedgehog.png.
- (void)server.stop();
-}
-
void tst_QWebEngineProfile::changePersistentCookiesPolicy()
{
TestServer server;