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
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2021-07-06 17:22:47 +0000
commit8f7a386a5228428122813ebea1d7489783b00633 (patch)
treea266be6e7a659c14ccb0982967f3ae6d6d40956a /tests/auto/widgets
parentca4ba8beb736efcd95445cc801e2b5a77642a931 (diff)
Remove deprecated useforglobalcertificateverification
It enabled an unrecommended OCSP path on Linux [ChangeLog] (Q)WebEngineSettings::useForGlobalCertificateVerification has been removed. Pick-to: 6.2 Task-number: QTBUG-91467 Change-Id: I9f5d1ad5e4fcb59abd31e6a133ded7bf8319c811 Reviewed-by: Kirill Burtsev <kirill.burtsev@qt.io>
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;