diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-02-04 16:20:37 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-03-23 00:24:51 +0000 |
commit | 5c6201f6c393967e9284bb9841281d286126541d (patch) | |
tree | 24339c13b833cae3d8f6f0115bade06df342b9fc /tests/auto/core | |
parent | f3f3279bec367bf3816377ac31a75c042648068f (diff) |
Adaptations for Chromium 72
Change-Id: Ic355257066c7c1433862cb41e6f2bfa831147e0d
Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
Diffstat (limited to 'tests/auto/core')
-rw-r--r-- | tests/auto/core/qwebenginecookiestore/tst_qwebenginecookiestore.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/core/qwebenginecookiestore/tst_qwebenginecookiestore.cpp b/tests/auto/core/qwebenginecookiestore/tst_qwebenginecookiestore.cpp index b24c05a37..4ff33dbac 100644 --- a/tests/auto/core/qwebenginecookiestore/tst_qwebenginecookiestore.cpp +++ b/tests/auto/core/qwebenginecookiestore/tst_qwebenginecookiestore.cpp @@ -205,7 +205,7 @@ void tst_QWebEngineCookieStore::basicFilter() QTRY_COMPARE(loadSpy.count(), 1); QVERIFY(loadSpy.takeFirst().takeFirst().toBool()); QTRY_COMPARE(cookieAddedSpy.count(), 2); - QTRY_COMPARE(accessTested.loadAcquire(), 2); + QTRY_COMPARE(accessTested.loadAcquire(), 2); // FIXME? client->deleteAllCookies(); QTRY_COMPARE(cookieRemovedSpy.count(), 2); @@ -214,7 +214,7 @@ void tst_QWebEngineCookieStore::basicFilter() page.triggerAction(QWebEnginePage::ReloadAndBypassCache); QTRY_COMPARE(loadSpy.count(), 1); QVERIFY(loadSpy.takeFirst().takeFirst().toBool()); - QTRY_COMPARE(accessTested.loadAcquire(), 4); + QTRY_COMPARE(accessTested.loadAcquire(), 4); // FIXME? // Test cookies are NOT added: QTest::qWait(100); QCOMPARE(cookieAddedSpy.count(), 2); @@ -234,7 +234,7 @@ void tst_QWebEngineCookieStore::html5featureFilter() QTRY_COMPARE(loadSpy.count(), 1); QVERIFY(loadSpy.takeFirst().takeFirst().toBool()); - QCOMPARE(accessTested.loadAcquire(), 0); + QCOMPARE(accessTested.loadAcquire(), 0); // FIXME? QTest::ignoreMessage(QtCriticalMsg, QRegularExpression(".*Uncaught SecurityError.*sessionStorage.*")); page.runJavaScript("sessionStorage.test = 5;"); QTRY_COMPARE(accessTested.loadAcquire(), 1); |