Changeset 267750 in webkit
- Timestamp:
- Sep 29, 2020, 10:38:11 AM (6 years ago)
- Location:
- trunk
- Files:
-
- 251 deleted
- 73 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/http/tests/resourceLoadStatistics/add-blocking-to-redirect-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/add-blocking-to-redirect-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/aggregate-sorted-data-no-storage-access-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/aggregate-sorted-data-no-storage-access-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/aggregate-sorted-data-no-storage-access-expected.txt (modified) (1 diff)
-
LayoutTests/http/tests/resourceLoadStatistics/blocking-in-web-worker-script-import-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/blocking-in-web-worker-script-import-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/cap-cache-max-age-for-prevalent-resource-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/cap-cache-max-age-for-prevalent-resource-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-with-link-decoration-same-site-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-with-link-decoration-same-site-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-with-link-fragment-from-prevalent-resource-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-with-link-fragment-from-prevalent-resource-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-with-link-query-and-fragment-from-prevalent-resource-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-with-link-query-and-fragment-from-prevalent-resource-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-with-link-query-from-prevalent-resource-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-with-link-query-from-prevalent-resource-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-without-link-decoration-from-prevalent-resource-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-without-link-decoration-from-prevalent-resource-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/classify-as-non-prevalent-based-on-mixed-statistics-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/classify-as-non-prevalent-based-on-mixed-statistics-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/classify-as-non-prevalent-based-on-sub-frame-under-top-frame-origins-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/classify-as-non-prevalent-based-on-sub-frame-under-top-frame-origins-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/classify-as-non-prevalent-based-on-subresource-under-top-frame-origins-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/classify-as-non-prevalent-based-on-subresource-under-top-frame-origins-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/classify-as-non-prevalent-based-on-subresource-unique-redirects-to-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/classify-as-non-prevalent-based-on-subresource-unique-redirects-to-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-mixed-statistics-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-mixed-statistics-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-sub-frame-under-top-frame-origins-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-sub-frame-under-top-frame-origins-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-redirect-collusion-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-redirect-collusion-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-redirect-to-prevalent-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-redirect-to-prevalent-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-under-top-frame-origins-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-under-top-frame-origins-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-unique-redirects-to-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-unique-redirects-to-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-top-frame-redirect-collusion-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-top-frame-redirect-collusion-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-top-frame-redirect-to-prevalent-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-top-frame-redirect-to-prevalent-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-top-frame-unique-redirects-to-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-top-frame-unique-redirects-to-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/classify-as-very-prevalent-based-on-mixed-statistics-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/classify-as-very-prevalent-based-on-mixed-statistics-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/clear-in-memory-and-persistent-store-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/clear-in-memory-and-persistent-store-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/clear-in-memory-and-persistent-store-one-hour-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/clear-in-memory-and-persistent-store-one-hour-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/cookie-deletion-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/cookie-deletion-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/cookies-with-and-without-user-interaction-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/cookies-with-and-without-user-interaction-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/count-third-party-script-import-in-worker-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/count-third-party-script-import-in-worker-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/count-third-party-script-import-in-worker-expected.txt (modified) (1 diff)
-
LayoutTests/http/tests/resourceLoadStatistics/count-third-party-script-loads-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/count-third-party-script-loads-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/count-third-party-script-loads-expected.txt (modified) (1 diff)
-
LayoutTests/http/tests/resourceLoadStatistics/delete-script-accessible-cookies-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/delete-script-accessible-cookies-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/do-not-block-top-level-navigation-redirect-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/do-not-block-top-level-navigation-redirect-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/do-not-capture-statistics-for-simple-top-navigations-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/do-not-capture-statistics-for-simple-top-navigations-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/do-not-remove-blocking-in-redirect-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/do-not-remove-blocking-in-redirect-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/do-not-switch-session-on-navigation-to-prevalent-without-interaction-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/do-not-switch-session-on-navigation-to-prevalent-without-interaction-database.php (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/dont-count-third-party-image-as-third-party-script-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/dont-count-third-party-image-as-third-party-script-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/dont-count-third-party-image-as-third-party-script-expected.txt (modified) (1 diff)
-
LayoutTests/http/tests/resourceLoadStatistics/downgrade-document-referrer-nested-third-party-iframe.html (modified) (1 diff)
-
LayoutTests/http/tests/resourceLoadStatistics/downgrade-document-referrer-third-party-iframe.html (modified) (1 diff)
-
LayoutTests/http/tests/resourceLoadStatistics/downgraded-referrer-for-navigation-with-link-query-from-prevalent-resource-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/downgraded-referrer-for-navigation-with-link-query-from-prevalent-resource-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/enable-debug-mode-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/enable-debug-mode-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/enforce-samesite-strict-based-on-top-frame-unique-redirects-to-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/enforce-samesite-strict-based-on-top-frame-unique-redirects-to-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/exemptDomains/app-bound-domains-exempt-from-website-data-deletion-database.html (modified) (1 diff)
-
LayoutTests/http/tests/resourceLoadStatistics/grandfathering-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/grandfathering-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/leave-empty-document-referrer-alone-third-party-iframe.html (modified) (1 diff)
-
LayoutTests/http/tests/resourceLoadStatistics/log-cross-site-load-with-link-decoration-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/log-cross-site-load-with-link-decoration-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/log-cross-site-load-with-link-decoration-expected.txt (modified) (1 diff)
-
LayoutTests/http/tests/resourceLoadStatistics/log-delayed-client-side-redirects-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/log-delayed-client-side-redirects-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/log-delayed-client-side-redirects-expected.txt (modified) (1 diff)
-
LayoutTests/http/tests/resourceLoadStatistics/many-inserts-only-insert-once.html (modified) (1 diff)
-
LayoutTests/http/tests/resourceLoadStatistics/merge-statistic-does-not-overwrite-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/merge-statistic-does-not-overwrite-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/merge-statistic-does-overwrite-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/merge-statistic-does-overwrite-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/merge-statistic-does-partially-overwrite-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/merge-statistic-does-partially-overwrite-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/non-prevalent-resource-with-user-interaction-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/non-prevalent-resource-with-user-interaction-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/non-prevalent-resource-without-user-interaction-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/non-prevalent-resource-without-user-interaction-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/non-prevalent-resources-can-access-cookies-in-a-third-party-context-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/non-prevalent-resources-can-access-cookies-in-a-third-party-context-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/non-sandboxed-iframe-redirect-ip-to-localhost-to-ip-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/non-sandboxed-iframe-redirect-ip-to-localhost-to-ip-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/non-sandboxed-iframe-redirect-localhost-to-ip-to-localhost-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/non-sandboxed-iframe-redirect-localhost-to-ip-to-localhost-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/non-sandboxed-nesting-iframe-with-non-sandboxed-iframe-redirect-ip-to-localhost-to-ip-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/non-sandboxed-nesting-iframe-with-non-sandboxed-iframe-redirect-ip-to-localhost-to-ip-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/non-sandboxed-nesting-iframe-with-non-sandboxed-iframe-redirect-localhost-to-ip-to-localhost-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/non-sandboxed-nesting-iframe-with-non-sandboxed-iframe-redirect-localhost-to-ip-to-localhost-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/non-sandboxed-nesting-iframe-with-sandboxed-iframe-redirect-ip-to-localhost-to-ip-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/non-sandboxed-nesting-iframe-with-sandboxed-iframe-redirect-ip-to-localhost-to-ip-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/non-sandboxed-nesting-iframe-with-sandboxed-iframe-redirect-localhost-to-ip-to-localhost-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/non-sandboxed-nesting-iframe-with-sandboxed-iframe-redirect-localhost-to-ip-to-localhost-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/operating-dates-all-but-cookies-removed-statistics-with-no-user-interaction-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/operating-dates-all-but-cookies-removed-statistics-with-no-user-interaction-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/operating-dates-all-website-data-removed-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/operating-dates-all-website-data-removed-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/ping-to-prevalent-resource-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/ping-to-prevalent-resource-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/prevalent-resource-handled-keydown-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/prevalent-resource-handled-keydown-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/prevalent-resource-unhandled-keydown-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/prevalent-resource-unhandled-keydown-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/prevalent-resource-with-user-interaction-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/prevalent-resource-with-user-interaction-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/prevalent-resource-with-user-interaction-timeout-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/prevalent-resource-with-user-interaction-timeout-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/prevalent-resource-without-user-interaction-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/prevalent-resource-without-user-interaction-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/prune-statistics-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/prune-statistics-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/remove-website-data-for-origin-deletes-link-decoration-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/remove-website-data-for-origin-deletes-link-decoration-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/remove-website-data-for-origin-deletes-link-decoration-expected.txt (modified) (1 diff)
-
LayoutTests/http/tests/resourceLoadStatistics/remove-website-data-for-origin-deletes-mixed-statistics-entries-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/remove-website-data-for-origin-deletes-mixed-statistics-entries-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/remove-website-data-for-origin-deletes-third-party-script-loads-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/remove-website-data-for-origin-deletes-third-party-script-loads-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/remove-website-data-for-origin-deletes-third-party-script-loads-expected.txt (modified) (1 diff)
-
LayoutTests/http/tests/resourceLoadStatistics/sandboxed-iframe-redirect-ip-to-localhost-to-ip-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/sandboxed-iframe-redirect-ip-to-localhost-to-ip-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/sandboxed-iframe-redirect-localhost-to-ip-to-localhost-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/sandboxed-iframe-redirect-localhost-to-ip-to-localhost-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/sandboxed-nesting-iframe-with-non-sandboxed-iframe-redirect-ip-to-localhost-to-ip-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/sandboxed-nesting-iframe-with-non-sandboxed-iframe-redirect-ip-to-localhost-to-ip-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/sandboxed-nesting-iframe-with-non-sandboxed-iframe-redirect-localhost-to-ip-to-localhost-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/sandboxed-nesting-iframe-with-non-sandboxed-iframe-redirect-localhost-to-ip-to-localhost-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/sandboxed-nesting-iframe-with-sandboxed-iframe-redirect-ip-to-localhost-to-ip-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/sandboxed-nesting-iframe-with-sandboxed-iframe-redirect-ip-to-localhost-to-ip-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/sandboxed-nesting-iframe-with-sandboxed-iframe-redirect-localhost-to-ip-to-localhost-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/sandboxed-nesting-iframe-with-sandboxed-iframe-redirect-localhost-to-ip-to-localhost-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/set-custom-prevalent-resource-in-debug-mode-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/set-custom-prevalent-resource-in-debug-mode-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/standalone-web-application-exempt-from-website-data-deletion-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/standalone-web-application-exempt-from-website-data-deletion-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/strip-referrer-to-origin-for-prevalent-subresource-redirects-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/strip-referrer-to-origin-for-prevalent-subresource-redirects-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/strip-referrer-to-origin-for-prevalent-subresource-requests-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/strip-referrer-to-origin-for-prevalent-subresource-requests-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/switch-session-on-navigation-to-prevalent-with-interaction-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/switch-session-on-navigation-to-prevalent-with-interaction-database.php (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/telemetry-generation-advanced-functionality-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/telemetry-generation-advanced-functionality-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/telemetry-generation-basic-functionality-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/telemetry-generation-basic-functionality-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/telemetry-generation-expected.txt (modified) (1 diff)
-
LayoutTests/http/tests/resourceLoadStatistics/third-party-cookie-blocking-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/third-party-cookie-blocking-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/third-party-cookie-blocking-ephemeral-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/third-party-cookie-blocking-ephemeral-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/third-party-cookie-blocking-on-sites-without-user-interaction-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/third-party-cookie-blocking-on-sites-without-user-interaction-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/user-interaction-in-cross-origin-sub-frame-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/user-interaction-in-cross-origin-sub-frame-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/user-interaction-only-reported-once-within-short-period-of-time-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/user-interaction-only-reported-once-within-short-period-of-time-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/user-interaction-reported-after-website-data-removal-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/user-interaction-reported-after-website-data-removal-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/website-data-removal-for-site-navigated-to-with-link-decoration-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/website-data-removal-for-site-navigated-to-with-link-decoration-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/website-data-removal-for-site-navigated-to-with-link-decoration-expected.txt (modified) (1 diff)
-
LayoutTests/http/tests/resourceLoadStatistics/website-data-removal-for-site-with-user-interaction-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/website-data-removal-for-site-with-user-interaction-database.html (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/website-data-removal-for-site-without-user-interaction-database-expected.txt (deleted)
-
LayoutTests/http/tests/resourceLoadStatistics/website-data-removal-for-site-without-user-interaction-database.html (deleted)
-
LayoutTests/http/tests/storageAccess/aggregate-sorted-data-with-storage-access-database-expected.txt (deleted)
-
LayoutTests/http/tests/storageAccess/aggregate-sorted-data-with-storage-access-database.html (deleted)
-
LayoutTests/http/tests/storageAccess/aggregate-sorted-data-with-storage-access-expected.txt (modified) (1 diff)
-
LayoutTests/http/tests/storageAccess/deny-due-to-no-interaction-under-general-third-party-cookie-blocking-database-expected.txt (deleted)
-
LayoutTests/http/tests/storageAccess/deny-due-to-no-interaction-under-general-third-party-cookie-blocking-database.html (deleted)
-
LayoutTests/http/tests/storageAccess/deny-storage-access-under-opener-database-expected.txt (deleted)
-
LayoutTests/http/tests/storageAccess/deny-storage-access-under-opener-database.html (deleted)
-
LayoutTests/http/tests/storageAccess/deny-storage-access-under-opener-if-auto-dismiss-database-expected.txt (deleted)
-
LayoutTests/http/tests/storageAccess/deny-storage-access-under-opener-if-auto-dismiss-database.html (deleted)
-
LayoutTests/http/tests/storageAccess/deny-with-prompt-does-not-preserve-gesture-database-expected.txt (deleted)
-
LayoutTests/http/tests/storageAccess/deny-with-prompt-does-not-preserve-gesture-database.html (deleted)
-
LayoutTests/http/tests/storageAccess/deny-without-prompt-preserves-gesture-database-expected.txt (deleted)
-
LayoutTests/http/tests/storageAccess/deny-without-prompt-preserves-gesture-database.html (deleted)
-
LayoutTests/http/tests/storageAccess/grant-storage-access-under-opener-at-popup-user-gesture-database-expected.txt (deleted)
-
LayoutTests/http/tests/storageAccess/grant-storage-access-under-opener-at-popup-user-gesture-database.html (deleted)
-
LayoutTests/http/tests/storageAccess/grant-with-prompt-preserves-gesture-database-expected.txt (deleted)
-
LayoutTests/http/tests/storageAccess/grant-with-prompt-preserves-gesture-database.html (deleted)
-
LayoutTests/http/tests/storageAccess/grant-with-prompt-under-general-third-party-cookie-blocking-database-expected.txt (deleted)
-
LayoutTests/http/tests/storageAccess/grant-with-prompt-under-general-third-party-cookie-blocking-database.html (deleted)
-
LayoutTests/http/tests/storageAccess/has-storage-access-crash-database-expected.txt (deleted)
-
LayoutTests/http/tests/storageAccess/has-storage-access-crash-database.html (deleted)
-
LayoutTests/http/tests/storageAccess/has-storage-access-false-by-default-database-expected.txt (deleted)
-
LayoutTests/http/tests/storageAccess/has-storage-access-false-by-default-database.html (deleted)
-
LayoutTests/http/tests/storageAccess/has-storage-access-false-by-default-ephemeral-database-expected.txt (deleted)
-
LayoutTests/http/tests/storageAccess/has-storage-access-false-by-default-ephemeral-database.html (deleted)
-
LayoutTests/http/tests/storageAccess/has-storage-access-from-prevalent-domain-with-user-interaction-database-expected.txt (deleted)
-
LayoutTests/http/tests/storageAccess/has-storage-access-from-prevalent-domain-with-user-interaction-database.html (deleted)
-
LayoutTests/http/tests/storageAccess/has-storage-access-true-if-third-party-has-cookies-database-expected.txt (deleted)
-
LayoutTests/http/tests/storageAccess/has-storage-access-true-if-third-party-has-cookies-database.html (deleted)
-
LayoutTests/http/tests/storageAccess/has-storage-access-true-if-third-party-has-cookies-ephemeral-database-expected.txt (deleted)
-
LayoutTests/http/tests/storageAccess/has-storage-access-true-if-third-party-has-cookies-ephemeral-database.html (deleted)
-
LayoutTests/http/tests/storageAccess/has-storage-access-under-general-third-party-cookie-blocking-with-cookie-database-expected.txt (deleted)
-
LayoutTests/http/tests/storageAccess/has-storage-access-under-general-third-party-cookie-blocking-with-cookie-database.html (deleted)
-
LayoutTests/http/tests/storageAccess/has-storage-access-under-general-third-party-cookie-blocking-without-cookie-database-expected.txt (deleted)
-
LayoutTests/http/tests/storageAccess/has-storage-access-under-general-third-party-cookie-blocking-without-cookie-database.html (deleted)
-
LayoutTests/http/tests/storageAccess/remove-requesting-iframe-database-expected.txt (deleted)
-
LayoutTests/http/tests/storageAccess/remove-requesting-iframe-database.html (deleted)
-
LayoutTests/http/tests/storageAccess/request-and-grant-access-cross-origin-non-sandboxed-iframe-database-expected.txt (deleted)
-
LayoutTests/http/tests/storageAccess/request-and-grant-access-cross-origin-non-sandboxed-iframe-database.html (deleted)
-
LayoutTests/http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-database-expected.txt (deleted)
-
LayoutTests/http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-database.html (deleted)
-
LayoutTests/http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-user-interaction-and-access-from-right-frame-database-expected.txt (deleted)
-
LayoutTests/http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-user-interaction-and-access-from-right-frame-database.html (deleted)
-
LayoutTests/http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-user-interaction-but-access-from-wrong-frame-database-expected.txt (deleted)
-
LayoutTests/http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-user-interaction-but-access-from-wrong-frame-database.html (deleted)
-
LayoutTests/http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-user-interaction-database-expected.txt (deleted)
-
LayoutTests/http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-user-interaction-database.html (deleted)
-
LayoutTests/http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-from-prevalent-domain-without-user-interaction-database-expected.txt (deleted)
-
LayoutTests/http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-from-prevalent-domain-without-user-interaction-database.html (deleted)
-
LayoutTests/http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-nested-iframe-database-expected.txt (deleted)
-
LayoutTests/http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-nested-iframe-database.html (deleted)
-
LayoutTests/http/tests/storageAccess/request-and-grant-access-then-detach-should-not-have-access-database-expected.txt (deleted)
-
LayoutTests/http/tests/storageAccess/request-and-grant-access-then-detach-should-not-have-access-database.html (deleted)
-
LayoutTests/http/tests/storageAccess/request-and-grant-access-then-navigate-cross-site-should-not-have-access-database-expected.txt (deleted)
-
LayoutTests/http/tests/storageAccess/request-and-grant-access-then-navigate-cross-site-should-not-have-access-database.html (deleted)
-
LayoutTests/http/tests/storageAccess/request-and-grant-access-then-navigate-same-site-should-have-access-database-expected.txt (deleted)
-
LayoutTests/http/tests/storageAccess/request-and-grant-access-then-navigate-same-site-should-have-access-database.html (deleted)
-
LayoutTests/http/tests/storageAccess/request-storage-access-crash-database-expected.txt (deleted)
-
LayoutTests/http/tests/storageAccess/request-storage-access-crash-database.html (deleted)
-
LayoutTests/http/tests/storageAccess/request-storage-access-cross-origin-sandboxed-iframe-with-unique-origin-database-expected.txt (deleted)
-
LayoutTests/http/tests/storageAccess/request-storage-access-cross-origin-sandboxed-iframe-with-unique-origin-database.html (deleted)
-
LayoutTests/http/tests/storageAccess/request-storage-access-cross-origin-sandboxed-iframe-without-allow-token-database-expected.txt (deleted)
-
LayoutTests/http/tests/storageAccess/request-storage-access-cross-origin-sandboxed-iframe-without-allow-token-database.html (deleted)
-
LayoutTests/http/tests/storageAccess/request-storage-access-cross-origin-sandboxed-iframe-without-user-gesture-database-expected.txt (deleted)
-
LayoutTests/http/tests/storageAccess/request-storage-access-cross-origin-sandboxed-iframe-without-user-gesture-database.html (deleted)
-
LayoutTests/http/tests/storageAccess/request-storage-access-same-origin-iframe-database-expected.txt (deleted)
-
LayoutTests/http/tests/storageAccess/request-storage-access-same-origin-iframe-database.html (deleted)
-
LayoutTests/http/tests/storageAccess/request-storage-access-same-origin-sandboxed-iframe-database-expected.txt (deleted)
-
LayoutTests/http/tests/storageAccess/request-storage-access-same-origin-sandboxed-iframe-database.html (deleted)
-
LayoutTests/http/tests/storageAccess/request-storage-access-same-origin-sandboxed-iframe-without-allow-token-database-expected.txt (deleted)
-
LayoutTests/http/tests/storageAccess/request-storage-access-same-origin-sandboxed-iframe-without-allow-token-database.html (deleted)
-
LayoutTests/http/tests/storageAccess/request-storage-access-top-frame-database-expected.txt (deleted)
-
LayoutTests/http/tests/storageAccess/request-storage-access-top-frame-database.html (deleted)
-
LayoutTests/http/tests/webAPIStatistics/canvas-read-and-write-data-collection-expected.txt (modified) (1 diff)
-
LayoutTests/http/tests/webAPIStatistics/font-load-data-collection-expected.txt (modified) (1 diff)
-
LayoutTests/http/tests/webAPIStatistics/navigator-functions-accessed-data-collection-expected.txt (modified) (1 diff)
-
LayoutTests/http/tests/webAPIStatistics/screen-functions-accessed-data-collection-expected.txt (modified) (1 diff)
-
LayoutTests/platform/glib/TestExpectations (modified) (1 diff)
-
LayoutTests/platform/gtk/TestExpectations (modified) (2 diffs)
-
LayoutTests/platform/ios-wk2/TestExpectations (modified) (2 diffs)
-
LayoutTests/platform/ios/TestExpectations (modified) (5 diffs)
-
LayoutTests/platform/mac-wk2/TestExpectations (modified) (4 diffs)
-
LayoutTests/platform/wk2/TestExpectations (modified) (1 diff)
-
LayoutTests/platform/wpe/TestExpectations (modified) (1 diff)
-
Source/WTF/ChangeLog (modified) (1 diff)
-
Source/WTF/Scripts/Preferences/WebPreferencesInternal.yaml (modified) (1 diff)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/page/RuntimeEnabledFeatures.h (modified) (2 diffs)
-
Source/WebKit/ChangeLog (modified) (1 diff)
-
Source/WebKit/NetworkProcess/Classifier/ResourceLoadStatisticsDatabaseStore.h (modified) (1 diff)
-
Source/WebKit/NetworkProcess/Classifier/ResourceLoadStatisticsMemoryStore.cpp (modified) (3 diffs)
-
Source/WebKit/NetworkProcess/Classifier/ResourceLoadStatisticsMemoryStore.h (modified) (3 diffs)
-
Source/WebKit/NetworkProcess/Classifier/ResourceLoadStatisticsPersistentStorage.cpp (deleted)
-
Source/WebKit/NetworkProcess/Classifier/ResourceLoadStatisticsPersistentStorage.h (deleted)
-
Source/WebKit/NetworkProcess/Classifier/ResourceLoadStatisticsStore.cpp (modified) (3 diffs)
-
Source/WebKit/NetworkProcess/Classifier/ResourceLoadStatisticsStore.h (modified) (2 diffs)
-
Source/WebKit/NetworkProcess/Classifier/WebResourceLoadStatisticsStore.cpp (modified) (7 diffs)
-
Source/WebKit/NetworkProcess/Classifier/WebResourceLoadStatisticsStore.h (modified) (3 diffs)
-
Source/WebKit/NetworkProcess/NetworkProcess.cpp (modified) (3 diffs)
-
Source/WebKit/NetworkProcess/NetworkProcess.h (modified) (3 diffs)
-
Source/WebKit/NetworkProcess/NetworkProcess.messages.in (modified) (1 diff)
-
Source/WebKit/NetworkProcess/NetworkProcessCreationParameters.cpp (modified) (2 diffs)
-
Source/WebKit/NetworkProcess/NetworkProcessCreationParameters.h (modified) (1 diff)
-
Source/WebKit/NetworkProcess/NetworkSession.cpp (modified) (1 diff)
-
Source/WebKit/NetworkProcess/NetworkSession.h (modified) (1 diff)
-
Source/WebKit/Shared/WebPreferencesInternal.yaml (modified) (1 diff)
-
Source/WebKit/Sources.txt (modified) (1 diff)
-
Source/WebKit/SourcesCocoa.txt (modified) (1 diff)
-
Source/WebKit/UIProcess/API/C/WKPreferences.cpp (modified) (1 diff)
-
Source/WebKit/UIProcess/API/C/WKPreferencesRef.h (modified) (1 diff)
-
Source/WebKit/UIProcess/API/C/WKWebsiteDataStoreRef.cpp (modified) (2 diffs)
-
Source/WebKit/UIProcess/API/C/WKWebsiteDataStoreRef.h (modified) (1 diff)
-
Source/WebKit/UIProcess/API/Cocoa/WKPreferences.mm (modified) (1 diff)
-
Source/WebKit/UIProcess/API/Cocoa/WKPreferencesPrivate.h (modified) (1 diff)
-
Source/WebKit/UIProcess/API/Cocoa/WKWebsiteDataStore.mm (modified) (1 diff)
-
Source/WebKit/UIProcess/API/Cocoa/WKWebsiteDataStorePrivate.h (modified) (1 diff)
-
Source/WebKit/UIProcess/Cocoa/WebProcessPoolCocoa.mm (modified) (1 diff)
-
Source/WebKit/UIProcess/Network/NetworkProcessProxy.cpp (modified) (1 diff)
-
Source/WebKit/UIProcess/Network/NetworkProcessProxy.h (modified) (1 diff)
-
Source/WebKit/UIProcess/WebsiteData/WebsiteDataStore.cpp (modified) (1 diff)
-
Source/WebKit/UIProcess/WebsiteData/WebsiteDataStore.h (modified) (1 diff)
-
Source/WebKit/UIProcess/ios/ResourceLoadStatisticsPersistentStorageIOS.mm (deleted)
-
Source/WebKit/UIProcess/soup/WebProcessPoolSoup.cpp (modified) (1 diff)
-
Source/WebKit/WebKit.xcodeproj/project.pbxproj (modified) (8 diffs)
-
Tools/ChangeLog (modified) (1 diff)
-
Tools/TestWebKitAPI/Tests/WebKitCocoa/ResourceLoadStatistics.mm (modified) (11 diffs)
-
Tools/WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl (modified) (1 diff)
-
Tools/WebKitTestRunner/InjectedBundle/TestRunner.cpp (modified) (1 diff)
-
Tools/WebKitTestRunner/InjectedBundle/TestRunner.h (modified) (1 diff)
-
Tools/WebKitTestRunner/TestController.cpp (modified) (1 diff)
-
Tools/WebKitTestRunner/TestController.h (modified) (1 diff)
-
Tools/WebKitTestRunner/TestInvocation.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r267744 r267750 1 2020-09-29 Alex Christensen <achristensen@webkit.org> 2 3 Remove plist-based ResourceLoadStatistics storage, which has been replaced by database-based storage 4 https://bugs.webkit.org/show_bug.cgi?id=217063 5 6 Reviewed by John Wilander. 7 8 * http/tests/resourceLoadStatistics/add-blocking-to-redirect-database-expected.txt: Removed. 9 * http/tests/resourceLoadStatistics/add-blocking-to-redirect-database.html: Removed. 10 * http/tests/resourceLoadStatistics/aggregate-sorted-data-no-storage-access-database-expected.txt: Removed. 11 * http/tests/resourceLoadStatistics/aggregate-sorted-data-no-storage-access-database.html: Removed. 12 * http/tests/resourceLoadStatistics/aggregate-sorted-data-no-storage-access-expected.txt: 13 * http/tests/resourceLoadStatistics/blocking-in-web-worker-script-import-database-expected.txt: Removed. 14 * http/tests/resourceLoadStatistics/blocking-in-web-worker-script-import-database.html: Removed. 15 * http/tests/resourceLoadStatistics/cap-cache-max-age-for-prevalent-resource-database-expected.txt: Removed. 16 * http/tests/resourceLoadStatistics/cap-cache-max-age-for-prevalent-resource-database.html: Removed. 17 * http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-database-expected.txt: Removed. 18 * http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-database.html: Removed. 19 * http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-with-link-decoration-same-site-database-expected.txt: Removed. 20 * http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-with-link-decoration-same-site-database.html: Removed. 21 * http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-with-link-fragment-from-prevalent-resource-database-expected.txt: Removed. 22 * http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-with-link-fragment-from-prevalent-resource-database.html: Removed. 23 * http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-with-link-query-and-fragment-from-prevalent-resource-database-expected.txt: Removed. 24 * http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-with-link-query-and-fragment-from-prevalent-resource-database.html: Removed. 25 * http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-with-link-query-from-prevalent-resource-database-expected.txt: Removed. 26 * http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-with-link-query-from-prevalent-resource-database.html: Removed. 27 * http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-without-link-decoration-from-prevalent-resource-database-expected.txt: Removed. 28 * http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-without-link-decoration-from-prevalent-resource-database.html: Removed. 29 * http/tests/resourceLoadStatistics/classify-as-non-prevalent-based-on-mixed-statistics-database-expected.txt: Removed. 30 * http/tests/resourceLoadStatistics/classify-as-non-prevalent-based-on-mixed-statistics-database.html: Removed. 31 * http/tests/resourceLoadStatistics/classify-as-non-prevalent-based-on-sub-frame-under-top-frame-origins-database-expected.txt: Removed. 32 * http/tests/resourceLoadStatistics/classify-as-non-prevalent-based-on-sub-frame-under-top-frame-origins-database.html: Removed. 33 * http/tests/resourceLoadStatistics/classify-as-non-prevalent-based-on-subresource-under-top-frame-origins-database-expected.txt: Removed. 34 * http/tests/resourceLoadStatistics/classify-as-non-prevalent-based-on-subresource-under-top-frame-origins-database.html: Removed. 35 * http/tests/resourceLoadStatistics/classify-as-non-prevalent-based-on-subresource-unique-redirects-to-database-expected.txt: Removed. 36 * http/tests/resourceLoadStatistics/classify-as-non-prevalent-based-on-subresource-unique-redirects-to-database.html: Removed. 37 * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-mixed-statistics-database-expected.txt: Removed. 38 * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-mixed-statistics-database.html: Removed. 39 * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-sub-frame-under-top-frame-origins-database-expected.txt: Removed. 40 * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-sub-frame-under-top-frame-origins-database.html: Removed. 41 * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-redirect-collusion-database-expected.txt: Removed. 42 * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-redirect-collusion-database.html: Removed. 43 * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-redirect-to-prevalent-database-expected.txt: Removed. 44 * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-redirect-to-prevalent-database.html: Removed. 45 * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-under-top-frame-origins-database-expected.txt: Removed. 46 * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-under-top-frame-origins-database.html: Removed. 47 * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-unique-redirects-to-database-expected.txt: Removed. 48 * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-unique-redirects-to-database.html: Removed. 49 * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-top-frame-redirect-collusion-database-expected.txt: Removed. 50 * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-top-frame-redirect-collusion-database.html: Removed. 51 * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-top-frame-redirect-to-prevalent-database-expected.txt: Removed. 52 * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-top-frame-redirect-to-prevalent-database.html: Removed. 53 * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-top-frame-unique-redirects-to-database-expected.txt: Removed. 54 * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-top-frame-unique-redirects-to-database.html: Removed. 55 * http/tests/resourceLoadStatistics/classify-as-very-prevalent-based-on-mixed-statistics-database-expected.txt: Removed. 56 * http/tests/resourceLoadStatistics/classify-as-very-prevalent-based-on-mixed-statistics-database.html: Removed. 57 * http/tests/resourceLoadStatistics/clear-in-memory-and-persistent-store-database-expected.txt: Removed. 58 * http/tests/resourceLoadStatistics/clear-in-memory-and-persistent-store-database.html: Removed. 59 * http/tests/resourceLoadStatistics/clear-in-memory-and-persistent-store-one-hour-database-expected.txt: Removed. 60 * http/tests/resourceLoadStatistics/clear-in-memory-and-persistent-store-one-hour-database.html: Removed. 61 * http/tests/resourceLoadStatistics/cookie-deletion-database-expected.txt: Removed. 62 * http/tests/resourceLoadStatistics/cookie-deletion-database.html: Removed. 63 * http/tests/resourceLoadStatistics/cookies-with-and-without-user-interaction-database-expected.txt: Removed. 64 * http/tests/resourceLoadStatistics/cookies-with-and-without-user-interaction-database.html: Removed. 65 * http/tests/resourceLoadStatistics/count-third-party-script-import-in-worker-database-expected.txt: Removed. 66 * http/tests/resourceLoadStatistics/count-third-party-script-import-in-worker-database.html: Removed. 67 * http/tests/resourceLoadStatistics/count-third-party-script-import-in-worker-expected.txt: 68 * http/tests/resourceLoadStatistics/count-third-party-script-loads-database-expected.txt: Removed. 69 * http/tests/resourceLoadStatistics/count-third-party-script-loads-database.html: Removed. 70 * http/tests/resourceLoadStatistics/count-third-party-script-loads-expected.txt: 71 * http/tests/resourceLoadStatistics/delete-script-accessible-cookies-database-expected.txt: Removed. 72 * http/tests/resourceLoadStatistics/delete-script-accessible-cookies-database.html: Removed. 73 * http/tests/resourceLoadStatistics/do-not-block-top-level-navigation-redirect-database-expected.txt: Removed. 74 * http/tests/resourceLoadStatistics/do-not-block-top-level-navigation-redirect-database.html: Removed. 75 * http/tests/resourceLoadStatistics/do-not-capture-statistics-for-simple-top-navigations-database-expected.txt: Removed. 76 * http/tests/resourceLoadStatistics/do-not-capture-statistics-for-simple-top-navigations-database.html: Removed. 77 * http/tests/resourceLoadStatistics/do-not-remove-blocking-in-redirect-database-expected.txt: Removed. 78 * http/tests/resourceLoadStatistics/do-not-remove-blocking-in-redirect-database.html: Removed. 79 * http/tests/resourceLoadStatistics/do-not-switch-session-on-navigation-to-prevalent-without-interaction-database-expected.txt: Removed. 80 * http/tests/resourceLoadStatistics/do-not-switch-session-on-navigation-to-prevalent-without-interaction-database.php: Removed. 81 * http/tests/resourceLoadStatistics/dont-count-third-party-image-as-third-party-script-database-expected.txt: Removed. 82 * http/tests/resourceLoadStatistics/dont-count-third-party-image-as-third-party-script-database.html: Removed. 83 * http/tests/resourceLoadStatistics/dont-count-third-party-image-as-third-party-script-expected.txt: 84 * http/tests/resourceLoadStatistics/downgrade-document-referrer-nested-third-party-iframe.html: 85 * http/tests/resourceLoadStatistics/downgrade-document-referrer-third-party-iframe.html: 86 * http/tests/resourceLoadStatistics/downgraded-referrer-for-navigation-with-link-query-from-prevalent-resource-database-expected.txt: Removed. 87 * http/tests/resourceLoadStatistics/downgraded-referrer-for-navigation-with-link-query-from-prevalent-resource-database.html: Removed. 88 * http/tests/resourceLoadStatistics/enable-debug-mode-database-expected.txt: Removed. 89 * http/tests/resourceLoadStatistics/enable-debug-mode-database.html: Removed. 90 * http/tests/resourceLoadStatistics/enforce-samesite-strict-based-on-top-frame-unique-redirects-to-database-expected.txt: Removed. 91 * http/tests/resourceLoadStatistics/enforce-samesite-strict-based-on-top-frame-unique-redirects-to-database.html: Removed. 92 * http/tests/resourceLoadStatistics/exemptDomains/app-bound-domains-exempt-from-website-data-deletion-database.html: 93 * http/tests/resourceLoadStatistics/grandfathering-database-expected.txt: Removed. 94 * http/tests/resourceLoadStatistics/grandfathering-database.html: Removed. 95 * http/tests/resourceLoadStatistics/leave-empty-document-referrer-alone-third-party-iframe.html: 96 * http/tests/resourceLoadStatistics/log-cross-site-load-with-link-decoration-database-expected.txt: Removed. 97 * http/tests/resourceLoadStatistics/log-cross-site-load-with-link-decoration-database.html: Removed. 98 * http/tests/resourceLoadStatistics/log-cross-site-load-with-link-decoration-expected.txt: 99 * http/tests/resourceLoadStatistics/log-delayed-client-side-redirects-database-expected.txt: Removed. 100 * http/tests/resourceLoadStatistics/log-delayed-client-side-redirects-database.html: Removed. 101 * http/tests/resourceLoadStatistics/log-delayed-client-side-redirects-expected.txt: 102 * http/tests/resourceLoadStatistics/many-inserts-only-insert-once.html: 103 * http/tests/resourceLoadStatistics/merge-statistic-does-not-overwrite-database-expected.txt: Removed. 104 * http/tests/resourceLoadStatistics/merge-statistic-does-not-overwrite-database.html: Removed. 105 * http/tests/resourceLoadStatistics/merge-statistic-does-overwrite-database-expected.txt: Removed. 106 * http/tests/resourceLoadStatistics/merge-statistic-does-overwrite-database.html: Removed. 107 * http/tests/resourceLoadStatistics/merge-statistic-does-partially-overwrite-database-expected.txt: Removed. 108 * http/tests/resourceLoadStatistics/merge-statistic-does-partially-overwrite-database.html: Removed. 109 * http/tests/resourceLoadStatistics/non-prevalent-resource-with-user-interaction-database-expected.txt: Removed. 110 * http/tests/resourceLoadStatistics/non-prevalent-resource-with-user-interaction-database.html: Removed. 111 * http/tests/resourceLoadStatistics/non-prevalent-resource-without-user-interaction-database-expected.txt: Removed. 112 * http/tests/resourceLoadStatistics/non-prevalent-resource-without-user-interaction-database.html: Removed. 113 * http/tests/resourceLoadStatistics/non-prevalent-resources-can-access-cookies-in-a-third-party-context-database-expected.txt: Removed. 114 * http/tests/resourceLoadStatistics/non-prevalent-resources-can-access-cookies-in-a-third-party-context-database.html: Removed. 115 * http/tests/resourceLoadStatistics/non-sandboxed-iframe-redirect-ip-to-localhost-to-ip-database-expected.txt: Removed. 116 * http/tests/resourceLoadStatistics/non-sandboxed-iframe-redirect-ip-to-localhost-to-ip-database.html: Removed. 117 * http/tests/resourceLoadStatistics/non-sandboxed-iframe-redirect-localhost-to-ip-to-localhost-database-expected.txt: Removed. 118 * http/tests/resourceLoadStatistics/non-sandboxed-iframe-redirect-localhost-to-ip-to-localhost-database.html: Removed. 119 * http/tests/resourceLoadStatistics/non-sandboxed-nesting-iframe-with-non-sandboxed-iframe-redirect-ip-to-localhost-to-ip-database-expected.txt: Removed. 120 * http/tests/resourceLoadStatistics/non-sandboxed-nesting-iframe-with-non-sandboxed-iframe-redirect-ip-to-localhost-to-ip-database.html: Removed. 121 * http/tests/resourceLoadStatistics/non-sandboxed-nesting-iframe-with-non-sandboxed-iframe-redirect-localhost-to-ip-to-localhost-database-expected.txt: Removed. 122 * http/tests/resourceLoadStatistics/non-sandboxed-nesting-iframe-with-non-sandboxed-iframe-redirect-localhost-to-ip-to-localhost-database.html: Removed. 123 * http/tests/resourceLoadStatistics/non-sandboxed-nesting-iframe-with-sandboxed-iframe-redirect-ip-to-localhost-to-ip-database-expected.txt: Removed. 124 * http/tests/resourceLoadStatistics/non-sandboxed-nesting-iframe-with-sandboxed-iframe-redirect-ip-to-localhost-to-ip-database.html: Removed. 125 * http/tests/resourceLoadStatistics/non-sandboxed-nesting-iframe-with-sandboxed-iframe-redirect-localhost-to-ip-to-localhost-database-expected.txt: Removed. 126 * http/tests/resourceLoadStatistics/non-sandboxed-nesting-iframe-with-sandboxed-iframe-redirect-localhost-to-ip-to-localhost-database.html: Removed. 127 * http/tests/resourceLoadStatistics/operating-dates-all-but-cookies-removed-statistics-with-no-user-interaction-database-expected.txt: Removed. 128 * http/tests/resourceLoadStatistics/operating-dates-all-but-cookies-removed-statistics-with-no-user-interaction-database.html: Removed. 129 * http/tests/resourceLoadStatistics/operating-dates-all-but-cookies-removed-statistics-with-no-user-interaction-expected.txt: 130 * http/tests/resourceLoadStatistics/operating-dates-all-website-data-removed-database-expected.txt: Removed. 131 * http/tests/resourceLoadStatistics/operating-dates-all-website-data-removed-database.html: Removed. 132 * http/tests/resourceLoadStatistics/ping-to-prevalent-resource-database-expected.txt: Removed. 133 * http/tests/resourceLoadStatistics/ping-to-prevalent-resource-database.html: Removed. 134 * http/tests/resourceLoadStatistics/prevalent-resource-handled-keydown-database-expected.txt: Removed. 135 * http/tests/resourceLoadStatistics/prevalent-resource-handled-keydown-database.html: Removed. 136 * http/tests/resourceLoadStatistics/prevalent-resource-unhandled-keydown-database-expected.txt: Removed. 137 * http/tests/resourceLoadStatistics/prevalent-resource-unhandled-keydown-database.html: Removed. 138 * http/tests/resourceLoadStatistics/prevalent-resource-with-user-interaction-database-expected.txt: Removed. 139 * http/tests/resourceLoadStatistics/prevalent-resource-with-user-interaction-database.html: Removed. 140 * http/tests/resourceLoadStatistics/prevalent-resource-with-user-interaction-timeout-database-expected.txt: Removed. 141 * http/tests/resourceLoadStatistics/prevalent-resource-with-user-interaction-timeout-database.html: Removed. 142 * http/tests/resourceLoadStatistics/prevalent-resource-without-user-interaction-database-expected.txt: Removed. 143 * http/tests/resourceLoadStatistics/prevalent-resource-without-user-interaction-database.html: Removed. 144 * http/tests/resourceLoadStatistics/prune-statistics-database-expected.txt: Removed. 145 * http/tests/resourceLoadStatistics/prune-statistics-database.html: Removed. 146 * http/tests/resourceLoadStatistics/remove-website-data-for-origin-deletes-link-decoration-database-expected.txt: Removed. 147 * http/tests/resourceLoadStatistics/remove-website-data-for-origin-deletes-link-decoration-database.html: Removed. 148 * http/tests/resourceLoadStatistics/remove-website-data-for-origin-deletes-link-decoration-expected.txt: 149 * http/tests/resourceLoadStatistics/remove-website-data-for-origin-deletes-mixed-statistics-entries-database-expected.txt: Removed. 150 * http/tests/resourceLoadStatistics/remove-website-data-for-origin-deletes-mixed-statistics-entries-database.html: Removed. 151 * http/tests/resourceLoadStatistics/remove-website-data-for-origin-deletes-third-party-script-loads-database-expected.txt: Removed. 152 * http/tests/resourceLoadStatistics/remove-website-data-for-origin-deletes-third-party-script-loads-database.html: Removed. 153 * http/tests/resourceLoadStatistics/remove-website-data-for-origin-deletes-third-party-script-loads-expected.txt: 154 * http/tests/resourceLoadStatistics/sandboxed-iframe-redirect-ip-to-localhost-to-ip-database-expected.txt: Removed. 155 * http/tests/resourceLoadStatistics/sandboxed-iframe-redirect-ip-to-localhost-to-ip-database.html: Removed. 156 * http/tests/resourceLoadStatistics/sandboxed-iframe-redirect-localhost-to-ip-to-localhost-database-expected.txt: Removed. 157 * http/tests/resourceLoadStatistics/sandboxed-iframe-redirect-localhost-to-ip-to-localhost-database.html: Removed. 158 * http/tests/resourceLoadStatistics/sandboxed-nesting-iframe-with-non-sandboxed-iframe-redirect-ip-to-localhost-to-ip-database-expected.txt: Removed. 159 * http/tests/resourceLoadStatistics/sandboxed-nesting-iframe-with-non-sandboxed-iframe-redirect-ip-to-localhost-to-ip-database.html: Removed. 160 * http/tests/resourceLoadStatistics/sandboxed-nesting-iframe-with-non-sandboxed-iframe-redirect-localhost-to-ip-to-localhost-database-expected.txt: Removed. 161 * http/tests/resourceLoadStatistics/sandboxed-nesting-iframe-with-non-sandboxed-iframe-redirect-localhost-to-ip-to-localhost-database.html: Removed. 162 * http/tests/resourceLoadStatistics/sandboxed-nesting-iframe-with-sandboxed-iframe-redirect-ip-to-localhost-to-ip-database-expected.txt: Removed. 163 * http/tests/resourceLoadStatistics/sandboxed-nesting-iframe-with-sandboxed-iframe-redirect-ip-to-localhost-to-ip-database.html: Removed. 164 * http/tests/resourceLoadStatistics/sandboxed-nesting-iframe-with-sandboxed-iframe-redirect-localhost-to-ip-to-localhost-database-expected.txt: Removed. 165 * http/tests/resourceLoadStatistics/sandboxed-nesting-iframe-with-sandboxed-iframe-redirect-localhost-to-ip-to-localhost-database.html: Removed. 166 * http/tests/resourceLoadStatistics/set-custom-prevalent-resource-in-debug-mode-database-expected.txt: Removed. 167 * http/tests/resourceLoadStatistics/set-custom-prevalent-resource-in-debug-mode-database.html: Removed. 168 * http/tests/resourceLoadStatistics/standalone-web-application-exempt-from-website-data-deletion-database-expected.txt: Removed. 169 * http/tests/resourceLoadStatistics/standalone-web-application-exempt-from-website-data-deletion-database.html: Removed. 170 * http/tests/resourceLoadStatistics/strip-referrer-to-origin-for-prevalent-subresource-redirects-database-expected.txt: Removed. 171 * http/tests/resourceLoadStatistics/strip-referrer-to-origin-for-prevalent-subresource-redirects-database.html: Removed. 172 * http/tests/resourceLoadStatistics/strip-referrer-to-origin-for-prevalent-subresource-requests-database-expected.txt: Removed. 173 * http/tests/resourceLoadStatistics/strip-referrer-to-origin-for-prevalent-subresource-requests-database.html: Removed. 174 * http/tests/resourceLoadStatistics/switch-session-on-navigation-to-prevalent-with-interaction-database-expected.txt: Removed. 175 * http/tests/resourceLoadStatistics/switch-session-on-navigation-to-prevalent-with-interaction-database.php: Removed. 176 * http/tests/resourceLoadStatistics/telemetry-generation-advanced-functionality-database-expected.txt: Removed. 177 * http/tests/resourceLoadStatistics/telemetry-generation-advanced-functionality-database.html: Removed. 178 * http/tests/resourceLoadStatistics/telemetry-generation-basic-functionality-database-expected.txt: Removed. 179 * http/tests/resourceLoadStatistics/telemetry-generation-basic-functionality-database.html: Removed. 180 * http/tests/resourceLoadStatistics/telemetry-generation-expected.txt: 181 * http/tests/resourceLoadStatistics/third-party-cookie-blocking-database-expected.txt: Removed. 182 * http/tests/resourceLoadStatistics/third-party-cookie-blocking-database.html: Removed. 183 * http/tests/resourceLoadStatistics/third-party-cookie-blocking-ephemeral-database-expected.txt: Removed. 184 * http/tests/resourceLoadStatistics/third-party-cookie-blocking-ephemeral-database.html: Removed. 185 * http/tests/resourceLoadStatistics/third-party-cookie-blocking-on-sites-without-user-interaction-database-expected.txt: Removed. 186 * http/tests/resourceLoadStatistics/third-party-cookie-blocking-on-sites-without-user-interaction-database.html: Removed. 187 * http/tests/resourceLoadStatistics/user-interaction-in-cross-origin-sub-frame-database-expected.txt: Removed. 188 * http/tests/resourceLoadStatistics/user-interaction-in-cross-origin-sub-frame-database.html: Removed. 189 * http/tests/resourceLoadStatistics/user-interaction-only-reported-once-within-short-period-of-time-database-expected.txt: Removed. 190 * http/tests/resourceLoadStatistics/user-interaction-only-reported-once-within-short-period-of-time-database.html: Removed. 191 * http/tests/resourceLoadStatistics/user-interaction-reported-after-website-data-removal-database-expected.txt: Removed. 192 * http/tests/resourceLoadStatistics/user-interaction-reported-after-website-data-removal-database.html: Removed. 193 * http/tests/resourceLoadStatistics/website-data-removal-for-site-navigated-to-with-link-decoration-database-expected.txt: Removed. 194 * http/tests/resourceLoadStatistics/website-data-removal-for-site-navigated-to-with-link-decoration-database.html: Removed. 195 * http/tests/resourceLoadStatistics/website-data-removal-for-site-navigated-to-with-link-decoration-expected.txt: 196 * http/tests/resourceLoadStatistics/website-data-removal-for-site-with-user-interaction-database-expected.txt: Removed. 197 * http/tests/resourceLoadStatistics/website-data-removal-for-site-with-user-interaction-database.html: Removed. 198 * http/tests/resourceLoadStatistics/website-data-removal-for-site-without-user-interaction-database-expected.txt: Removed. 199 * http/tests/resourceLoadStatistics/website-data-removal-for-site-without-user-interaction-database.html: Removed. 200 * http/tests/storageAccess/aggregate-sorted-data-with-storage-access-database-expected.txt: Removed. 201 * http/tests/storageAccess/aggregate-sorted-data-with-storage-access-database.html: Removed. 202 * http/tests/storageAccess/aggregate-sorted-data-with-storage-access-expected.txt: 203 * http/tests/storageAccess/deny-due-to-no-interaction-under-general-third-party-cookie-blocking-database-expected.txt: Removed. 204 * http/tests/storageAccess/deny-due-to-no-interaction-under-general-third-party-cookie-blocking-database.html: Removed. 205 * http/tests/storageAccess/deny-storage-access-under-opener-database-expected.txt: Removed. 206 * http/tests/storageAccess/deny-storage-access-under-opener-database.html: Removed. 207 * http/tests/storageAccess/deny-storage-access-under-opener-if-auto-dismiss-database-expected.txt: Removed. 208 * http/tests/storageAccess/deny-storage-access-under-opener-if-auto-dismiss-database.html: Removed. 209 * http/tests/storageAccess/deny-with-prompt-does-not-preserve-gesture-database-expected.txt: Removed. 210 * http/tests/storageAccess/deny-with-prompt-does-not-preserve-gesture-database.html: Removed. 211 * http/tests/storageAccess/deny-without-prompt-preserves-gesture-database-expected.txt: Removed. 212 * http/tests/storageAccess/deny-without-prompt-preserves-gesture-database.html: Removed. 213 * http/tests/storageAccess/grant-storage-access-under-opener-at-popup-user-gesture-database-expected.txt: Removed. 214 * http/tests/storageAccess/grant-storage-access-under-opener-at-popup-user-gesture-database.html: Removed. 215 * http/tests/storageAccess/grant-with-prompt-preserves-gesture-database-expected.txt: Removed. 216 * http/tests/storageAccess/grant-with-prompt-preserves-gesture-database.html: Removed. 217 * http/tests/storageAccess/grant-with-prompt-under-general-third-party-cookie-blocking-database-expected.txt: Removed. 218 * http/tests/storageAccess/grant-with-prompt-under-general-third-party-cookie-blocking-database.html: Removed. 219 * http/tests/storageAccess/has-storage-access-crash-database-expected.txt: Removed. 220 * http/tests/storageAccess/has-storage-access-crash-database.html: Removed. 221 * http/tests/storageAccess/has-storage-access-false-by-default-database-expected.txt: Removed. 222 * http/tests/storageAccess/has-storage-access-false-by-default-database.html: Removed. 223 * http/tests/storageAccess/has-storage-access-false-by-default-ephemeral-database-expected.txt: Removed. 224 * http/tests/storageAccess/has-storage-access-false-by-default-ephemeral-database.html: Removed. 225 * http/tests/storageAccess/has-storage-access-from-prevalent-domain-with-user-interaction-database-expected.txt: Removed. 226 * http/tests/storageAccess/has-storage-access-from-prevalent-domain-with-user-interaction-database.html: Removed. 227 * http/tests/storageAccess/has-storage-access-true-if-third-party-has-cookies-database-expected.txt: Removed. 228 * http/tests/storageAccess/has-storage-access-true-if-third-party-has-cookies-database.html: Removed. 229 * http/tests/storageAccess/has-storage-access-true-if-third-party-has-cookies-ephemeral-database-expected.txt: Removed. 230 * http/tests/storageAccess/has-storage-access-true-if-third-party-has-cookies-ephemeral-database.html: Removed. 231 * http/tests/storageAccess/has-storage-access-under-general-third-party-cookie-blocking-with-cookie-database-expected.txt: Removed. 232 * http/tests/storageAccess/has-storage-access-under-general-third-party-cookie-blocking-with-cookie-database.html: Removed. 233 * http/tests/storageAccess/has-storage-access-under-general-third-party-cookie-blocking-without-cookie-database-expected.txt: Removed. 234 * http/tests/storageAccess/has-storage-access-under-general-third-party-cookie-blocking-without-cookie-database.html: Removed. 235 * http/tests/storageAccess/remove-requesting-iframe-database-expected.txt: Removed. 236 * http/tests/storageAccess/remove-requesting-iframe-database.html: Removed. 237 * http/tests/storageAccess/request-and-grant-access-cross-origin-non-sandboxed-iframe-database-expected.txt: Removed. 238 * http/tests/storageAccess/request-and-grant-access-cross-origin-non-sandboxed-iframe-database.html: Removed. 239 * http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-database-expected.txt: Removed. 240 * http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-database.html: Removed. 241 * http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-user-interaction-and-access-from-right-frame-database-expected.txt: Removed. 242 * http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-user-interaction-and-access-from-right-frame-database.html: Removed. 243 * http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-user-interaction-but-access-from-wrong-frame-database-expected.txt: Removed. 244 * http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-user-interaction-but-access-from-wrong-frame-database.html: Removed. 245 * http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-user-interaction-database-expected.txt: Removed. 246 * http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-user-interaction-database.html: Removed. 247 * http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-from-prevalent-domain-without-user-interaction-database-expected.txt: Removed. 248 * http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-from-prevalent-domain-without-user-interaction-database.html: Removed. 249 * http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-nested-iframe-database-expected.txt: Removed. 250 * http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-nested-iframe-database.html: Removed. 251 * http/tests/storageAccess/request-and-grant-access-then-detach-should-not-have-access-database-expected.txt: Removed. 252 * http/tests/storageAccess/request-and-grant-access-then-detach-should-not-have-access-database.html: Removed. 253 * http/tests/storageAccess/request-and-grant-access-then-navigate-cross-site-should-not-have-access-database-expected.txt: Removed. 254 * http/tests/storageAccess/request-and-grant-access-then-navigate-cross-site-should-not-have-access-database.html: Removed. 255 * http/tests/storageAccess/request-and-grant-access-then-navigate-same-site-should-have-access-database-expected.txt: Removed. 256 * http/tests/storageAccess/request-and-grant-access-then-navigate-same-site-should-have-access-database.html: Removed. 257 * http/tests/storageAccess/request-storage-access-crash-database-expected.txt: Removed. 258 * http/tests/storageAccess/request-storage-access-crash-database.html: Removed. 259 * http/tests/storageAccess/request-storage-access-cross-origin-sandboxed-iframe-with-unique-origin-database-expected.txt: Removed. 260 * http/tests/storageAccess/request-storage-access-cross-origin-sandboxed-iframe-with-unique-origin-database.html: Removed. 261 * http/tests/storageAccess/request-storage-access-cross-origin-sandboxed-iframe-without-allow-token-database-expected.txt: Removed. 262 * http/tests/storageAccess/request-storage-access-cross-origin-sandboxed-iframe-without-allow-token-database.html: Removed. 263 * http/tests/storageAccess/request-storage-access-cross-origin-sandboxed-iframe-without-user-gesture-database-expected.txt: Removed. 264 * http/tests/storageAccess/request-storage-access-cross-origin-sandboxed-iframe-without-user-gesture-database.html: Removed. 265 * http/tests/storageAccess/request-storage-access-same-origin-iframe-database-expected.txt: Removed. 266 * http/tests/storageAccess/request-storage-access-same-origin-iframe-database.html: Removed. 267 * http/tests/storageAccess/request-storage-access-same-origin-sandboxed-iframe-database-expected.txt: Removed. 268 * http/tests/storageAccess/request-storage-access-same-origin-sandboxed-iframe-database.html: Removed. 269 * http/tests/storageAccess/request-storage-access-same-origin-sandboxed-iframe-without-allow-token-database-expected.txt: Removed. 270 * http/tests/storageAccess/request-storage-access-same-origin-sandboxed-iframe-without-allow-token-database.html: Removed. 271 * http/tests/storageAccess/request-storage-access-top-frame-database-expected.txt: Removed. 272 * http/tests/storageAccess/request-storage-access-top-frame-database.html: Removed. 273 * http/tests/webAPIStatistics/canvas-read-and-write-data-collection-expected.txt: 274 * http/tests/webAPIStatistics/font-load-data-collection-expected.txt: 275 * http/tests/webAPIStatistics/navigator-functions-accessed-data-collection-expected.txt: 276 * http/tests/webAPIStatistics/screen-functions-accessed-data-collection-expected.txt: 277 * platform/gtk/TestExpectations: 278 * platform/ios-wk2/TestExpectations: 279 * platform/ios/TestExpectations: 280 * platform/mac-wk2/TestExpectations: 281 * platform/wk2/TestExpectations: 282 * platform/wpe/TestExpectations: 283 1 284 2020-09-29 Chris Dumez <cdumez@apple.com> 2 285 -
trunk/LayoutTests/http/tests/resourceLoadStatistics/aggregate-sorted-data-no-storage-access-expected.txt
r263474 r267750 9 9 mostRecentUserInteraction: -1 10 10 grandfathered: No 11 gotLinkDecorationFromPrevalentResource: No12 subframeUnderTopFrameDomains:11 IsScheduledForAllButCookieDataRemoval: No 12 SubframeUnderTopFrameDomains: 13 13 topframe1 14 subresourceUniqueRedirectsTo:14 SubresourceUniqueRedirectsTo: 15 15 topframe2 16 16 isPrevalentResource: Yes 17 17 isVeryPrevalentResource: No 18 18 dataRecordsRemoved: 0 19 canvasReadData: No20 21 19 Registrable domain: subframe2 22 20 hadUserInteraction: No 23 21 mostRecentUserInteraction: -1 24 22 grandfathered: No 25 gotLinkDecorationFromPrevalentResource: No26 subframeUnderTopFrameDomains:23 IsScheduledForAllButCookieDataRemoval: No 24 SubframeUnderTopFrameDomains: 27 25 topframe1 28 26 isPrevalentResource: Yes 29 27 isVeryPrevalentResource: No 30 28 dataRecordsRemoved: 0 31 canvasReadData: No32 33 29 Registrable domain: subframe3 34 30 hadUserInteraction: No 35 31 mostRecentUserInteraction: -1 36 32 grandfathered: No 37 gotLinkDecorationFromPrevalentResource: No38 subframeUnderTopFrameDomains:33 IsScheduledForAllButCookieDataRemoval: No 34 SubframeUnderTopFrameDomains: 39 35 topframe1 40 36 topframe4 41 subresourceUnderTopFrameDomains:37 SubresourceUnderTopFrameDomains: 42 38 topframe3 43 subresourceUniqueRedirectsTo:39 SubresourceUniqueRedirectsTo: 44 40 topframe2 45 41 isPrevalentResource: Yes 46 42 isVeryPrevalentResource: No 47 43 dataRecordsRemoved: 0 48 canvasReadData: No49 50 44 Registrable domain: topframe1 51 45 hadUserInteraction: No 52 46 mostRecentUserInteraction: -1 53 47 grandfathered: No 54 gotLinkDecorationFromPrevalentResource: No48 IsScheduledForAllButCookieDataRemoval: No 55 49 isPrevalentResource: No 56 50 isVeryPrevalentResource: No 57 51 dataRecordsRemoved: 0 58 canvasReadData: No59 60 52 Registrable domain: topframe2 61 53 hadUserInteraction: No 62 54 mostRecentUserInteraction: -1 63 55 grandfathered: No 64 gotLinkDecorationFromPrevalentResource: No56 IsScheduledForAllButCookieDataRemoval: No 65 57 isPrevalentResource: No 66 58 isVeryPrevalentResource: No 67 59 dataRecordsRemoved: 0 68 canvasReadData: No69 70 60 Registrable domain: topframe3 71 61 hadUserInteraction: No 72 62 mostRecentUserInteraction: -1 73 63 grandfathered: No 74 gotLinkDecorationFromPrevalentResource: No64 IsScheduledForAllButCookieDataRemoval: No 75 65 isPrevalentResource: No 76 66 isVeryPrevalentResource: No 77 67 dataRecordsRemoved: 0 78 canvasReadData: No79 80 68 Registrable domain: topframe4 81 69 hadUserInteraction: No 82 70 mostRecentUserInteraction: -1 83 71 grandfathered: No 84 gotLinkDecorationFromPrevalentResource: No72 IsScheduledForAllButCookieDataRemoval: No 85 73 isPrevalentResource: No 86 74 isVeryPrevalentResource: No 87 75 dataRecordsRemoved: 0 88 canvasReadData: No89 90 76 91 77 ITP Data: 92 78 Third Party Registrable Domain: subframe3 93 {{ Has been granted storage access under topframe1: 0; Has been seen under topframe1 in the last 24 hours: 0 },{ Has been granted storage access under topframe4: 0; Has been seen under topframe4 in the last 24 hours: 0 },{ Has been granted storage access under topframe3: 0; Has been seen under topframe3 in the last 24 hours: 0 },{ Has been granted storage access under topframe2: 0; Has been seen under topframe2 in the last 24 hours: 0},}79 {{ Has been granted storage access under topframe1: 0; Has been seen under topframe1 in the last 24 hours: 1 },{ Has been granted storage access under topframe4: 0; Has been seen under topframe4 in the last 24 hours: 1 },{ Has been granted storage access under topframe3: 0; Has been seen under topframe3 in the last 24 hours: 1 },{ Has been granted storage access under topframe2: 0; Has been seen under topframe2 in the last 24 hours: 1 },} 94 80 Third Party Registrable Domain: subframe1 95 {{ Has been granted storage access under topframe1: 0; Has been seen under topframe1 in the last 24 hours: 0 },{ Has been granted storage access under topframe2: 0; Has been seen under topframe2 in the last 24 hours: 0},}81 {{ Has been granted storage access under topframe1: 0; Has been seen under topframe1 in the last 24 hours: 1 },{ Has been granted storage access under topframe2: 0; Has been seen under topframe2 in the last 24 hours: 1 },} 96 82 Third Party Registrable Domain: subframe2 97 {{ Has been granted storage access under topframe1: 0; Has been seen under topframe1 in the last 24 hours: 0},}83 {{ Has been granted storage access under topframe1: 0; Has been seen under topframe1 in the last 24 hours: 1 },} -
trunk/LayoutTests/http/tests/resourceLoadStatistics/count-third-party-script-import-in-worker-expected.txt
r263474 r267750 9 9 mostRecentUserInteraction: -1 10 10 grandfathered: No 11 gotLinkDecorationFromPrevalentResource: No 12 topFrameLoadedThirdPartyScripts: 11 TopFrameLoadedThirdPartyScripts: 13 12 localhost 13 IsScheduledForAllButCookieDataRemoval: No 14 14 isPrevalentResource: No 15 15 isVeryPrevalentResource: No 16 16 dataRecordsRemoved: 0 17 canvasReadData: No18 19 17 Registrable domain: localhost 20 18 hadUserInteraction: No 21 19 mostRecentUserInteraction: -1 22 20 grandfathered: No 23 gotLinkDecorationFromPrevalentResource: No24 subresourceUnderTopFrameDomains:21 IsScheduledForAllButCookieDataRemoval: No 22 SubresourceUnderTopFrameDomains: 25 23 127.0.0.1 26 24 isPrevalentResource: No 27 25 isVeryPrevalentResource: No 28 26 dataRecordsRemoved: 0 29 canvasReadData: No30 -
trunk/LayoutTests/http/tests/resourceLoadStatistics/count-third-party-script-loads-expected.txt
r263474 r267750 9 9 mostRecentUserInteraction: -1 10 10 grandfathered: No 11 gotLinkDecorationFromPrevalentResource: No 12 topFrameLoadedThirdPartyScripts: 11 TopFrameLoadedThirdPartyScripts: 13 12 localhost 13 IsScheduledForAllButCookieDataRemoval: No 14 14 isPrevalentResource: No 15 15 isVeryPrevalentResource: No 16 16 dataRecordsRemoved: 0 17 canvasReadData: No18 19 17 Registrable domain: localhost 20 18 hadUserInteraction: No 21 19 mostRecentUserInteraction: -1 22 20 grandfathered: No 23 gotLinkDecorationFromPrevalentResource: No24 subresourceUnderTopFrameDomains:21 IsScheduledForAllButCookieDataRemoval: No 22 SubresourceUnderTopFrameDomains: 25 23 127.0.0.1 26 24 isPrevalentResource: No 27 25 isVeryPrevalentResource: No 28 26 dataRecordsRemoved: 0 29 canvasReadData: No30 -
trunk/LayoutTests/http/tests/resourceLoadStatistics/dont-count-third-party-image-as-third-party-script-expected.txt
r263474 r267750 5 5 Resource load statistics: 6 6 7 Registrable domain: 127.0.0.1 8 hadUserInteraction: No 9 mostRecentUserInteraction: -1 10 grandfathered: No 11 IsScheduledForAllButCookieDataRemoval: No 12 isPrevalentResource: No 13 isVeryPrevalentResource: No 14 dataRecordsRemoved: 0 7 15 Registrable domain: localhost 8 16 hadUserInteraction: No 9 17 mostRecentUserInteraction: -1 10 18 grandfathered: No 11 gotLinkDecorationFromPrevalentResource: No12 subresourceUnderTopFrameDomains:19 IsScheduledForAllButCookieDataRemoval: No 20 SubresourceUnderTopFrameDomains: 13 21 127.0.0.1 14 22 isPrevalentResource: No 15 23 isVeryPrevalentResource: No 16 24 dataRecordsRemoved: 0 17 canvasReadData: No18 -
trunk/LayoutTests/http/tests/resourceLoadStatistics/downgrade-document-referrer-nested-third-party-iframe.html
r250676 r267750 25 25 function runTest() { 26 26 if (testRunner) { 27 testRunner.setUseITPDatabase(true);28 27 setEnableFeature(true, function() { 29 28 let iframeElement = document.createElement("iframe"); -
trunk/LayoutTests/http/tests/resourceLoadStatistics/downgrade-document-referrer-third-party-iframe.html
r250676 r267750 25 25 function runTest() { 26 26 if (testRunner) { 27 testRunner.setUseITPDatabase(true);28 27 setEnableFeature(true, function() { 29 28 let iframeElement = document.createElement("iframe"); -
trunk/LayoutTests/http/tests/resourceLoadStatistics/exemptDomains/app-bound-domains-exempt-from-website-data-deletion-database.html
r261242 r267750 13 13 testRunner.waitUntilDone(); 14 14 testRunner.dumpAsText(); 15 testRunner.setUseITPDatabase(true);16 15 17 16 const httpOnlyCookieName = "http-only-cookie"; -
trunk/LayoutTests/http/tests/resourceLoadStatistics/leave-empty-document-referrer-alone-third-party-iframe.html
r250676 r267750 25 25 function runTest() { 26 26 if (testRunner) { 27 testRunner.setUseITPDatabase(true);28 27 setEnableFeature(true, function() { 29 28 let iframeElement = document.createElement("iframe"); -
trunk/LayoutTests/http/tests/resourceLoadStatistics/log-cross-site-load-with-link-decoration-expected.txt
r263474 r267750 7 7 mostRecentUserInteraction: -1 8 8 grandfathered: No 9 topFrameUniqueRedirectsTo:9 TopFrameUniqueRedirectsTo: 10 10 localhost 11 gotLinkDecorationFromPrevalentResource: No11 IsScheduledForAllButCookieDataRemoval: No 12 12 isPrevalentResource: Yes 13 13 isVeryPrevalentResource: No 14 14 dataRecordsRemoved: 0 15 canvasReadData: No16 17 15 Registrable domain: localhost 18 16 hadUserInteraction: No 19 17 mostRecentUserInteraction: -1 20 18 grandfathered: No 21 topFrameUniqueRedirectsFrom:19 TopFrameUniqueRedirectsFrom: 22 20 127.0.0.1 23 topFrameLinkDecorationsFrom:21 TopFrameLinkDecorationsFrom: 24 22 127.0.0.1 25 gotLinkDecorationFromPrevalentResource: Yes23 IsScheduledForAllButCookieDataRemoval: Yes 26 24 isPrevalentResource: No 27 25 isVeryPrevalentResource: No 28 26 dataRecordsRemoved: 0 29 canvasReadData: No30 -
trunk/LayoutTests/http/tests/resourceLoadStatistics/log-delayed-client-side-redirects-expected.txt
r263474 r267750 7 7 mostRecentUserInteraction: -1 8 8 grandfathered: No 9 topFrameUniqueRedirectsTo:9 TopFrameUniqueRedirectsTo: 10 10 localhost 11 gotLinkDecorationFromPrevalentResource: No11 IsScheduledForAllButCookieDataRemoval: No 12 12 isPrevalentResource: No 13 13 isVeryPrevalentResource: No 14 14 dataRecordsRemoved: 0 15 canvasReadData: No16 17 15 Registrable domain: localhost 18 16 hadUserInteraction: No 19 17 mostRecentUserInteraction: -1 20 18 grandfathered: No 21 topFrameUniqueRedirectsFrom:19 TopFrameUniqueRedirectsFrom: 22 20 127.0.0.1 23 gotLinkDecorationFromPrevalentResource: No21 IsScheduledForAllButCookieDataRemoval: No 24 22 isPrevalentResource: No 25 23 isVeryPrevalentResource: No 26 24 dataRecordsRemoved: 0 27 canvasReadData: No28 -
trunk/LayoutTests/http/tests/resourceLoadStatistics/many-inserts-only-insert-once.html
r264609 r267750 9 9 <body> 10 10 <script> 11 testRunner.setUseITPDatabase(true);12 11 description("Tests that many inserts into the database only result in one row."); 13 12 jsTestIsAsync = true; -
trunk/LayoutTests/http/tests/resourceLoadStatistics/remove-website-data-for-origin-deletes-link-decoration-expected.txt
r263474 r267750 6 6 mostRecentUserInteraction: -1 7 7 grandfathered: No 8 gotLinkDecorationFromPrevalentResource: No8 IsScheduledForAllButCookieDataRemoval: No 9 9 isPrevalentResource: Yes 10 10 isVeryPrevalentResource: No 11 11 dataRecordsRemoved: 0 12 canvasReadData: No13 -
trunk/LayoutTests/http/tests/resourceLoadStatistics/remove-website-data-for-origin-deletes-third-party-script-loads-expected.txt
r263474 r267750 9 9 mostRecentUserInteraction: -1 10 10 grandfathered: No 11 gotLinkDecorationFromPrevalentResource: No11 IsScheduledForAllButCookieDataRemoval: No 12 12 isPrevalentResource: No 13 13 isVeryPrevalentResource: No 14 14 dataRecordsRemoved: 0 15 canvasReadData: No16 -
trunk/LayoutTests/http/tests/resourceLoadStatistics/telemetry-generation-expected.txt
r225640 r267750 5 5 6 6 PASS Hosts classified as prevalent resources. 7 PASS testResult.totalPrevalentResources is 0 8 PASS testResult.totalPrevalentResourcesWithUserInteraction is 0 9 PASS testResult.top3SubframeUnderTopFrameOrigins is 0 7 FAIL testResult.totalPrevalentResources should be 0 (of type number). Was undefined (of type undefined). 8 FAIL testResult.totalPrevalentResourcesWithUserInteraction should be 0 (of type number). Was undefined (of type undefined). 9 FAIL testResult.top3SubframeUnderTopFrameOrigins should be 0 (of type number). Was undefined (of type undefined). 10 10 PASS Hosts classified as prevalent resources. 11 PASS testResult.totalPrevalentResources is 4 12 PASS testResult.totalPrevalentResourcesWithUserInteraction is 1 13 PASS testResult.top3SubframeUnderTopFrameOrigins is 4 11 FAIL testResult.totalPrevalentResources should be 4 (of type number). Was undefined (of type undefined). 12 FAIL testResult.totalPrevalentResourcesWithUserInteraction should be 1 (of type number). Was undefined (of type undefined). 13 FAIL testResult.top3SubframeUnderTopFrameOrigins should be 4 (of type number). Was undefined (of type undefined). 14 14 PASS successfullyParsed is true 15 Some tests failed. 15 16 16 17 TEST COMPLETE -
trunk/LayoutTests/http/tests/resourceLoadStatistics/website-data-removal-for-site-navigated-to-with-link-decoration-expected.txt
r263474 r267750 20 20 mostRecentUserInteraction: -1 21 21 grandfathered: No 22 topFrameLinkDecorationsFrom:22 TopFrameLinkDecorationsFrom: 23 23 localhost 24 gotLinkDecorationFromPrevalentResource: No24 IsScheduledForAllButCookieDataRemoval: No 25 25 isPrevalentResource: No 26 26 isVeryPrevalentResource: No 27 27 dataRecordsRemoved: 1 28 canvasReadData: No29 30 28 Registrable domain: localhost 31 29 hadUserInteraction: No 32 30 mostRecentUserInteraction: -1 33 31 grandfathered: No 34 gotLinkDecorationFromPrevalentResource: No32 IsScheduledForAllButCookieDataRemoval: No 35 33 isPrevalentResource: Yes 36 34 isVeryPrevalentResource: No 37 35 dataRecordsRemoved: 0 38 canvasReadData: No39 -
trunk/LayoutTests/http/tests/storageAccess/aggregate-sorted-data-with-storage-access-expected.txt
r263474 r267750 15 15 mostRecentUserInteraction: within 24 hours 16 16 grandfathered: No 17 topFrameUniqueRedirectsTo:17 TopFrameUniqueRedirectsTo: 18 18 localhost 19 topFrameUniqueRedirectsFrom:19 TopFrameUniqueRedirectsFrom: 20 20 localhost 21 gotLinkDecorationFromPrevalentResource: No21 IsScheduledForAllButCookieDataRemoval: No 22 22 isPrevalentResource: Yes 23 23 isVeryPrevalentResource: No 24 24 dataRecordsRemoved: 0 25 canvasReadData: No26 27 25 Registrable domain: localhost 28 26 hadUserInteraction: Yes 29 27 mostRecentUserInteraction: within 24 hours 30 28 grandfathered: No 31 storageAccessUnderTopFrameDomains:29 StorageAccessUnderTopFrameDomains: 32 30 127.0.0.1 33 topFrameUniqueRedirectsTo:31 TopFrameUniqueRedirectsTo: 34 32 127.0.0.1 35 topFrameUniqueRedirectsFrom:33 TopFrameUniqueRedirectsFrom: 36 34 127.0.0.1 37 gotLinkDecorationFromPrevalentResource: No38 subframeUnderTopFrameDomains:35 IsScheduledForAllButCookieDataRemoval: No 36 SubframeUnderTopFrameDomains: 39 37 127.0.0.1 40 38 isPrevalentResource: Yes 41 39 isVeryPrevalentResource: No 42 40 dataRecordsRemoved: 0 43 canvasReadData: No44 45 41 46 42 ITP Data: 47 43 Third Party Registrable Domain: localhost 48 {{ Has been granted storage access under 127.0.0.1: 1; Has been seen under 127.0.0.1 in the last 24 hours: 0},}44 {{ Has been granted storage access under 127.0.0.1: 1; Has been seen under 127.0.0.1 in the last 24 hours: 1 },} -
trunk/LayoutTests/http/tests/webAPIStatistics/canvas-read-and-write-data-collection-expected.txt
r263474 r267750 6 6 mostRecentUserInteraction: -1 7 7 grandfathered: No 8 gotLinkDecorationFromPrevalentResource: No8 IsScheduledForAllButCookieDataRemoval: No 9 9 isPrevalentResource: No 10 10 isVeryPrevalentResource: No 11 11 dataRecordsRemoved: 0 12 fontsSuccessfullyLoaded:13 Helvetica14 Times15 topFrameRegistrableDomainsWhichAccessedWebAPIs:16 127.0.0.117 canvasTextWritten:18 suspicious invisible text19 canvasReadData: Yes20 -
trunk/LayoutTests/http/tests/webAPIStatistics/font-load-data-collection-expected.txt
r263474 r267750 8 8 mostRecentUserInteraction: -1 9 9 grandfathered: No 10 gotLinkDecorationFromPrevalentResource: No10 IsScheduledForAllButCookieDataRemoval: No 11 11 isPrevalentResource: No 12 12 isVeryPrevalentResource: No 13 13 dataRecordsRemoved: 0 14 fontsFailedToLoad:15 Fransiscan16 Andale17 notARealFont18 fontsSuccessfullyLoaded:19 Times20 topFrameRegistrableDomainsWhichAccessedWebAPIs:21 127.0.0.122 canvasReadData: No23 -
trunk/LayoutTests/http/tests/webAPIStatistics/navigator-functions-accessed-data-collection-expected.txt
r263474 r267750 6 6 mostRecentUserInteraction: -1 7 7 grandfathered: No 8 gotLinkDecorationFromPrevalentResource: No8 IsScheduledForAllButCookieDataRemoval: No 9 9 isPrevalentResource: No 10 10 isVeryPrevalentResource: No 11 11 dataRecordsRemoved: 0 12 fontsSuccessfullyLoaded:13 Times14 topFrameRegistrableDomainsWhichAccessedWebAPIs:15 127.0.0.116 navigatorFunctionsAccessed:17 appVersion18 userAgent19 plugins20 mimeTypes21 cookieEnabled22 javaEnabled23 canvasReadData: No24 -
trunk/LayoutTests/http/tests/webAPIStatistics/screen-functions-accessed-data-collection-expected.txt
r263474 r267750 6 6 mostRecentUserInteraction: -1 7 7 grandfathered: No 8 gotLinkDecorationFromPrevalentResource: No8 IsScheduledForAllButCookieDataRemoval: No 9 9 isPrevalentResource: No 10 10 isVeryPrevalentResource: No 11 11 dataRecordsRemoved: 0 12 fontsSuccessfullyLoaded:13 Times14 topFrameRegistrableDomainsWhichAccessedWebAPIs:15 127.0.0.116 screenFunctionsAccessed:17 height18 width19 colorDepth20 pixelDepth21 availLeft22 availTop23 availHeight24 availWidth25 canvasReadData: No26 -
trunk/LayoutTests/platform/glib/TestExpectations
r267558 r267750 1002 1002 http/tests/storageAccess/ [ Pass ] 1003 1003 http/tests/storageAccess/deny-with-prompt-does-not-preserve-gesture.html [ Skip ] 1004 http/tests/storageAccess/deny-with-prompt-does-not-preserve-gesture-database.html [ Skip ]1005 webkit.org/b/208400 http/tests/storageAccess/has-storage-access-true-if-third-party-has-cookies-ephemeral-database.html [ Failure ]1006 1004 webkit.org/b/208400 http/tests/storageAccess/has-storage-access-true-if-third-party-has-cookies-ephemeral.html [ Failure ] 1007 1005 -
trunk/LayoutTests/platform/gtk/TestExpectations
r267531 r267750 1159 1159 webkit.org/b/210226 imported/w3c/web-platform-tests/IndexedDB/interleaved-cursors-small.html [ Failure ] 1160 1160 1161 webkit.org/b/210487 http/tests/resourceLoadStatistics/switch-session-on-navigation-to-prevalent-with-interaction-database.php [ Failure ]1162 1161 webkit.org/b/210487 http/tests/resourceLoadStatistics/switch-session-on-navigation-to-prevalent-with-interaction.php [ Failure ] 1163 1162 1164 webkit.org/b/210796 http/tests/resourceLoadStatistics/standalone-web-application-exempt-from-website-data-deletion-database.html [ Failure ]1165 1163 webkit.org/b/210796 http/tests/resourceLoadStatistics/standalone-web-application-exempt-from-website-data-deletion.html [ Failure ] 1166 1164 … … 2413 2411 webkit.org/b/212202 compositing/fixed-with-main-thread-scrolling.html [ Skip ] 2414 2412 2415 webkit.org/b/210796 http/tests/resourceLoadStatistics/clear-in-memory-and-persistent-store-one-hour-database.html [ Timeout Pass ]2416 2413 webkit.org/b/210796 http/tests/resourceLoadStatistics/clear-in-memory-and-persistent-store-one-hour.html [ Timeout Pass ] 2417 webkit.org/b/210796 http/tests/resourceLoadStatistics/operating-dates-all-website-data-removed-database.html [ Timeout Pass ]2418 2414 webkit.org/b/210796 http/tests/resourceLoadStatistics/operating-dates-all-website-data-removed.html [ Timeout Pass ] 2419 webkit.org/b/210796 http/tests/resourceLoadStatistics/ping-to-prevalent-resource-database.html [ Timeout Pass ]2420 2415 webkit.org/b/210796 http/tests/resourceLoadStatistics/ping-to-prevalent-resource.html [ Timeout Pass ] 2421 webkit.org/b/210796 http/tests/resourceLoadStatistics/prevalent-resource-handled-keydown-database.html [ Timeout Pass ]2422 webkit.org/b/210796 http/tests/resourceLoadStatistics/telemetry-generation-advanced-functionality-database.html [ Failure Pass ]2423 2416 webkit.org/b/210796 http/tests/resourceLoadStatistics/user-interaction-only-reported-once-within-short-period-of-time.html [ Failure Pass ] 2424 2417 webkit.org/b/210796 http/tests/resourceLoadStatistics/website-data-removal-for-site-navigated-to-with-link-decoration.html [ Timeout Pass ] 2425 webkit.org/b/210796 http/tests/resourceLoadStatistics/website-data-removal-for-site-with-user-interaction-database.html [ Timeout Pass ]2426 2418 webkit.org/b/210796 http/tests/resourceLoadStatistics/website-data-removal-for-site-with-user-interaction.html [ Timeout Pass ] 2427 2419 -
trunk/LayoutTests/platform/ios-wk2/TestExpectations
r267724 r267750 1405 1405 1406 1406 webkit.org/b/208739 http/tests/resourceLoadStatistics/third-party-cookie-blocking-ephemeral.html [ Pass Timeout ] 1407 1408 webkit.org/b/208739 http/tests/resourceLoadStatistics/third-party-cookie-blocking-ephemeral-database.html [ Pass Timeout ]1409 1407 1410 1408 webkit.org/b/208890 imported/w3c/web-platform-tests/IndexedDB/idbobjectstore_openKeyCursor.htm [ Pass Failure ] … … 1762 1760 webkit.org/b/210046 [ Release ] storage/indexeddb/value-cursor-cycle.html [ Pass Failure ] 1763 1761 1764 webkit.org/b/211928 http/tests/resourceLoadStatistics/standalone-web-application-exempt-from-website-data-deletion -database.html [ Pass Timeout ]1762 webkit.org/b/211928 http/tests/resourceLoadStatistics/standalone-web-application-exempt-from-website-data-deletion.html [ Pass Timeout ] 1765 1763 1766 1764 webkit.org/b/212219 media/track/track-cue-missing.html [ Pass Failure ] -
trunk/LayoutTests/platform/ios/TestExpectations
r267314 r267750 1006 1006 http/tests/navigation/keyboard-events-during-provisional-subframe-navigation.html [ Skip ] 1007 1007 http/tests/resourceLoadStatistics/prevalent-resource-handled-keydown.html [ Skip ] 1008 http/tests/resourceLoadStatistics/prevalent-resource-handled-keydown-database.html [ Skip ]1009 1008 media/audio-playback-volume-changes-with-restrictions-and-user-gestures.html [ Skip ] 1010 1009 media/audio-playback-volume-changes-with-restrictions.html [ Skip ] … … 2717 2716 http/tests/resourceLoadStatistics/user-interaction-only-reported-once-within-short-period-of-time.html [ Skip ] 2718 2717 http/tests/resourceLoadStatistics/user-interaction-reported-after-website-data-removal.html [ Skip ] 2719 webkit.org/b/174120 http/tests/resourceLoadStatistics/user-interaction-in-cross-origin-sub-frame-database.html [ Skip ]2720 http/tests/resourceLoadStatistics/user-interaction-only-reported-once-within-short-period-of-time-database.html [ Skip ]2721 http/tests/resourceLoadStatistics/user-interaction-reported-after-website-data-removal-database.html [ Skip ]2722 2718 # Skipped in WK2 expectations because cookie partitioning is only available in macOS High Sierra and iOS 11. 2723 2719 http/tests/resourceLoadStatistics/cookie-deletion.html [ Pass ] … … 2735 2731 http/tests/resourceLoadStatistics/set-all-cookies-to-same-site-strict.html [ Pass ] 2736 2732 http/tests/resourceLoadStatistics/enforce-samesite-strict-based-on-top-frame-unique-redirects-to.html [ Pass ] 2737 http/tests/resourceLoadStatistics/enforce-samesite-strict-based-on-top-frame-unique-redirects-to-database.html [ Pass ]2738 2733 2739 2734 http/tests/storageAccess/deny-storage-access-under-opener.html [ Pass ] … … 2743 2738 http/tests/storageAccess/has-storage-access-false-by-default-ephemeral.html [ Pass ] 2744 2739 http/tests/storageAccess/has-storage-access-true-if-third-party-has-cookies.html [ Pass Timeout ] 2745 http/tests/storageAccess/has-storage-access-true-if-third-party-has-cookies-database.html [ Pass Timeout ]2746 http/tests/storageAccess/deny-storage-access-under-opener-database.html [ Pass ]2747 http/tests/storageAccess/deny-storage-access-under-opener-if-auto-dismiss-database.html [ Pass ]2748 http/tests/storageAccess/has-storage-access-false-by-default-database.html [ Pass ]2749 http/tests/storageAccess/has-storage-access-false-by-default-ephemeral-database.html [ Pass ]2750 2740 2751 2741 # Enable again when fixing https://bugs.webkit.org/show_bug.cgi?id=208400. 2752 2742 http/tests/storageAccess/has-storage-access-true-if-third-party-has-cookies-ephemeral.html [ Skip ] 2753 http/tests/storageAccess/has-storage-access-true-if-third-party-has-cookies-ephemeral-database.html [ Skip ]2754 2743 2755 2744 # Skipped in general expectations since they only work on iOS and Mac, WK2. … … 2896 2885 2897 2886 webkit.org/b/177617 http/tests/storageAccess/request-storage-access-top-frame.html [ Pass Timeout ] 2898 http/tests/storageAccess/request-storage-access-top-frame-database.html [ Pass Timeout ]2899 2887 2900 2888 webkit.org/b/177547 imported/w3c/web-platform-tests/fetch/security/dangling-markup-mitigation-data-url.tentative.sub.html [ Pass Failure ] -
trunk/LayoutTests/platform/mac-wk2/TestExpectations
r267607 r267750 640 640 http/tests/resourceLoadStatistics/user-interaction-reported-after-website-data-removal.html [ Pass ] 641 641 http/tests/storageAccess/ [ Pass ] 642 http/tests/storageAccess/request-and-grant-access-then-navigate-cross-site-should-not-have-access -database.html [ Pass Timeout ]642 http/tests/storageAccess/request-and-grant-access-then-navigate-cross-site-should-not-have-access.html [ Pass Timeout ] 643 643 http/tests/storageAccess/deny-with-prompt-does-not-preserve-gesture.html [ Skip ] 644 http/tests/storageAccess/deny-with-prompt-does-not-preserve-gesture-database.html [ Skip ]645 644 646 645 # Enable again when fixing https://bugs.webkit.org/show_bug.cgi?id=208400. 647 http/tests/storageAccess/has-storage-access-true-if-third-party-has-cookies-ephemeral-database.html [ Skip ]648 646 http/tests/storageAccess/has-storage-access-true-if-third-party-has-cookies-ephemeral.html [ Skip ] 649 647 650 648 # As of https://trac.webkit.org/changeset/227762 the timestampResolution is just 5 seconds which makes this test flaky 651 649 http/tests/resourceLoadStatistics/user-interaction-only-reported-once-within-short-period-of-time.html [ Skip ] 652 http/tests/resourceLoadStatistics/user-interaction-only-reported-once-within-short-period-of-time-database.html [ Skip ]653 650 654 651 webkit.org/b/173861 [ Release ] http/tests/webrtc/filtering-ice-candidate-same-origin-frame.html [ Pass Timeout ] … … 711 708 [ Catalina+ ] http/tests/resourceLoadStatistics/set-all-cookies-to-same-site-strict.html [ Pass ] 712 709 [ Catalina+ ] http/tests/resourceLoadStatistics/enforce-samesite-strict-based-on-top-frame-unique-redirects-to.html [ Pass ] 713 [ Catalina+ ] http/tests/resourceLoadStatistics/enforce-samesite-strict-based-on-top-frame-unique-redirects-to-database.html [ Pass ]714 710 715 711 # The CNAME and cookie transform SPIs are only available in macOS Big Sur and above. … … 850 846 webkit.org/b/187391 accessibility/mac/async-increment-decrement-action.html [ Skip ] 851 847 852 http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-user-interaction-but-access-from-wrong-frame -database.html [ Pass Timeout ]848 http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-user-interaction-but-access-from-wrong-frame.html [ Pass Timeout ] 853 849 854 850 webkit.org/b/197068 [ Debug ] fast/selectors/is-backtracking.html [ Pass Timeout ] … … 1061 1057 1062 1058 webkit.org/b/213461 fast/mediastream/mediastreamtrack-video-frameRate-clone-increasing.html [ Pass Failure ] 1063 1064 webkit.org/b/213553 http/tests/resourceLoadStatistics/grandfathering-database.html [ Pass Timeout ]1065 1059 1066 1060 webkit.org/b/213621 imported/w3c/web-platform-tests/webrtc/RTCRtpReceiver-getContributingSources.https.html [ Pass Failure ] -
trunk/LayoutTests/platform/wk2/TestExpectations
r267313 r267750 735 735 http/tests/resourceLoadStatistics/set-all-cookies-to-same-site-strict.html [ Skip ] 736 736 http/tests/resourceLoadStatistics/enforce-samesite-strict-based-on-top-frame-unique-redirects-to.html [ Skip ] 737 http/tests/resourceLoadStatistics/enforce-samesite-strict-based-on-top-frame-unique-redirects-to-database.html [ Skip ] 737 738 # This test is flaky. <rdar://problem/69748720> 739 http/tests/resourceLoadStatistics/operating-dates-all-but-cookies-removed-statistics-with-no-user-interaction.html [ Pass Failure ] 738 740 739 741 # The CNAME and cookie transform SPIs are only available in macOS Big Sur + iOS 14 and above. -
trunk/LayoutTests/platform/wpe/TestExpectations
r267531 r267750 643 643 media/now-playing-status-without-media.html [ Skip ] 644 644 645 webkit.org/b/210487 http/tests/resourceLoadStatistics/switch-session-on-navigation-to-prevalent-with-interaction-database.php [ Failure ]646 645 webkit.org/b/210487 http/tests/resourceLoadStatistics/switch-session-on-navigation-to-prevalent-with-interaction.php [ Failure ] 647 646 -
trunk/Source/WTF/ChangeLog
r267727 r267750 1 2020-09-29 Alex Christensen <achristensen@webkit.org> 2 3 Remove plist-based ResourceLoadStatistics storage, which has been replaced by database-based storage 4 https://bugs.webkit.org/show_bug.cgi?id=217063 5 6 Reviewed by John Wilander. 7 8 * Scripts/Preferences/WebPreferencesInternal.yaml: 9 1 10 2020-09-28 Yusuke Suzuki <ysuzuki@apple.com> 2 11 -
trunk/Source/WTF/Scripts/Preferences/WebPreferencesInternal.yaml
r267714 r267750 370 370 default: false 371 371 372 # FIXME: This is not relevent for WebKitLegacy, so should be excluded from WebKitLegacy entirely.373 IsITPDatabaseEnabled:374 type: bool375 humanReadableName: "ITP Database Backend"376 humanReadableDescription: "Enable Intelligent Tracking Prevention Database Backend"377 webcoreBinding: RuntimeEnabledFeatures378 defaultValue:379 WebKitLegacy:380 default: false381 WebKit:382 default: true383 384 372 KeygenElementEnabled: 385 373 type: bool -
trunk/Source/WebCore/ChangeLog
r267744 r267750 1 2020-09-29 Alex Christensen <achristensen@webkit.org> 2 3 Remove plist-based ResourceLoadStatistics storage, which has been replaced by database-based storage 4 https://bugs.webkit.org/show_bug.cgi?id=217063 5 6 Reviewed by John Wilander. 7 8 ResourceLoadStatistics was initially implemented using plists to store the persistent data on disk. 9 This caused some performance issues, so a sqlite database backend was implemented and transitioned to. 10 Now that the transition is complete, let's remove the old plist backend. 11 12 * page/RuntimeEnabledFeatures.h: 13 (WebCore::RuntimeEnabledFeatures::setIsITPDatabaseEnabled): Deleted. 14 (WebCore::RuntimeEnabledFeatures::isITPDatabaseEnabled const): Deleted. 15 1 16 2020-09-29 Chris Dumez <cdumez@apple.com> 2 17 -
trunk/Source/WebCore/page/RuntimeEnabledFeatures.h
r267311 r267750 100 100 bool itpDebugModeEnabled() const { return m_itpDebugMode; } 101 101 102 void setIsITPDatabaseEnabled(bool isEnabled) { m_isITPDatabaseEnabled = isEnabled; }103 bool isITPDatabaseEnabled() const { return m_isITPDatabaseEnabled; }104 105 102 void setRestrictedHTTPResponseAccess(bool isEnabled) { m_isRestrictedHTTPResponseAccess = isEnabled; } 106 103 bool restrictedHTTPResponseAccess() const { return m_isRestrictedHTTPResponseAccess; } … … 378 375 #endif 379 376 380 bool m_isITPDatabaseEnabled { true };381 382 377 #if HAVE(NSURLSESSION_WEBSOCKET) 383 378 bool m_isNSURLSessionWebSocketEnabled { false }; -
trunk/Source/WebKit/ChangeLog
r267744 r267750 1 2020-09-29 Alex Christensen <achristensen@webkit.org> 2 3 Remove plist-based ResourceLoadStatistics storage, which has been replaced by database-based storage 4 https://bugs.webkit.org/show_bug.cgi?id=217063 5 6 Reviewed by John Wilander. 7 8 * NetworkProcess/Classifier/ResourceLoadStatisticsDatabaseStore.h: 9 * NetworkProcess/Classifier/ResourceLoadStatisticsMemoryStore.cpp: 10 (WebKit::ResourceLoadStatisticsMemoryStore::setPersistentStorage): Deleted. 11 (WebKit::ResourceLoadStatisticsMemoryStore::syncStorageIfNeeded): Deleted. 12 (WebKit::ResourceLoadStatisticsMemoryStore::syncStorageImmediately): Deleted. 13 * NetworkProcess/Classifier/ResourceLoadStatisticsMemoryStore.h: 14 * NetworkProcess/Classifier/ResourceLoadStatisticsPersistentStorage.cpp: Removed. 15 * NetworkProcess/Classifier/ResourceLoadStatisticsPersistentStorage.h: Removed. 16 * NetworkProcess/Classifier/ResourceLoadStatisticsStore.cpp: 17 (WebKit::ResourceLoadStatisticsStore::processStatisticsAndDataRecords): 18 (WebKit::ResourceLoadStatisticsStore::grandfatherExistingWebsiteData): 19 * NetworkProcess/Classifier/ResourceLoadStatisticsStore.h: 20 * NetworkProcess/Classifier/WebResourceLoadStatisticsStore.cpp: 21 (WebKit::WebResourceLoadStatisticsStore::WebResourceLoadStatisticsStore): 22 (WebKit::WebResourceLoadStatisticsStore::~WebResourceLoadStatisticsStore): 23 (WebKit::WebResourceLoadStatisticsStore::didDestroyNetworkSession): 24 (WebKit::WebResourceLoadStatisticsStore::populateMemoryStoreFromDisk): 25 (WebKit::WebResourceLoadStatisticsStore::scheduleClearInMemoryAndPersistent): 26 (WebKit::WebResourceLoadStatisticsStore::flushAndDestroyPersistentStore): Deleted. 27 * NetworkProcess/Classifier/WebResourceLoadStatisticsStore.h: 28 * NetworkProcess/NetworkProcess.cpp: 29 (WebKit::NetworkProcess::didClose): 30 (WebKit::NetworkProcess::initializeNetworkProcess): 31 (WebKit::NetworkProcess::setUseITPDatabase): Deleted. 32 * NetworkProcess/NetworkProcess.h: 33 (WebKit::NetworkProcess::isITPDatabaseEnabled const): Deleted. 34 * NetworkProcess/NetworkProcess.messages.in: 35 * NetworkProcess/NetworkProcessCreationParameters.cpp: 36 (WebKit::NetworkProcessCreationParameters::encode const): 37 (WebKit::NetworkProcessCreationParameters::decode): 38 * NetworkProcess/NetworkProcessCreationParameters.h: 39 * NetworkProcess/NetworkSession.cpp: 40 (WebKit::NetworkSession::destroyResourceLoadStatistics): 41 (WebKit::NetworkSession::flushAndDestroyPersistentStore): Deleted. 42 * NetworkProcess/NetworkSession.h: 43 * Shared/WebPreferencesInternal.yaml: 44 * Sources.txt: 45 * SourcesCocoa.txt: 46 * UIProcess/API/C/WKPreferences.cpp: 47 (WKPreferencesSetIsITPDatabaseEnabled): Deleted. 48 (WKPreferencesGetIsITPDatabaseEnabled): Deleted. 49 * UIProcess/API/C/WKPreferencesRef.h: 50 * UIProcess/API/C/WKWebsiteDataStoreRef.cpp: 51 (WKWebsiteDataStoreStatisticsResetToConsistentState): 52 (WKWebsiteDataStoreSetUseITPDatabase): Deleted. 53 * UIProcess/API/C/WKWebsiteDataStoreRef.h: 54 * UIProcess/API/Cocoa/WKPreferences.mm: 55 (-[WKPreferences _isITPDatabaseEnabled]): Deleted. 56 * UIProcess/API/Cocoa/WKPreferencesPrivate.h: 57 * UIProcess/API/Cocoa/WKWebsiteDataStore.mm: 58 (-[WKWebsiteDataStore _setUseITPDatabase:completionHandler:]): Deleted. 59 * UIProcess/API/Cocoa/WKWebsiteDataStorePrivate.h: 60 * UIProcess/Cocoa/WebProcessPoolCocoa.mm: 61 (WebKit::WebProcessPool::platformInitializeNetworkProcess): 62 * UIProcess/Network/NetworkProcessProxy.cpp: 63 (WebKit::NetworkProcessProxy::setUseITPDatabase): Deleted. 64 * UIProcess/Network/NetworkProcessProxy.h: 65 * UIProcess/WebsiteData/WebsiteDataStore.cpp: 66 (WebKit::WebsiteDataStore::setUseITPDatabase): Deleted. 67 * UIProcess/WebsiteData/WebsiteDataStore.h: 68 * UIProcess/ios/ResourceLoadStatisticsPersistentStorageIOS.mm: Removed. 69 * WebKit.xcodeproj/project.pbxproj: 70 1 71 2020-09-29 Chris Dumez <cdumez@apple.com> 2 72 -
trunk/Source/WebKit/NetworkProcess/Classifier/ResourceLoadStatisticsDatabaseStore.h
r266237 r267750 94 94 95 95 void classifyPrevalentResources() override; 96 void syncStorageIfNeeded() override { };97 void syncStorageImmediately() override { };98 96 void runIncrementalVacuumCommand(); 99 97 -
trunk/Source/WebKit/NetworkProcess/Classifier/ResourceLoadStatisticsMemoryStore.cpp
r264650 r267750 33 33 #include "PluginProcessManager.h" 34 34 #include "PluginProcessProxy.h" 35 #include "ResourceLoadStatisticsPersistentStorage.h"36 35 #include "StorageAccessStatus.h" 37 36 #include "WebProcessProxy.h" … … 92 91 } 93 92 94 void ResourceLoadStatisticsMemoryStore::setPersistentStorage(ResourceLoadStatisticsPersistentStorage& persistentStorage)95 {96 ASSERT(!RunLoop::isMain());97 98 m_persistentStorage = makeWeakPtr(persistentStorage);99 }100 101 93 void ResourceLoadStatisticsMemoryStore::calculateAndSubmitTelemetry(NotifyPagesForTesting shouldNotifyPagesForTesting) const 102 94 { … … 238 230 } 239 231 } 240 }241 242 void ResourceLoadStatisticsMemoryStore::syncStorageIfNeeded()243 {244 ASSERT(!RunLoop::isMain());245 246 if (m_persistentStorage)247 m_persistentStorage->scheduleOrWriteMemoryStore(ResourceLoadStatisticsPersistentStorage::ForceImmediateWrite::No);248 }249 250 void ResourceLoadStatisticsMemoryStore::syncStorageImmediately()251 {252 ASSERT(!RunLoop::isMain());253 254 if (m_persistentStorage)255 m_persistentStorage->scheduleOrWriteMemoryStore(ResourceLoadStatisticsPersistentStorage::ForceImmediateWrite::Yes);256 232 } 257 233 -
trunk/Source/WebKit/NetworkProcess/Classifier/ResourceLoadStatisticsMemoryStore.h
r264356 r267750 45 45 namespace WebKit { 46 46 47 class ResourceLoadStatisticsPersistentStorage;48 49 47 // This is always constructed / used / destroyed on the WebResourceLoadStatisticsStore's statistics queue. 50 48 class ResourceLoadStatisticsMemoryStore final : public ResourceLoadStatisticsStore { 51 49 public: 52 50 ResourceLoadStatisticsMemoryStore(WebResourceLoadStatisticsStore&, WorkQueue&, ShouldIncludeLocalhost); 53 54 void setPersistentStorage(ResourceLoadStatisticsPersistentStorage&);55 51 56 52 void clear(CompletionHandler<void()>&&) override; … … 69 65 70 66 void classifyPrevalentResources() override; 71 void syncStorageIfNeeded() override;72 void syncStorageImmediately() override;73 67 74 68 void requestStorageAccessUnderOpener(DomainInNeedOfStorageAccess&&, WebCore::PageIdentifier, OpenerDomain&&) override; … … 147 141 Optional<WallTime> mostRecentUserInteractionTime(const ResourceLoadStatistics&); 148 142 149 WeakPtr<ResourceLoadStatisticsPersistentStorage> m_persistentStorage;150 143 HashMap<RegistrableDomain, ResourceLoadStatistics> m_resourceStatisticsMap; 151 144 Vector<OperatingDate> m_operatingDates; -
trunk/Source/WebKit/NetworkProcess/Classifier/ResourceLoadStatisticsStore.cpp
r266829 r267750 34 34 #include "PluginProcessManager.h" 35 35 #include "PluginProcessProxy.h" 36 #include "ResourceLoadStatisticsPersistentStorage.h"37 36 #include "StorageAccessStatus.h" 38 37 #include "WebProcessProxy.h" … … 249 248 250 249 pruneStatisticsIfNeeded(); 251 syncStorageIfNeeded();252 250 253 251 logTestingEvent("Storage Synced"_s); … … 276 274 weakThis->grandfatherDataForDomains(domainsWithWebsiteData); 277 275 weakThis->m_endOfGrandfatheringTimestamp = WallTime::now() + weakThis->m_parameters.grandfatheringTime; 278 weakThis->syncStorageImmediately();279 276 callback(); 280 277 weakThis->logTestingEvent("Grandfathered"_s); -
trunk/Source/WebKit/NetworkProcess/Classifier/ResourceLoadStatisticsStore.h
r266829 r267750 52 52 namespace WebKit { 53 53 54 class ResourceLoadStatisticsPersistentStorage;55 56 54 class OperatingDate { 57 55 public: … … 118 116 119 117 virtual void classifyPrevalentResources() = 0; 120 virtual void syncStorageIfNeeded() = 0;121 virtual void syncStorageImmediately() = 0;122 118 virtual void mergeStatistics(Vector<ResourceLoadStatistics>&&) = 0; 123 119 -
trunk/Source/WebKit/NetworkProcess/Classifier/WebResourceLoadStatisticsStore.cpp
r266829 r267750 36 36 #include "ResourceLoadStatisticsDatabaseStore.h" 37 37 #include "ResourceLoadStatisticsMemoryStore.h" 38 #include "ResourceLoadStatisticsPersistentStorage.h"39 38 #include "ShouldGrandfatherStatistics.h" 40 39 #include "StorageAccessStatus.h" … … 179 178 180 179 if (!resourceLoadStatisticsDirectory.isEmpty()) { 181 postTask([this, databaseEnabled = networkSession.networkProcess().isITPDatabaseEnabled(), resourceLoadStatisticsDirectory = resourceLoadStatisticsDirectory.isolatedCopy(), shouldIncludeLocalhost, sessionID = networkSession.sessionID()] { 182 if (databaseEnabled) { 183 m_statisticsStore = makeUnique<ResourceLoadStatisticsDatabaseStore>(*this, m_statisticsQueue, shouldIncludeLocalhost, resourceLoadStatisticsDirectory, sessionID); 184 185 auto memoryStore = makeUnique<ResourceLoadStatisticsMemoryStore>(*this, m_statisticsQueue, shouldIncludeLocalhost); 186 downcast<ResourceLoadStatisticsDatabaseStore>(*m_statisticsStore.get()).populateFromMemoryStore(*memoryStore); 187 188 auto legacyPlistFilePath = FileSystem::pathByAppendingComponent(resourceLoadStatisticsDirectory, "full_browsing_session_resourceLog.plist"); 189 if (FileSystem::fileExists(legacyPlistFilePath)) 190 FileSystem::deleteFile(legacyPlistFilePath); 191 192 } else { 193 m_statisticsStore = makeUnique<ResourceLoadStatisticsMemoryStore>(*this, m_statisticsQueue, shouldIncludeLocalhost); 194 m_persistentStorage = makeUnique<ResourceLoadStatisticsPersistentStorage>(downcast<ResourceLoadStatisticsMemoryStore>(*m_statisticsStore), m_statisticsQueue, resourceLoadStatisticsDirectory); 195 196 SQLiteFileSystem::deleteDatabaseFile(FileSystem::pathByAppendingComponent(resourceLoadStatisticsDirectory, "observations.db")); 197 } 180 postTask([this, resourceLoadStatisticsDirectory = resourceLoadStatisticsDirectory.isolatedCopy(), shouldIncludeLocalhost, sessionID = networkSession.sessionID()] { 181 m_statisticsStore = makeUnique<ResourceLoadStatisticsDatabaseStore>(*this, m_statisticsQueue, shouldIncludeLocalhost, resourceLoadStatisticsDirectory, sessionID); 182 183 auto memoryStore = makeUnique<ResourceLoadStatisticsMemoryStore>(*this, m_statisticsQueue, shouldIncludeLocalhost); 184 downcast<ResourceLoadStatisticsDatabaseStore>(*m_statisticsStore.get()).populateFromMemoryStore(*memoryStore); 185 186 auto legacyPlistFilePath = FileSystem::pathByAppendingComponent(resourceLoadStatisticsDirectory, "full_browsing_session_resourceLog.plist"); 187 if (FileSystem::fileExists(legacyPlistFilePath)) 188 FileSystem::deleteFile(legacyPlistFilePath); 198 189 199 190 m_statisticsStore->didCreateNetworkProcess(); … … 208 199 RELEASE_ASSERT(RunLoop::isMain()); 209 200 RELEASE_ASSERT(!m_statisticsStore); 210 RELEASE_ASSERT(!m_persistentStorage);211 201 } 212 202 … … 220 210 221 211 m_networkSession = nullptr; 222 flushAndDestroyPersistentStore([callbackAggregator] { });223 212 destroyResourceLoadStatisticsStore([callbackAggregator] { }); 224 213 } … … 256 245 } 257 246 258 void WebResourceLoadStatisticsStore::flushAndDestroyPersistentStore(CompletionHandler<void()>&& completionHandler)259 {260 RELEASE_ASSERT(RunLoop::isMain());261 262 // Make sure we destroy the persistent store on the background queue and stay alive until it263 // is destroyed because it has a C++ reference to us.264 m_statisticsQueue->dispatch([this, protectedThis = makeRef(*this), completionHandler = WTFMove(completionHandler)] () mutable {265 m_persistentStorage = nullptr;266 RunLoop::main().dispatch(WTFMove(completionHandler));267 });268 }269 270 247 void WebResourceLoadStatisticsStore::populateMemoryStoreFromDisk(CompletionHandler<void()>&& completionHandler) 271 248 { … … 273 250 274 251 postTask([this, protectedThis = makeRef(*this), completionHandler = WTFMove(completionHandler)]() mutable { 275 if (m_persistentStorage) 276 m_persistentStorage->populateMemoryStoreFromDisk([protectedThis = WTFMove(protectedThis), completionHandler = WTFMove(completionHandler)]() mutable { 277 postTaskReply(WTFMove(completionHandler)); 278 }); 279 else if (m_statisticsStore && is<ResourceLoadStatisticsDatabaseStore>(*m_statisticsStore)) { 252 if (m_statisticsStore && is<ResourceLoadStatisticsDatabaseStore>(*m_statisticsStore)) { 280 253 auto& databaseStore = downcast<ResourceLoadStatisticsDatabaseStore>(*m_statisticsStore); 281 254 if (databaseStore.isNewResourceLoadStatisticsDatabaseFile()) { … … 1169 1142 ASSERT(RunLoop::isMain()); 1170 1143 postTask([this, protectedThis = makeRef(*this), shouldGrandfather, completionHandler = WTFMove(completionHandler)]() mutable { 1171 if (m_persistentStorage)1172 m_persistentStorage->clear();1173 1174 1144 if (!m_statisticsStore) { 1175 1145 if (shouldGrandfather == ShouldGrandfatherStatistics::Yes) -
trunk/Source/WebKit/NetworkProcess/Classifier/WebResourceLoadStatisticsStore.h
r266829 r267750 64 64 class NetworkSession; 65 65 class ResourceLoadStatisticsStore; 66 class ResourceLoadStatisticsPersistentStorage;67 66 class WebFrameProxy; 68 67 class WebProcessProxy; … … 303 302 bool isEphemeral() const { return m_isEphemeral == WebCore::ResourceLoadStatistics::IsEphemeral::Yes; }; 304 303 void insertExpiredStatisticForTesting(const RegistrableDomain&, bool hadUserInteraction, bool isScheduledForAllButCookieDataRemoval, bool isPrevalent, CompletionHandler<void()>&&); 305 void flushAndDestroyPersistentStore(CompletionHandler<void()>&&);306 304 307 305 private: … … 329 327 Ref<WTF::WorkQueue> m_statisticsQueue; 330 328 std::unique_ptr<ResourceLoadStatisticsStore> m_statisticsStore; 331 std::unique_ptr<ResourceLoadStatisticsPersistentStorage> m_persistentStorage;332 329 333 330 RunLoop::Timer<WebResourceLoadStatisticsStore> m_dailyTasksTimer; -
trunk/Source/WebKit/NetworkProcess/NetworkProcess.cpp
r267618 r267750 270 270 }); 271 271 272 // Make sure we flush all cookies and resource load statistics to disk before exiting. 273 #if ENABLE(RESOURCE_LOAD_STATISTICS) 274 forEachNetworkSession([&] (auto& networkSession) { 275 networkSession.flushAndDestroyPersistentStore([callbackAggregator] { }); 276 }); 277 #endif 272 // Make sure we flush all cookies to disk before exiting. 278 273 forEachNetworkSession([&] (auto& networkSession) { 279 274 platformFlushCookies(networkSession.sessionID(), [callbackAggregator] { }); … … 341 336 342 337 setCacheModel(parameters.cacheModel); 343 344 #if ENABLE(RESOURCE_LOAD_STATISTICS)345 m_isITPDatabaseEnabled = parameters.shouldEnableITPDatabase;346 #endif347 338 348 339 setAdClickAttributionDebugMode(parameters.enableAdClickAttributionDebugMode); … … 676 667 resourceLoadStatistics->setGrandfathered(domain, isGrandfathered, WTFMove(completionHandler)); 677 668 else 678 completionHandler();679 } else {680 ASSERT_NOT_REACHED();681 completionHandler();682 }683 }684 685 void NetworkProcess::setUseITPDatabase(PAL::SessionID sessionID, bool value, CompletionHandler<void()>&& completionHandler)686 {687 if (auto* networkSession = this->networkSession(sessionID)) {688 if (m_isITPDatabaseEnabled != value) {689 m_isITPDatabaseEnabled = value;690 networkSession->recreateResourceLoadStatisticStore(WTFMove(completionHandler));691 } else692 669 completionHandler(); 693 670 } else { -
trunk/Source/WebKit/NetworkProcess/NetworkProcess.h
r267618 r267750 221 221 void isRegisteredAsSubresourceUnder(PAL::SessionID, const SubResourceDomain&, const TopFrameDomain&, CompletionHandler<void(bool)>&&); 222 222 void setGrandfathered(PAL::SessionID, const RegistrableDomain&, bool isGrandfathered, CompletionHandler<void()>&&); 223 void setUseITPDatabase(PAL::SessionID, bool value, CompletionHandler<void()>&&);224 223 void setMaxStatisticsEntries(PAL::SessionID, uint64_t maximumEntryCount, CompletionHandler<void()>&&); 225 224 void setPrevalentResource(PAL::SessionID, const RegistrableDomain&, CompletionHandler<void()>&&); … … 270 269 void setAppBoundDomainsForResourceLoadStatistics(PAL::SessionID, HashSet<WebCore::RegistrableDomain>&&, CompletionHandler<void()>&&); 271 270 #endif 272 bool isITPDatabaseEnabled() const { return m_isITPDatabaseEnabled; }273 271 void setShouldDowngradeReferrerForTesting(bool, CompletionHandler<void()>&&); 274 272 void setThirdPartyCookieBlockingMode(PAL::SessionID, WebCore::ThirdPartyCookieBlockingMode, CompletionHandler<void()>&&); … … 583 581 std::unique_ptr<NetworkHTTPSUpgradeChecker> m_networkHTTPSUpgradeChecker; 584 582 #endif 585 586 #if ENABLE(RESOURCE_LOAD_STATISTICS)587 bool m_isITPDatabaseEnabled { false };588 #endif589 583 590 584 Lock m_sessionStorageQuotaManagersLock; -
trunk/Source/WebKit/NetworkProcess/NetworkProcess.messages.in
r267534 r267750 118 118 SetCacheMaxAgeCapForPrevalentResources(PAL::SessionID sessionID, Seconds seconds) -> () Async 119 119 SetGrandfathered(PAL::SessionID sessionID, WebCore::RegistrableDomain resourceDomain, bool isGrandfathered) -> () Async 120 SetUseITPDatabase(PAL::SessionID sessionID, bool value) -> () Async121 120 GetResourceLoadStatisticsDataSummary(PAL::SessionID sessionID) -> (Vector<WebKit::WebResourceLoadStatisticsStore::ThirdPartyData> thirdPartyData) Async 122 121 SetGrandfatheringTime(PAL::SessionID sessionID, Seconds seconds) -> () Async -
trunk/Source/WebKit/NetworkProcess/NetworkProcessCreationParameters.cpp
r267618 r267750 70 70 encoder << serviceWorkerRegistrationDirectory << serviceWorkerRegistrationDirectoryExtensionHandle << shouldDisableServiceWorkerProcessTerminationDelay; 71 71 #endif 72 encoder << shouldEnableITPDatabase;73 72 encoder << enableAdClickAttributionDebugMode; 74 73 } … … 151 150 #endif 152 151 153 if (!decoder.decode(result.shouldEnableITPDatabase))154 return false;155 156 152 if (!decoder.decode(result.enableAdClickAttributionDebugMode)) 157 153 return false; -
trunk/Source/WebKit/NetworkProcess/NetworkProcessCreationParameters.h
r267618 r267750 88 88 bool shouldDisableServiceWorkerProcessTerminationDelay { false }; 89 89 #endif 90 bool shouldEnableITPDatabase { false };91 90 bool enableAdClickAttributionDebugMode { false }; 92 91 }; -
trunk/Source/WebKit/NetworkProcess/NetworkSession.cpp
r267540 r267750 149 149 m_resourceLoadStatistics = nullptr; 150 150 } 151 152 void NetworkSession::flushAndDestroyPersistentStore(CompletionHandler<void()>&& completionHandler)153 {154 if (!m_resourceLoadStatistics)155 return completionHandler();156 157 m_resourceLoadStatistics->flushAndDestroyPersistentStore(WTFMove(completionHandler));158 }159 151 #endif 160 152 -
trunk/Source/WebKit/NetworkProcess/NetworkSession.h
r266829 r267750 112 112 void resetCNAMEDomainData(); 113 113 void destroyResourceLoadStatistics(CompletionHandler<void()>&&); 114 void flushAndDestroyPersistentStore(CompletionHandler<void()>&&);115 114 #endif 116 115 -
trunk/Source/WebKit/Shared/WebPreferencesInternal.yaml
r267597 r267750 154 154 webcoreName: experimentalPlugInSandboxProfilesEnabled 155 155 156 IsITPDatabaseEnabled:157 type: bool158 defaultValue: true159 humanReadableName: "ITP Database Backend"160 humanReadableDescription: "Enable Intelligent Tracking Prevention Database Backend"161 webcoreBinding: RuntimeEnabledFeatures162 163 156 ServiceWorkersEnabled: 164 157 type: bool -
trunk/Source/WebKit/Sources.txt
r266063 r267750 78 78 NetworkProcess/Classifier/ResourceLoadStatisticsDatabaseStore.cpp 79 79 NetworkProcess/Classifier/ResourceLoadStatisticsMemoryStore.cpp 80 NetworkProcess/Classifier/ResourceLoadStatisticsPersistentStorage.cpp81 80 NetworkProcess/Classifier/ResourceLoadStatisticsStore.cpp 82 81 -
trunk/Source/WebKit/SourcesCocoa.txt
r267602 r267750 448 448 UIProcess/ios/PageClientImplIOS.mm 449 449 UIProcess/ios/ProcessAssertionIOS.mm 450 UIProcess/ios/ResourceLoadStatisticsPersistentStorageIOS.mm451 450 UIProcess/ios/SmartMagnificationController.mm 452 451 UIProcess/ios/TextCheckerIOS.mm -
trunk/Source/WebKit/UIProcess/API/C/WKPreferences.cpp
r267311 r267750 126 126 } 127 127 128 void WKPreferencesSetIsITPDatabaseEnabled(WKPreferencesRef preferencesRef, bool isITPDatabaseEnabled)129 {130 toImpl(preferencesRef)->setIsITPDatabaseEnabled(isITPDatabaseEnabled);131 }132 133 bool WKPreferencesGetIsITPDatabaseEnabled(WKPreferencesRef preferencesRef)134 {135 return toImpl(preferencesRef)->isITPDatabaseEnabled();136 }137 138 128 void WKPreferencesSetOfflineWebApplicationCacheEnabled(WKPreferencesRef preferencesRef, bool offlineWebApplicationCacheEnabled) 139 129 { -
trunk/Source/WebKit/UIProcess/API/C/WKPreferencesRef.h
r267311 r267750 81 81 82 82 // Defaults to true. 83 WK_EXPORT void WKPreferencesSetIsITPDatabaseEnabled(WKPreferencesRef preferences, bool isITPDatabaseEnabled);84 WK_EXPORT bool WKPreferencesGetIsITPDatabaseEnabled(WKPreferencesRef preferences);85 86 // Defaults to true.87 83 WK_EXPORT void WKPreferencesSetOfflineWebApplicationCacheEnabled(WKPreferencesRef preferences, bool offlineWebApplicationCacheEnabled); 88 84 WK_EXPORT bool WKPreferencesGetOfflineWebApplicationCacheEnabled(WKPreferencesRef preferences); -
trunk/Source/WebKit/UIProcess/API/C/WKWebsiteDataStoreRef.cpp
r267618 r267750 375 375 } 376 376 377 void WKWebsiteDataStoreSetUseITPDatabase(WKWebsiteDataStoreRef dataStoreRef, bool value, void* context, WKWebsiteDataStoreSetUseITPDatabaseFunction completionHandler)378 {379 #if ENABLE(RESOURCE_LOAD_STATISTICS)380 WebKit::toImpl(dataStoreRef)->setUseITPDatabase(value, [context, completionHandler] {381 completionHandler(context);382 });383 #else384 completionHandler(context);385 #endif386 }387 388 377 void WKWebsiteDataStoreSetStatisticsSubframeUnderTopFrameOrigin(WKWebsiteDataStoreRef dataStoreRef, WKStringRef host, WKStringRef topFrameHost) 389 378 { … … 726 715 store.resetParametersToDefaultValues([callbackAggregator] { }); 727 716 store.scheduleClearInMemoryAndPersistent(WebKit::ShouldGrandfatherStatistics::No, [callbackAggregator] { }); 728 store.setUseITPDatabase(false, [callbackAggregator] { });729 717 #else 730 718 UNUSED_PARAM(dataStoreRef); -
trunk/Source/WebKit/UIProcess/API/C/WKWebsiteDataStoreRef.h
r267618 r267750 89 89 typedef void (*WKWebsiteDataStoreIsStatisticsGrandfatheredFunction)(bool isGrandfathered, void* functionContext); 90 90 WK_EXPORT void WKWebsiteDataStoreIsStatisticsGrandfathered(WKWebsiteDataStoreRef dataStoreRef, WKStringRef host, void* context, WKWebsiteDataStoreIsStatisticsGrandfatheredFunction callback); 91 typedef void (*WKWebsiteDataStoreSetUseITPDatabaseFunction)(void* functionContext);92 WK_EXPORT void WKWebsiteDataStoreSetUseITPDatabase(WKWebsiteDataStoreRef dataStoreRef, bool value, void* context, WKWebsiteDataStoreSetUseITPDatabaseFunction callback);93 91 WK_EXPORT void WKWebsiteDataStoreSetStatisticsSubframeUnderTopFrameOrigin(WKWebsiteDataStoreRef dataStoreRef, WKStringRef host, WKStringRef topFrameHost); 94 92 WK_EXPORT void WKWebsiteDataStoreSetStatisticsSubresourceUnderTopFrameOrigin(WKWebsiteDataStoreRef dataStoreRef, WKStringRef host, WKStringRef topFrameHost); -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKPreferences.mm
r267188 r267750 919 919 } 920 920 921 - (BOOL)_isITPDatabaseEnabled922 {923 return _preferences->isITPDatabaseEnabled();924 }925 926 921 - (BOOL)_serviceWorkerEntitlementDisabledForTesting 927 922 { -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKPreferencesPrivate.h
r267188 r267750 161 161 @property (nonatomic, setter=_setAcceleratedCompositingEnabled:) BOOL _acceleratedCompositingEnabled WK_API_AVAILABLE(macos(10.13.4), ios(WK_IOS_TBA)); 162 162 @property (nonatomic, setter=_setRequestAnimationFrameEnabled:) BOOL _requestAnimationFrameEnabled WK_API_AVAILABLE(macos(WK_MAC_TBA), ios(WK_IOS_TBA)); 163 @property (nonatomic, readonly) BOOL _isITPDatabaseEnabled WK_API_AVAILABLE(macos(WK_MAC_TBA), ios(WK_IOS_TBA));164 163 @property (nonatomic, setter=_setServiceWorkerEntitlementDisabledForTesting:) BOOL _serviceWorkerEntitlementDisabledForTesting WK_API_AVAILABLE(macos(WK_MAC_TBA), ios(WK_IOS_TBA)); 165 164 @property (nonatomic, setter=_setAccessibilityIsolatedTreeEnabled:) BOOL _accessibilityIsolatedTreeEnabled WK_API_AVAILABLE(macos(10.16)); -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKWebsiteDataStore.mm
r267618 r267750 305 305 } 306 306 307 - (void)_setUseITPDatabase:(BOOL)enabled completionHandler:(void (^)(void))completionHandler308 {309 #if ENABLE(RESOURCE_LOAD_STATISTICS)310 _websiteDataStore->setUseITPDatabase(enabled, [completionHandler = makeBlockPtr(completionHandler)]() {311 completionHandler();312 });313 #else314 completionHandler();315 #endif316 }317 318 307 - (BOOL)_resourceLoadStatisticsDebugMode 319 308 { -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKWebsiteDataStorePrivate.h
r267618 r267750 72 72 - (void)_getIsPrevalentDomain:(NSURL *)domain completionHandler:(void (^)(BOOL))completionHandler WK_API_AVAILABLE(macos(10.15), ios(13.0)); 73 73 - (void)_getResourceLoadStatisticsDataSummary:(void (^)(NSArray<_WKResourceLoadStatisticsThirdParty *> *))completionHandler WK_API_AVAILABLE(macos(WK_MAC_TBA), ios(WK_IOS_TBA)); 74 - (void)_setUseITPDatabase:(BOOL)enabled completionHandler:(void (^)(void))completionHandler WK_API_AVAILABLE(macos(WK_MAC_TBA), ios(WK_IOS_TBA));75 74 - (void)_clearPrevalentDomain:(NSURL *)domain completionHandler:(void (^)(void))completionHandler WK_API_AVAILABLE(macos(WK_MAC_TBA), ios(WK_IOS_TBA)); 76 75 - (void)_clearResourceLoadStatistics:(void (^)(void))completionHandler WK_API_AVAILABLE(macos(WK_MAC_TBA), ios(WK_IOS_TBA)); -
trunk/Source/WebKit/UIProcess/Cocoa/WebProcessPoolCocoa.mm
r267618 r267750 522 522 #endif 523 523 524 NSNumber *databaseEnabledValue = [defaults objectForKey:[NSString stringWithFormat:@"InternalDebug%@", WebPreferencesKey::isITPDatabaseEnabledKey().createCFString().get()]];525 if (databaseEnabledValue)526 parameters.shouldEnableITPDatabase = databaseEnabledValue.boolValue;527 else528 parameters.shouldEnableITPDatabase = m_defaultPageGroup->preferences().isITPDatabaseEnabled();529 530 524 parameters.enableAdClickAttributionDebugMode = [defaults boolForKey:[NSString stringWithFormat:@"Experimental%@", WebPreferencesKey::adClickAttributionDebugModeEnabledKey().createCFString().get()]]; 531 525 -
trunk/Source/WebKit/UIProcess/Network/NetworkProcessProxy.cpp
r267618 r267750 853 853 } 854 854 855 void NetworkProcessProxy::setUseITPDatabase(PAL::SessionID sessionID, bool value, CompletionHandler<void()>&& completionHandler)856 {857 sendWithAsyncReply(Messages::NetworkProcess::SetUseITPDatabase(sessionID, value), [completionHandler = WTFMove(completionHandler)]() mutable {858 completionHandler();859 });860 }861 862 855 void NetworkProcessProxy::requestStorageAccessConfirm(WebPageProxyIdentifier pageID, FrameIdentifier frameID, const RegistrableDomain& subFrameDomain, const RegistrableDomain& topFrameDomain, CompletionHandler<void(bool)>&& completionHandler) 863 856 { -
trunk/Source/WebKit/UIProcess/Network/NetworkProcessProxy.h
r267618 r267750 143 143 void setCacheMaxAgeCap(PAL::SessionID, Seconds, CompletionHandler<void()>&&); 144 144 void setGrandfathered(PAL::SessionID, const RegistrableDomain&, bool isGrandfathered, CompletionHandler<void()>&&); 145 void setUseITPDatabase(PAL::SessionID, bool value, CompletionHandler<void()>&&);146 145 void setNotifyPagesWhenDataRecordsWereScanned(PAL::SessionID, bool, CompletionHandler<void()>&&); 147 146 void setIsRunningResourceLoadStatisticsTest(PAL::SessionID, bool, CompletionHandler<void()>&&); -
trunk/Source/WebKit/UIProcess/WebsiteData/WebsiteDataStore.cpp
r267618 r267750 1816 1816 } 1817 1817 1818 void WebsiteDataStore::setUseITPDatabase(bool value, CompletionHandler<void()>&& completionHandler)1819 {1820 ASSERT(RunLoop::isMain());1821 1822 auto callbackAggregator = CallbackAggregator::create(WTFMove(completionHandler));1823 1824 for (auto& processPool : processPools()) {1825 if (auto* process = processPool->networkProcess())1826 process->setUseITPDatabase(m_sessionID, value, [callbackAggregator] { });1827 }1828 }1829 1830 1818 void WebsiteDataStore::setCrossSiteLoadWithLinkDecorationForTesting(const URL& fromURL, const URL& toURL, CompletionHandler<void()>&& completionHandler) 1831 1819 { -
trunk/Source/WebKit/UIProcess/WebsiteData/WebsiteDataStore.h
r267618 r267750 174 174 void setGrandfathered(const URL&, bool, CompletionHandler<void()>&&); 175 175 void isGrandfathered(const URL&, CompletionHandler<void(bool)>&&); 176 void setUseITPDatabase(bool, CompletionHandler<void()>&&);177 176 void setGrandfatheringTime(Seconds, CompletionHandler<void()>&&); 178 177 void setLastSeen(const URL&, Seconds, CompletionHandler<void()>&&); -
trunk/Source/WebKit/UIProcess/soup/WebProcessPoolSoup.cpp
r267618 r267750 48 48 parameters.cookieAcceptPolicy = m_initialHTTPCookieAcceptPolicy; 49 49 parameters.languages = userPreferredLanguages(); 50 parameters.shouldEnableITPDatabase = true;51 50 } 52 51 -
trunk/Source/WebKit/WebKit.xcodeproj/project.pbxproj
r267602 r267750 1247 1247 7AFBD36321E50F39005DBACB /* WebResourceLoadStatisticsStore.h in Headers */ = {isa = PBXBuildFile; fileRef = 7AFBD36221E50F39005DBACB /* WebResourceLoadStatisticsStore.h */; }; 1248 1248 7AFBD36721E51BAB005DBACB /* ResourceLoadStatisticsMemoryStore.h in Headers */ = {isa = PBXBuildFile; fileRef = 7AFBD36521E51BAB005DBACB /* ResourceLoadStatisticsMemoryStore.h */; }; 1249 7AFBD36A21E542F1005DBACB /* ResourceLoadStatisticsPersistentStorage.h in Headers */ = {isa = PBXBuildFile; fileRef = 7AFBD36821E542E8005DBACB /* ResourceLoadStatisticsPersistentStorage.h */; };1250 1249 7AFBD36F21E546F8005DBACB /* PersistencyUtils.h in Headers */ = {isa = PBXBuildFile; fileRef = 7AFBD36D21E546E3005DBACB /* PersistencyUtils.h */; }; 1251 1250 7C065F2C1C8CD95F00C2D950 /* WebUserContentControllerDataTypes.h in Headers */ = {isa = PBXBuildFile; fileRef = 7C065F2A1C8CD95F00C2D950 /* WebUserContentControllerDataTypes.h */; }; … … 3813 3812 51E351C9180F2CCC00E53BE9 /* IDBUtilities.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IDBUtilities.h; sourceTree = "<group>"; }; 3814 3813 51E399051D6F54C5009C8831 /* UIGamepadProviderCocoa.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = UIGamepadProviderCocoa.mm; sourceTree = "<group>"; }; 3815 51E6C15F1F29355100FD3437 /* ResourceLoadStatisticsPersistentStorageIOS.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; name = ResourceLoadStatisticsPersistentStorageIOS.mm; path = ios/ResourceLoadStatisticsPersistentStorageIOS.mm; sourceTree = "<group>"; };3816 3814 51E8B68D1E712873001B7132 /* WebURLSchemeTask.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WebURLSchemeTask.cpp; sourceTree = "<group>"; }; 3817 3815 51E949961D761CC700EC9EB9 /* UIGamepadProviderIOS.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = UIGamepadProviderIOS.mm; sourceTree = "<group>"; }; … … 4195 4193 7AFBD36421E51BAB005DBACB /* ResourceLoadStatisticsMemoryStore.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = ResourceLoadStatisticsMemoryStore.cpp; path = Classifier/ResourceLoadStatisticsMemoryStore.cpp; sourceTree = "<group>"; }; 4196 4194 7AFBD36521E51BAB005DBACB /* ResourceLoadStatisticsMemoryStore.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ResourceLoadStatisticsMemoryStore.h; path = Classifier/ResourceLoadStatisticsMemoryStore.h; sourceTree = "<group>"; }; 4197 7AFBD36821E542E8005DBACB /* ResourceLoadStatisticsPersistentStorage.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = ResourceLoadStatisticsPersistentStorage.h; path = Classifier/ResourceLoadStatisticsPersistentStorage.h; sourceTree = "<group>"; };4198 7AFBD36921E542E8005DBACB /* ResourceLoadStatisticsPersistentStorage.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = ResourceLoadStatisticsPersistentStorage.cpp; path = Classifier/ResourceLoadStatisticsPersistentStorage.cpp; sourceTree = "<group>"; };4199 4195 7AFBD36B21E54544005DBACB /* WebResourceLoadStatisticsTelemetry.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = WebResourceLoadStatisticsTelemetry.h; path = Classifier/WebResourceLoadStatisticsTelemetry.h; sourceTree = "<group>"; }; 4200 4196 7AFBD36C21E54544005DBACB /* WebResourceLoadStatisticsTelemetry.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = WebResourceLoadStatisticsTelemetry.cpp; path = Classifier/WebResourceLoadStatisticsTelemetry.cpp; sourceTree = "<group>"; }; … … 6390 6386 7A78FF2E224191750096483E /* WKStorageAccessAlert.h */, 6391 6387 7A78FF2F224191760096483E /* WKStorageAccessAlert.mm */, 6392 4147DC682519E29D00214EE7 /* WKUserMediaCaptureAccessAlert.h */,6393 4147DC672519E29D00214EE7 /* WKUserMediaCaptureAccessAlert.mm */,6394 6388 2D7AAFD218C8640600A7ACD4 /* WKWebViewContentProvider.h */, 6395 6389 2DC6D9C118C44A610043BAD4 /* WKWebViewContentProviderRegistry.h */, … … 7014 7008 0FCB4E3718BBE044000FCFC9 /* PageClientImplIOS.mm */, 7015 7009 86F9536218FF550B001DB2EF /* ProcessAssertionIOS.mm */, 7016 51E6C15F1F29355100FD3437 /* ResourceLoadStatisticsPersistentStorageIOS.mm */,7017 7010 2DAF06D418BD1A470081CEB1 /* SmartMagnificationController.h */, 7018 7011 2DAF06D818BD23BA0081CEB1 /* SmartMagnificationController.messages.in */, … … 8372 8365 7AFBD36421E51BAB005DBACB /* ResourceLoadStatisticsMemoryStore.cpp */, 8373 8366 7AFBD36521E51BAB005DBACB /* ResourceLoadStatisticsMemoryStore.h */, 8374 7AFBD36921E542E8005DBACB /* ResourceLoadStatisticsPersistentStorage.cpp */,8375 7AFBD36821E542E8005DBACB /* ResourceLoadStatisticsPersistentStorage.h */,8376 8367 7ACE82E8221CAE07000DA94C /* ResourceLoadStatisticsStore.cpp */, 8377 8368 7ACE82E7221CAE06000DA94C /* ResourceLoadStatisticsStore.h */, … … 11126 11117 6BE969CB1E54D4CF008B7483 /* ResourceLoadStatisticsClassifierCocoa.h in Headers */, 11127 11118 7AFBD36721E51BAB005DBACB /* ResourceLoadStatisticsMemoryStore.h in Headers */, 11128 7AFBD36A21E542F1005DBACB /* ResourceLoadStatisticsPersistentStorage.h in Headers */,11129 11119 1A30066E1110F4F70031937C /* ResponsivenessTimer.h in Headers */, 11130 11120 410482CE1DDD324F00F006D0 /* RTCNetwork.h in Headers */, … … 13129 13119 7A78FF332241919B0096483E /* WKStorageAccessAlert.mm in Sources */, 13130 13120 CE212160240EE571006ED443 /* WKTextPlaceholder.mm in Sources */, 13131 4147DC692519EC3300214EE7 /* WKUserMediaCaptureAccessAlert.mm in Sources */,13132 13121 C14D306924B79BE000480387 /* XPCEndpoint.mm in Sources */, 13133 13122 C14D306A24B79BE400480387 /* XPCEndpointClient.mm in Sources */, -
trunk/Tools/ChangeLog
r267743 r267750 1 2020-09-29 Alex Christensen <achristensen@webkit.org> 2 3 Remove plist-based ResourceLoadStatistics storage, which has been replaced by database-based storage 4 https://bugs.webkit.org/show_bug.cgi?id=217063 5 6 Reviewed by John Wilander. 7 8 These three tests API tests have been removed: 9 10 ResourceLoadStatistics.ChildProcessesNotLaunched 11 ResourceLoadStatistics.GrandfatherCallback 12 ResourceLoadStatistics.ShouldNotGrandfatherOnStartup 13 14 Each of those tests has a corresponding test that ends with "Database" that tests the database backend, 15 so the only test coverage loss was of the code that was removed. 16 17 * TestWebKitAPI/Tests/WebKitCocoa/ResourceLoadStatistics.mm: 18 (ensureITPFileIsCreated): 19 (TEST): 20 (isITPDatabaseEnabled): Deleted. 21 * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl: 22 * WebKitTestRunner/InjectedBundle/TestRunner.cpp: 23 (WTR::TestRunner::setUseITPDatabase): Deleted. 24 * WebKitTestRunner/InjectedBundle/TestRunner.h: 25 * WebKitTestRunner/TestController.cpp: 26 (WTR::TestController::setUseITPDatabase): Deleted. 27 * WebKitTestRunner/TestController.h: 28 * WebKitTestRunner/TestInvocation.cpp: 29 (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle): 30 1 31 2020-09-29 Jonathan Bedard <jbedard@apple.com> 2 32 -
trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/ResourceLoadStatistics.mm
r267618 r267750 70 70 @end 71 71 72 bool isITPDatabaseEnabled()73 {74 NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];75 auto configuration = adoptNS([[WKWebViewConfiguration alloc] init]);76 auto defaultDatabaseEnabled = [configuration preferences]._isITPDatabaseEnabled;77 78 NSNumber *databaseEnabledValue = [defaults objectForKey:@"InternalDebugIsITPDatabaseEnabled"];79 if (databaseEnabledValue)80 return databaseEnabledValue.boolValue;81 82 return defaultDatabaseEnabled;83 }84 85 72 static void ensureITPFileIsCreated() 86 73 { 87 static bool doneFlag;88 74 auto *dataStore = [WKWebsiteDataStore defaultDataStore]; 89 75 auto webView = adoptNS([[WKWebView alloc] initWithFrame:NSMakeRect(0, 0, 800, 600)]); 90 76 [dataStore _setResourceLoadStatisticsEnabled:YES]; 91 77 [webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"about:blank"]]]; 92 [dataStore _setUseITPDatabase:true completionHandler: ^(void) {93 doneFlag = true;94 }];95 TestWebKitAPI::Util::run(&doneFlag);96 78 [dataStore _setResourceLoadStatisticsEnabled:NO]; 97 79 } 98 80 99 TEST(ResourceLoadStatistics, GrandfatherCallback )81 TEST(ResourceLoadStatistics, GrandfatherCallbackDatabase) 100 82 { 101 83 auto *dataStore = [WKWebsiteDataStore defaultDataStore]; 102 84 103 85 NSURL *statisticsDirectoryURL = [NSURL fileURLWithPath:[@"~/Library/WebKit/com.apple.WebKit.TestWebKitAPI/WebsiteData/ResourceLoadStatistics" stringByExpandingTildeInPath] isDirectory:YES]; 104 NSURL *fileURL = [statisticsDirectoryURL URLByAppendingPathComponent:@" full_browsing_session_resourceLog.plist"];86 NSURL *fileURL = [statisticsDirectoryURL URLByAppendingPathComponent:@"observations.db"]; 105 87 [[NSFileManager defaultManager] removeItemAtURL:fileURL error:nil]; 106 88 [[NSFileManager defaultManager] removeItemAtURL:statisticsDirectoryURL error:nil]; 107 89 EXPECT_FALSE([[NSFileManager defaultManager] fileExistsAtPath:statisticsDirectoryURL.path]); 108 90 91 static bool grandfatheredFlag; 109 92 static bool doneFlag; 110 static bool grandfatheredFlag;111 93 112 94 [dataStore _setResourceLoadStatisticsTestingCallback:^(WKWebsiteDataStore *, NSString *message) { 113 // Only if the database store is not default-enabled do we need to check that this first message is correct. 114 if (!isITPDatabaseEnabled()) 115 ASSERT_TRUE([message isEqualToString:@"Grandfathered"]); 95 ASSERT_TRUE([message isEqualToString:@"Grandfathered"]); 116 96 grandfatheredFlag = true; 117 97 }]; 118 98 119 // We need an active NetworkProcess to perform ResourceLoadStatistics operations.120 99 auto webView = adoptNS([[WKWebView alloc] initWithFrame:NSMakeRect(0, 0, 800, 600)]); 121 100 [dataStore _setResourceLoadStatisticsEnabled:YES]; 122 101 [webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"about:blank"]]]; 123 124 if (isITPDatabaseEnabled()) {125 TestWebKitAPI::Util::run(&grandfatheredFlag);126 127 // Since the database store is enabled, we need to disable it to test this functionality with the plist.128 // We already have a NetworkProcess up and running with ITP enabled. We now make another call initializing129 // the memory store and testing grandfathering.130 grandfatheredFlag = false;131 [dataStore _setResourceLoadStatisticsTestingCallback:^(WKWebsiteDataStore *, NSString *message) {132 ASSERT_TRUE([message isEqualToString:@"Grandfathered"]);133 grandfatheredFlag = true;134 }];135 136 [dataStore _setUseITPDatabase:false completionHandler: ^(void) {137 doneFlag = true;138 }];139 140 TestWebKitAPI::Util::run(&doneFlag);141 }142 102 143 103 TestWebKitAPI::Util::run(&grandfatheredFlag); … … 161 121 162 122 // The website data store remove should have completed, but since we removed all of the data types that are monitored by resource load statistics, 163 // no grandfathering call should have been made. 123 // no grandfathering call should have been made. Note that the database file will not be deleted like in the persistent storage case, only cleared. 164 124 EXPECT_FALSE(grandfatheredFlag); 165 EXPECT_FALSE([[NSFileManager defaultManager] fileExistsAtPath:fileURL.path]);166 125 167 126 doneFlag = false; … … 174 133 TestWebKitAPI::Util::run(&grandfatheredFlag); 175 134 TestWebKitAPI::Util::run(&doneFlag); 176 177 // Spin the runloop until the resource load statistics file has written to disk. 178 // If the test enters a spin loop here, it has failed. 179 while (true) { 180 if ([[NSFileManager defaultManager] fileExistsAtPath:fileURL.path]) 181 break; 182 TestWebKitAPI::Util::spinRunLoop(1); 183 } 184 } 185 186 TEST(ResourceLoadStatistics, GrandfatherCallbackDatabase) 135 } 136 137 TEST(ResourceLoadStatistics, ShouldNotGrandfatherOnStartupDatabase) 187 138 { 188 139 auto *dataStore = [WKWebsiteDataStore defaultDataStore]; 189 140 190 NSURL *statisticsDirectoryURL = [NSURL fileURLWithPath:[@"~/Library/WebKit/com.apple.WebKit.TestWebKitAPI/WebsiteData/ResourceLoadStatistics" stringByExpandingTildeInPath] isDirectory:YES]; 191 NSURL *fileURL = [statisticsDirectoryURL URLByAppendingPathComponent:@"observations.db"]; 192 [[NSFileManager defaultManager] removeItemAtURL:fileURL error:nil]; 193 [[NSFileManager defaultManager] removeItemAtURL:statisticsDirectoryURL error:nil]; 194 EXPECT_FALSE([[NSFileManager defaultManager] fileExistsAtPath:statisticsDirectoryURL.path]); 195 196 static bool grandfatheredFlag; 197 static bool doneFlag; 141 ensureITPFileIsCreated(); 142 143 __block bool callbackFlag = false; 198 144 199 145 [dataStore _setResourceLoadStatisticsTestingCallback:^(WKWebsiteDataStore *, NSString *message) { 200 // Only if the database store is default-enabled do we need to check that this first message is correct. 201 if (isITPDatabaseEnabled()) 202 ASSERT_TRUE([message isEqualToString:@"Grandfathered"]); 203 grandfatheredFlag = true; 204 }]; 205 206 auto webView = adoptNS([[WKWebView alloc] initWithFrame:NSMakeRect(0, 0, 800, 600)]); 207 [dataStore _setResourceLoadStatisticsEnabled:YES]; 208 [webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"about:blank"]]]; 209 210 if (!isITPDatabaseEnabled()) { 211 TestWebKitAPI::Util::run(&grandfatheredFlag); 212 213 // Since the database store is not enabled, we need to update the store to use a database instead of a plist for this test. 214 // We already have a NetworkProcess up and running with ITP enabled. We now make another call initializing 215 // the database store and testing grandfathering. 216 grandfatheredFlag = false; 217 [dataStore _setResourceLoadStatisticsTestingCallback:^(WKWebsiteDataStore *, NSString *message) { 218 ASSERT_TRUE([message isEqualToString:@"Grandfathered"]); 219 grandfatheredFlag = true; 220 }]; 221 222 [dataStore _setUseITPDatabase:true completionHandler: ^(void) { 223 doneFlag = true; 224 }]; 225 226 TestWebKitAPI::Util::run(&doneFlag); 227 } 228 229 TestWebKitAPI::Util::run(&grandfatheredFlag); 230 231 // Spin the runloop until the resource load statistics file has written to disk. 232 // If the test enters a spin loop here, it has failed. 233 while (true) { 234 if ([[NSFileManager defaultManager] fileExistsAtPath:fileURL.path]) 235 break; 236 TestWebKitAPI::Util::spinRunLoop(1); 237 } 238 239 grandfatheredFlag = false; 240 doneFlag = false; 241 [dataStore removeDataOfTypes:[WKWebsiteDataStore _allWebsiteDataTypesIncludingPrivate] modifiedSince:[NSDate distantPast] completionHandler:^ { 242 doneFlag = true; 243 }]; 244 245 TestWebKitAPI::Util::run(&doneFlag); 246 TestWebKitAPI::Util::spinRunLoop(10); 247 248 // The website data store remove should have completed, but since we removed all of the data types that are monitored by resource load statistics, 249 // no grandfathering call should have been made. Note that the database file will not be deleted like in the persistent storage case, only cleared. 250 EXPECT_FALSE(grandfatheredFlag); 251 252 doneFlag = false; 253 [dataStore removeDataOfTypes:[NSSet setWithObjects:WKWebsiteDataTypeCookies, _WKWebsiteDataTypeResourceLoadStatistics, nil] modifiedSince:[NSDate distantPast] completionHandler:^ { 254 doneFlag = true; 255 }]; 256 257 // Since we did not remove every data type covered by resource load statistics, we do expect that grandfathering took place again. 258 // If the test hangs waiting on either of these conditions, it has failed. 259 TestWebKitAPI::Util::run(&grandfatheredFlag); 260 TestWebKitAPI::Util::run(&doneFlag); 261 } 262 263 TEST(ResourceLoadStatistics, ShouldNotGrandfatherOnStartup) 264 { 265 auto *dataStore = [WKWebsiteDataStore defaultDataStore]; 266 267 NSURL *statisticsDirectoryURL = [NSURL fileURLWithPath:[@"~/Library/WebKit/com.apple.WebKit.TestWebKitAPI/WebsiteData/ResourceLoadStatistics" stringByExpandingTildeInPath] isDirectory:YES]; 268 NSURL *targetURL = [statisticsDirectoryURL URLByAppendingPathComponent:@"full_browsing_session_resourceLog.plist"]; 269 NSURL *testResourceURL = [[NSBundle mainBundle] URLForResource:@"EmptyGrandfatheredResourceLoadStatistics" withExtension:@"plist" subdirectory:@"TestWebKitAPI.resources"]; 270 271 [[NSFileManager defaultManager] createDirectoryAtURL:statisticsDirectoryURL withIntermediateDirectories:YES attributes:nil error:nil]; 272 [[NSFileManager defaultManager] copyItemAtURL:testResourceURL toURL:targetURL error:nil]; 273 274 EXPECT_TRUE([[NSFileManager defaultManager] fileExistsAtPath:targetURL.path]); 275 276 static bool callbackFlag; 277 static bool doneFlag; 278 279 [dataStore _setResourceLoadStatisticsTestingCallback:^(WKWebsiteDataStore *, NSString *message) { 280 // Only if the database store is not default-enabled do we need to check that this first message is correct. 281 if (!isITPDatabaseEnabled()) 282 ASSERT_TRUE([message isEqualToString:@"PopulatedWithoutGrandfathering"]); 146 ASSERT_TRUE([message isEqualToString:@"PopulatedWithoutGrandfathering"]); 283 147 callbackFlag = true; 284 148 }]; … … 289 153 [webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"about:blank"]]]; 290 154 291 if (isITPDatabaseEnabled()) {292 TestWebKitAPI::Util::run(&callbackFlag);293 294 // Since the database store is enabled, we need to disable it to test this functionality with the plist.295 // We already have a NetworkProcess up and running with ITP enabled. We now make another call initializing296 // the memory store and testing grandfathering.297 callbackFlag = false;298 [dataStore _setResourceLoadStatisticsTestingCallback:^(WKWebsiteDataStore *, NSString *message) {299 ASSERT_TRUE([message isEqualToString:@"PopulatedWithoutGrandfathering"]);300 callbackFlag = true;301 }];302 303 // Since the ITP Database is enabled, the plist file has been deleted. We need to create it again.304 [[NSFileManager defaultManager] createDirectoryAtURL:statisticsDirectoryURL withIntermediateDirectories:YES attributes:nil error:nil];305 [[NSFileManager defaultManager] copyItemAtURL:testResourceURL toURL:targetURL error:nil];306 EXPECT_TRUE([[NSFileManager defaultManager] fileExistsAtPath:targetURL.path]);307 308 [dataStore _setUseITPDatabase:false completionHandler: ^(void) {309 doneFlag = true;310 }];311 312 TestWebKitAPI::Util::run(&doneFlag);313 }314 315 155 TestWebKitAPI::Util::run(&callbackFlag); 316 156 } 317 157 318 TEST(ResourceLoadStatistics, ShouldNotGrandfatherOnStartupDatabase) 319 { 158 TEST(ResourceLoadStatistics, ChildProcessesNotLaunchedDatabase) 159 { 160 // Ensure the shared process pool exists so the data store operations we're about to do work with it. 161 WKProcessPool *sharedProcessPool = [WKProcessPool _sharedProcessPool]; 162 163 EXPECT_EQ((size_t)0, [sharedProcessPool _pluginProcessCount]); 164 320 165 auto *dataStore = [WKWebsiteDataStore defaultDataStore]; 321 166 167 NSURL *statisticsDirectoryURL = [NSURL fileURLWithPath:[@"~/Library/WebKit/com.apple.WebKit.TestWebKitAPI/WebsiteData/ResourceLoadStatistics" stringByExpandingTildeInPath] isDirectory:YES]; 168 NSURL *targetURL = [statisticsDirectoryURL URLByAppendingPathComponent:@"observations.db"]; 169 322 170 ensureITPFileIsCreated(); 323 171 324 static bool callbackFlag; 325 static bool doneFlag; 172 __block bool callbackFlag = false; 326 173 327 174 [dataStore _setResourceLoadStatisticsTestingCallback:^(WKWebsiteDataStore *, NSString *message) { 328 175 // Only if the database store is default-enabled do we need to check that this first message is correct. 329 if (isITPDatabaseEnabled()) 330 ASSERT_TRUE([message isEqualToString:@"PopulatedWithoutGrandfathering"]); 176 EXPECT_TRUE([message isEqualToString:@"PopulatedWithoutGrandfathering"]); 331 177 callbackFlag = true; 332 178 }]; … … 336 182 [dataStore _setResourceLoadStatisticsEnabled:YES]; 337 183 [webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"about:blank"]]]; 338 339 if (!isITPDatabaseEnabled()) {340 TestWebKitAPI::Util::run(&callbackFlag);341 342 // Since the database store is not enabled, we need to update the store to use a database instead of a plist for this test.343 // We already have a NetworkProcess up and running with ITP enabled. We now make another call initializing344 // the database store and testing grandfathering.345 callbackFlag = false;346 [dataStore _setResourceLoadStatisticsTestingCallback:^(WKWebsiteDataStore *, NSString *message) {347 ASSERT_TRUE([message isEqualToString:@"PopulatedWithoutGrandfathering"]);348 callbackFlag = true;349 }];350 351 ensureITPFileIsCreated();352 353 [dataStore _setUseITPDatabase:true completionHandler: ^(void) {354 doneFlag = true;355 }];356 357 TestWebKitAPI::Util::run(&doneFlag);358 }359 360 TestWebKitAPI::Util::run(&callbackFlag);361 }362 363 TEST(ResourceLoadStatistics, ChildProcessesNotLaunched)364 {365 // Ensure the shared process pool exists so the data store operations we're about to do work with it.366 WKProcessPool *sharedProcessPool = [WKProcessPool _sharedProcessPool];367 368 EXPECT_EQ((size_t)0, [sharedProcessPool _pluginProcessCount]);369 370 auto *dataStore = [WKWebsiteDataStore defaultDataStore];371 372 NSURL *statisticsDirectoryURL = [NSURL fileURLWithPath:[@"~/Library/WebKit/com.apple.WebKit.TestWebKitAPI/WebsiteData/ResourceLoadStatistics" stringByExpandingTildeInPath] isDirectory:YES];373 NSURL *targetURL = [statisticsDirectoryURL URLByAppendingPathComponent:@"full_browsing_session_resourceLog.plist"];374 NSURL *testResourceURL = [[NSBundle mainBundle] URLForResource:@"EmptyGrandfatheredResourceLoadStatistics" withExtension:@"plist" subdirectory:@"TestWebKitAPI.resources"];375 376 [[NSFileManager defaultManager] createDirectoryAtURL:statisticsDirectoryURL withIntermediateDirectories:YES attributes:nil error:nil];377 [[NSFileManager defaultManager] copyItemAtURL:testResourceURL toURL:targetURL error:nil];378 379 EXPECT_TRUE([[NSFileManager defaultManager] fileExistsAtPath:targetURL.path]);380 381 static bool callbackFlag;382 static bool doneFlag;383 [dataStore _setResourceLoadStatisticsTestingCallback:^(WKWebsiteDataStore *, NSString *message) {384 // Only if the database store is not default-enabled do we need to check that this first message is correct.385 if (!isITPDatabaseEnabled())386 EXPECT_TRUE([message isEqualToString:@"PopulatedWithoutGrandfathering"]);387 callbackFlag = true;388 }];389 390 // We need an active NetworkProcess to perform ResourceLoadStatistics operations.391 auto webView = adoptNS([[WKWebView alloc] initWithFrame:NSMakeRect(0, 0, 800, 600)]);392 [dataStore _setResourceLoadStatisticsEnabled:YES];393 [webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"about:blank"]]];394 395 if (isITPDatabaseEnabled()) {396 TestWebKitAPI::Util::run(&callbackFlag);397 398 // Since the database store is enabled, we need to disable it to test this functionality with the plist.399 // We already have a NetworkProcess up and running with ITP enabled. We now make another call initializing400 // the memory store and testing grandfathering.401 callbackFlag = false;402 [dataStore _setResourceLoadStatisticsTestingCallback:^(WKWebsiteDataStore *, NSString *message) {403 ASSERT_TRUE([message isEqualToString:@"PopulatedWithoutGrandfathering"]);404 callbackFlag = true;405 }];406 407 // Since the ITP Database is enabled, the plist file has been deleted. We need to create it again.408 [[NSFileManager defaultManager] createDirectoryAtURL:statisticsDirectoryURL withIntermediateDirectories:YES attributes:nil error:nil];409 [[NSFileManager defaultManager] copyItemAtURL:testResourceURL toURL:targetURL error:nil];410 EXPECT_TRUE([[NSFileManager defaultManager] fileExistsAtPath:targetURL.path]);411 412 [dataStore _setUseITPDatabase:false completionHandler: ^(void) {413 doneFlag = true;414 }];415 416 TestWebKitAPI::Util::run(&doneFlag);417 }418 419 TestWebKitAPI::Util::run(&callbackFlag);420 421 EXPECT_TRUE([[NSFileManager defaultManager] fileExistsAtPath:targetURL.path]);422 423 webView.clear();424 425 EXPECT_EQ((size_t)0, [sharedProcessPool _pluginProcessCount]);426 }427 428 TEST(ResourceLoadStatistics, ChildProcessesNotLaunchedDatabase)429 {430 // Ensure the shared process pool exists so the data store operations we're about to do work with it.431 WKProcessPool *sharedProcessPool = [WKProcessPool _sharedProcessPool];432 433 EXPECT_EQ((size_t)0, [sharedProcessPool _pluginProcessCount]);434 435 auto *dataStore = [WKWebsiteDataStore defaultDataStore];436 437 NSURL *statisticsDirectoryURL = [NSURL fileURLWithPath:[@"~/Library/WebKit/com.apple.WebKit.TestWebKitAPI/WebsiteData/ResourceLoadStatistics" stringByExpandingTildeInPath] isDirectory:YES];438 NSURL *targetURL = [statisticsDirectoryURL URLByAppendingPathComponent:@"observations.db"];439 440 ensureITPFileIsCreated();441 442 static bool callbackFlag;443 static bool doneFlag;444 445 [dataStore _setResourceLoadStatisticsTestingCallback:^(WKWebsiteDataStore *, NSString *message) {446 // Only if the database store is default-enabled do we need to check that this first message is correct.447 if (isITPDatabaseEnabled())448 EXPECT_TRUE([message isEqualToString:@"PopulatedWithoutGrandfathering"]);449 callbackFlag = true;450 }];451 452 // We need an active NetworkProcess to perform ResourceLoadStatistics operations.453 auto webView = adoptNS([[WKWebView alloc] initWithFrame:NSMakeRect(0, 0, 800, 600)]);454 [dataStore _setResourceLoadStatisticsEnabled:YES];455 [webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"about:blank"]]];456 457 if (!isITPDatabaseEnabled()) {458 TestWebKitAPI::Util::run(&callbackFlag);459 460 // Since the database store is not enabled, we need to update the store to use a database instead of a plist for this test.461 // We already have a NetworkProcess up and running with ITP enabled. We now make another call initializing462 // the database store and testing grandfathering.463 callbackFlag = false;464 [dataStore _setResourceLoadStatisticsTestingCallback:^(WKWebsiteDataStore *, NSString *message) {465 ASSERT_TRUE([message isEqualToString:@"PopulatedWithoutGrandfathering"]);466 callbackFlag = true;467 }];468 469 ensureITPFileIsCreated();470 471 [dataStore _setUseITPDatabase:true completionHandler: ^(void) {472 doneFlag = true;473 }];474 475 TestWebKitAPI::Util::run(&doneFlag);476 }477 184 478 185 TestWebKitAPI::Util::run(&callbackFlag); … … 970 677 [dataStore _setResourceLoadStatisticsEnabled:YES]; 971 678 972 static bool doneFlag = false; 973 [dataStore _setUseITPDatabase:false completionHandler: ^(void) { 974 doneFlag = true; 975 }]; 976 977 TestWebKitAPI::Util::run(&doneFlag); 978 979 doneFlag = false; 679 __block bool doneFlag = false; 980 680 [dataStore _clearResourceLoadStatistics:^(void) { 981 681 doneFlag = true; … … 1180 880 [dataStore _setResourceLoadStatisticsEnabled:YES]; 1181 881 1182 static bool doneFlag = false; 1183 [dataStore _setUseITPDatabase:true completionHandler: ^(void) { 1184 doneFlag = true; 1185 }]; 1186 1187 TestWebKitAPI::Util::run(&doneFlag); 1188 1189 doneFlag = false; 882 __block bool doneFlag = false; 1190 883 [dataStore _setThirdPartyCookieBlockingMode:true onlyOnSitesWithoutUserInteraction:false completionHandler: ^(void) { 1191 884 doneFlag = true; … … 1441 1134 [webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"about:blank"]]]; 1442 1135 1443 static bool doneFlag; 1444 [dataStore _setUseITPDatabase:true completionHandler: ^(void) { 1445 doneFlag = true; 1446 }]; 1447 1448 TestWebKitAPI::Util::run(&doneFlag); 1449 1136 __block bool doneFlag = false; 1450 1137 // Check that the pre-seeded data is in the new database after migrating. 1451 doneFlag = false;1452 1138 [dataStore _isRegisteredAsSubresourceUnderFirstParty:[NSURL URLWithString:@"http://apple.com"] thirdParty:[NSURL URLWithString:@"http://webkit.org"] completionHandler: ^(BOOL isRegistered) { 1453 1139 EXPECT_TRUE(isRegistered); … … 1530 1216 [webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"about:blank"]]]; 1531 1217 1532 static bool doneFlag; 1533 [dataStore _setUseITPDatabase:true completionHandler: ^(void) { 1534 doneFlag = true; 1535 }]; 1536 1537 TestWebKitAPI::Util::run(&doneFlag); 1538 1218 __block bool doneFlag = false; 1539 1219 // Since the database should not be deleted, the pre-seeded data should 1540 1220 // still be there after initializing ITP. 1541 doneFlag = false;1542 1221 [dataStore _isRegisteredAsSubresourceUnderFirstParty:[NSURL URLWithString:@"http://apple.com"] thirdParty:[NSURL URLWithString:@"http://webkit.org"] completionHandler: ^(BOOL isRegistered) { 1543 1222 EXPECT_TRUE(isRegistered); … … 1604 1283 [dataStore2 _setResourceLoadStatisticsEnabled:YES]; 1605 1284 1606 static bool doneFlag = false;1607 [dataStore1 _setUseITPDatabase:true completionHandler: ^(void) {1608 doneFlag = true;1609 }];1610 TestWebKitAPI::Util::run(&doneFlag);1611 1612 doneFlag = false;1613 [dataStore2 _setUseITPDatabase:true completionHandler: ^(void) {1614 doneFlag = true;1615 }];1616 TestWebKitAPI::Util::run(&doneFlag);1617 1618 1285 auto configuration1 = adoptNS([[WKWebViewConfiguration alloc] init]); 1619 1286 [configuration1 setProcessPool: sharedProcessPool]; … … 1633 1300 [webView2 _test_waitForDidFinishNavigation]; 1634 1301 1635 doneFlag = false;1302 __block bool doneFlag = false; 1636 1303 [sharedProcessPool _sendNetworkProcessPrepareToSuspend:^{ 1637 1304 doneFlag = true; -
trunk/Tools/WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl
r266311 r267750 318 318 undefined setStatisticsGrandfathered(DOMString hostName, boolean value); 319 319 boolean isStatisticsGrandfathered(DOMString hostName); 320 undefined setUseITPDatabase(boolean value);321 320 undefined setStatisticsSubframeUnderTopFrameOrigin(DOMString hostName, DOMString topFrameHostName); 322 321 undefined setStatisticsSubresourceUnderTopFrameOrigin(DOMString hostName, DOMString topFrameHostName); -
trunk/Tools/WebKitTestRunner/InjectedBundle/TestRunner.cpp
r266228 r267750 1919 1919 } 1920 1920 1921 void TestRunner::setUseITPDatabase(bool value)1922 {1923 WKRetainPtr<WKStringRef> messageName = adoptWK(WKStringCreateWithUTF8CString("SetUseITPDatabase"));1924 WKRetainPtr<WKBooleanRef> messageBody = adoptWK(WKBooleanCreate(value));1925 1926 WKBundlePostSynchronousMessage(InjectedBundle::singleton().bundle(), messageName.get(), messageBody.get(), nullptr);1927 }1928 1929 1921 bool TestRunner::isStatisticsGrandfathered(JSStringRef hostName) 1930 1922 { -
trunk/Tools/WebKitTestRunner/InjectedBundle/TestRunner.h
r266228 r267750 423 423 void setStatisticsGrandfathered(JSStringRef hostName, bool value); 424 424 bool isStatisticsGrandfathered(JSStringRef hostName); 425 void setUseITPDatabase(bool value);426 425 void setStatisticsSubframeUnderTopFrameOrigin(JSStringRef hostName, JSStringRef topFrameHostName); 427 426 void setStatisticsSubresourceUnderTopFrameOrigin(JSStringRef hostName, JSStringRef topFrameHostName); -
trunk/Tools/WebKitTestRunner/TestController.cpp
r267618 r267750 3658 3658 } 3659 3659 3660 void TestController::setUseITPDatabase(bool value)3661 {3662 ResourceStatisticsCallbackContext context(*this);3663 WKWebsiteDataStoreSetUseITPDatabase(websiteDataStore(), value, &context, resourceStatisticsVoidResultCallback);3664 runUntil(context.done, noTimeout);3665 }3666 3667 3660 void TestController::setStatisticsSubframeUnderTopFrameOrigin(WKStringRef host, WKStringRef topFrameHost) 3668 3661 { -
trunk/Tools/WebKitTestRunner/TestController.h
r266743 r267750 237 237 void setStatisticsGrandfathered(WKStringRef hostName, bool value); 238 238 bool isStatisticsGrandfathered(WKStringRef hostName); 239 void setUseITPDatabase(bool value);240 239 void setStatisticsSubframeUnderTopFrameOrigin(WKStringRef hostName, WKStringRef topFrameHostName); 241 240 void setStatisticsSubresourceUnderTopFrameOrigin(WKStringRef hostName, WKStringRef topFrameHostName); -
trunk/Tools/WebKitTestRunner/TestInvocation.cpp
r267030 r267750 1476 1476 return result; 1477 1477 } 1478 1479 if (WKStringIsEqualToUTF8CString(messageName, "SetUseITPDatabase")) {1480 ASSERT(WKGetTypeID(messageBody) == WKBooleanGetTypeID());1481 1482 WKBooleanRef value = static_cast<WKBooleanRef>(messageBody);1483 TestController::singleton().setUseITPDatabase(WKBooleanGetValue(value));1484 return nullptr;1485 }1486 1478 1487 1479 if (WKStringIsEqualToUTF8CString(messageName, "SetStatisticsSubframeUnderTopFrameOrigin")) {
Note:
See TracChangeset
for help on using the changeset viewer.