Many resourceLoadStatistics tests and storageAccess tests using the ITP
authorkatherine_cheney@apple.com <katherine_cheney@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 7 Nov 2019 23:16:39 +0000 (23:16 +0000)
committerkatherine_cheney@apple.com <katherine_cheney@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 7 Nov 2019 23:16:39 +0000 (23:16 +0000)
commit53e49b73a950e37c112fb1cfc549fe17c55aed50
tree6dd976f26955c3e2706811ca26552f0ed6d40137
parentc25391abcb0e84979a15cb46dd9c5cd7d866b4eb
   Many resourceLoadStatistics tests and storageAccess tests using the ITP
       Database redirect to the corresponding memory store test after setting
       a cookie
       https://bugs.webkit.org/show_bug.cgi?id=203958
       <rdar://problem/56984114>

Reviewed by John Wilander.

This patch fixes incorrect redirects in some ITP database store tests.
They should redirect back to themselves as opposed to corresponding
memory store tests to be sure they are testing the correct
functionality.

* http/tests/resourceLoadStatistics/add-blocking-to-redirect-database.html:
* http/tests/resourceLoadStatistics/blocking-in-web-worker-script-import-database.html:
* http/tests/resourceLoadStatistics/cookie-deletion-database.html:
* http/tests/resourceLoadStatistics/cookies-with-and-without-user-interaction-database.html:
* http/tests/resourceLoadStatistics/do-not-capture-statistics-for-simple-top-navigations-database.html:
* http/tests/resourceLoadStatistics/downgraded-referrer-for-navigation-with-link-query-from-prevalent-resource-database.html:
* http/tests/resourceLoadStatistics/grandfathering-database.html:
* http/tests/resourceLoadStatistics/non-prevalent-resources-can-access-cookies-in-a-third-party-context-database.html:
* http/tests/resourceLoadStatistics/ping-to-prevalent-resource-database.html:
* http/tests/storageAccess/deny-due-to-no-interaction-under-general-third-party-cookie-blocking-database.html:
* http/tests/storageAccess/grant-with-prompt-under-general-third-party-cookie-blocking-database.html:
* http/tests/storageAccess/has-storage-access-true-if-third-party-has-cookies-database.html:
* http/tests/storageAccess/has-storage-access-true-if-third-party-has-cookies-ephemeral-database.html:
* http/tests/storageAccess/has-storage-access-under-general-third-party-cookie-blocking-with-cookie-database.html:
* http/tests/storageAccess/request-and-grant-access-then-detach-should-not-have-access-database.html:
* http/tests/storageAccess/request-and-grant-access-then-navigate-cross-site-should-not-have-access-database.html:
* http/tests/storageAccess/request-and-grant-access-then-navigate-same-site-should-have-access-database.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@252210 268f45cc-cd09-0410-ab3c-d52691b4dbfc
18 files changed:
LayoutTests/ChangeLog
LayoutTests/http/tests/resourceLoadStatistics/add-blocking-to-redirect-database.html
LayoutTests/http/tests/resourceLoadStatistics/blocking-in-web-worker-script-import-database.html
LayoutTests/http/tests/resourceLoadStatistics/cookie-deletion-database.html
LayoutTests/http/tests/resourceLoadStatistics/cookies-with-and-without-user-interaction-database.html
LayoutTests/http/tests/resourceLoadStatistics/do-not-capture-statistics-for-simple-top-navigations-database.html
LayoutTests/http/tests/resourceLoadStatistics/downgraded-referrer-for-navigation-with-link-query-from-prevalent-resource-database.html
LayoutTests/http/tests/resourceLoadStatistics/grandfathering-database.html
LayoutTests/http/tests/resourceLoadStatistics/non-prevalent-resources-can-access-cookies-in-a-third-party-context-database.html
LayoutTests/http/tests/resourceLoadStatistics/ping-to-prevalent-resource-database.html
LayoutTests/http/tests/storageAccess/deny-due-to-no-interaction-under-general-third-party-cookie-blocking-database.html
LayoutTests/http/tests/storageAccess/grant-with-prompt-under-general-third-party-cookie-blocking-database.html
LayoutTests/http/tests/storageAccess/has-storage-access-true-if-third-party-has-cookies-database.html
LayoutTests/http/tests/storageAccess/has-storage-access-true-if-third-party-has-cookies-ephemeral-database.html
LayoutTests/http/tests/storageAccess/has-storage-access-under-general-third-party-cookie-blocking-with-cookie-database.html
LayoutTests/http/tests/storageAccess/request-and-grant-access-then-detach-should-not-have-access-database.html
LayoutTests/http/tests/storageAccess/request-and-grant-access-then-navigate-cross-site-should-not-have-access-database.html
LayoutTests/http/tests/storageAccess/request-and-grant-access-then-navigate-same-site-should-have-access-database.html