From cedb457045c9972ba6da9c101c2ad65006b4db93 Mon Sep 17 00:00:00 2001 From: Peter Varga Date: Fri, 1 Mar 2019 12:42:01 +0100 Subject: Fix disabling http cache after 73-based MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit BrowserDataRemoverImpl::Remove() indirectly calls TransportSecurityState::DeleteAllDynamicDataSince() which notifies by a callback about the finished deletion since: https://chromium-review.googlesource.com/c/chromium/src/+/1335939 During the deletion the ProfileIODataQt::requestStorageGeneration() should not be called because it deletes net::TransporSecurityPersister which background_runner is where the finished deletion callback is scheduled. Change-Id: I4782d701f706ed7c8e104a78ba84a27183166fa4 Reviewed-by: Jüri Valdmann --- tests/auto/widgets/qwebengineprofile/tst_qwebengineprofile.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/auto/widgets') diff --git a/tests/auto/widgets/qwebengineprofile/tst_qwebengineprofile.cpp b/tests/auto/widgets/qwebengineprofile/tst_qwebengineprofile.cpp index b0db4e974..8bd68bb97 100644 --- a/tests/auto/widgets/qwebengineprofile/tst_qwebengineprofile.cpp +++ b/tests/auto/widgets/qwebengineprofile/tst_qwebengineprofile.cpp @@ -60,7 +60,7 @@ private Q_SLOTS: void downloadItem(); void changePersistentPath(); void initiator(); - void qtbug_72299(); // this should be the last test + void qtbug_71895(); // this should be the last test }; void tst_QWebEngineProfile::init() @@ -631,7 +631,7 @@ void tst_QWebEngineProfile::initiator() QCOMPARE(handler.initiator, QUrl()); } -void tst_QWebEngineProfile::qtbug_72299() +void tst_QWebEngineProfile::qtbug_71895() { QWebEngineView view; view.setUrl(QUrl("https://www.qt.io")); -- cgit v1.2.3