From 2656cdbeb0a45357cfb2621b0307a4e1462fbaaf Mon Sep 17 00:00:00 2001 From: Szabolcs David Date: Mon, 7 Dec 2015 06:39:13 -0800 Subject: Fix an assertion in QWebEngineCookieStore Don't process pending cookies after resetting the CookieMonster to 0 in the CookieMonsterDelegateQt. We are destroying the old cookie store, so we can reject the pending cookies here. Task-number: QTBUG-50160 Change-Id: I0b2ca7ee0f5e3fdcf99680bb9c0a2772a10ff3f4 Reviewed-by: Allan Sandfeld Jensen --- src/core/api/qwebenginecookiestore_p.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/core/api/qwebenginecookiestore_p.h') diff --git a/src/core/api/qwebenginecookiestore_p.h b/src/core/api/qwebenginecookiestore_p.h index b8c8b6145..348dcd69f 100644 --- a/src/core/api/qwebenginecookiestore_p.h +++ b/src/core/api/qwebenginecookiestore_p.h @@ -87,6 +87,7 @@ public: QWebEngineCookieStorePrivate(); void processPendingUserCookies(); + void rejectPendingUserCookies(); void setCookie(const QWebEngineCallback &callback, const QNetworkCookie &cookie, const QUrl &origin); void deleteCookie(const QNetworkCookie &cookie, const QUrl &url); void deleteSessionCookies(); -- cgit v1.2.3