[webkit-changes] [WebKit/WebKit] 30e20b: [ITP Cleanup] Rename some resource load statistics...

Wenson Hsieh noreply at github.com
Fri Oct 28 12:31:17 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 30e20b03def3058764d0b1ee5431fbe1231ed2b7
      https://github.com/WebKit/WebKit/commit/30e20b03def3058764d0b1ee5431fbe1231ed2b7
  Author: Wenson Hsieh <wenson_hsieh at apple.com>
  Date:   2022-10-28 (Fri, 28 Oct 2022)

  Changed paths:
    M LayoutTests/http/tests/media/media-stream/enumerate-devices-source-id.html
    M LayoutTests/http/tests/navigation/statistics.html
    M LayoutTests/http/tests/referrer-policy-anchor/origin-when-cross-origin/cross-origin-http-http.html
    M LayoutTests/http/tests/referrer-policy-iframe/no-referrer-when-downgrade/cross-origin-http-http.html
    M LayoutTests/http/tests/referrer-policy-iframe/no-referrer-when-downgrade/cross-origin-http.https.html
    M LayoutTests/http/tests/referrer-policy-iframe/no-referrer-when-downgrade/same-origin.html
    M LayoutTests/http/tests/referrer-policy-iframe/no-referrer/cross-origin-http-http.html
    M LayoutTests/http/tests/referrer-policy-iframe/no-referrer/cross-origin-http.https.html
    M LayoutTests/http/tests/referrer-policy-iframe/no-referrer/same-origin.html
    M LayoutTests/http/tests/referrer-policy-iframe/origin-when-cross-origin/cross-origin-http-http.html
    M LayoutTests/http/tests/referrer-policy-iframe/origin-when-cross-origin/cross-origin-http.https.html
    M LayoutTests/http/tests/referrer-policy-iframe/origin-when-cross-origin/same-origin.html
    M LayoutTests/http/tests/referrer-policy-iframe/origin/cross-origin-http-http.html
    M LayoutTests/http/tests/referrer-policy-iframe/origin/cross-origin-http.https.html
    M LayoutTests/http/tests/referrer-policy-iframe/origin/same-origin.html
    M LayoutTests/http/tests/referrer-policy-iframe/same-origin/cross-origin-http-http.html
    M LayoutTests/http/tests/referrer-policy-iframe/same-origin/cross-origin-http.https.html
    M LayoutTests/http/tests/referrer-policy-iframe/same-origin/same-origin.html
    M LayoutTests/http/tests/referrer-policy-iframe/strict-origin-when-cross-origin/cross-origin-http-http.html
    M LayoutTests/http/tests/referrer-policy-iframe/strict-origin-when-cross-origin/cross-origin-http.https.html
    M LayoutTests/http/tests/referrer-policy-iframe/strict-origin-when-cross-origin/same-origin.html
    M LayoutTests/http/tests/referrer-policy-iframe/strict-origin/cross-origin-http-http.html
    M LayoutTests/http/tests/referrer-policy-iframe/strict-origin/cross-origin-http.https.html
    M LayoutTests/http/tests/referrer-policy-iframe/strict-origin/same-origin.html
    M LayoutTests/http/tests/referrer-policy-iframe/unsafe-url/cross-origin-http-http.html
    M LayoutTests/http/tests/referrer-policy-iframe/unsafe-url/cross-origin-http.https.html
    M LayoutTests/http/tests/referrer-policy-iframe/unsafe-url/same-origin.html
    M LayoutTests/http/tests/referrer-policy-img/no-referrer-when-downgrade/cross-origin-http-http.html
    M LayoutTests/http/tests/referrer-policy-img/no-referrer-when-downgrade/cross-origin-http.https.html
    M LayoutTests/http/tests/referrer-policy-img/no-referrer-when-downgrade/same-origin.html
    M LayoutTests/http/tests/referrer-policy-img/no-referrer/cross-origin-http-http.html
    M LayoutTests/http/tests/referrer-policy-img/no-referrer/cross-origin-http.https.html
    M LayoutTests/http/tests/referrer-policy-img/no-referrer/same-origin.html
    M LayoutTests/http/tests/referrer-policy-img/origin-when-cross-origin/cross-origin-http-http.html
    M LayoutTests/http/tests/referrer-policy-img/origin-when-cross-origin/cross-origin-http.https.html
    M LayoutTests/http/tests/referrer-policy-img/origin-when-cross-origin/same-origin.html
    M LayoutTests/http/tests/referrer-policy-img/origin/cross-origin-http-http.html
    M LayoutTests/http/tests/referrer-policy-img/origin/cross-origin-http.https.html
    M LayoutTests/http/tests/referrer-policy-img/origin/same-origin.html
    M LayoutTests/http/tests/referrer-policy-img/same-origin/cross-origin-http-http.html
    M LayoutTests/http/tests/referrer-policy-img/same-origin/cross-origin-http.https.html
    M LayoutTests/http/tests/referrer-policy-img/same-origin/same-origin.html
    M LayoutTests/http/tests/referrer-policy-img/strict-origin-when-cross-origin/cross-origin-http-http.html
    M LayoutTests/http/tests/referrer-policy-img/strict-origin-when-cross-origin/cross-origin-http.https.html
    M LayoutTests/http/tests/referrer-policy-img/strict-origin-when-cross-origin/same-origin.html
    M LayoutTests/http/tests/referrer-policy-img/strict-origin/cross-origin-http-http.html
    M LayoutTests/http/tests/referrer-policy-img/strict-origin/cross-origin-http.https.html
    M LayoutTests/http/tests/referrer-policy-img/strict-origin/same-origin.html
    M LayoutTests/http/tests/referrer-policy-img/unsafe-url/cross-origin-http-http.html
    M LayoutTests/http/tests/referrer-policy-img/unsafe-url/cross-origin-http.https.html
    M LayoutTests/http/tests/referrer-policy-img/unsafe-url/same-origin.html
    M LayoutTests/http/tests/referrer-policy-script/unsafe-url/cross-origin-http-http.html
    M LayoutTests/http/tests/referrer-policy/no-referrer-when-downgrade/cross-origin-http-http.html
    M LayoutTests/http/tests/referrer-policy/no-referrer-when-downgrade/cross-origin-http.https.html
    M LayoutTests/http/tests/referrer-policy/no-referrer-when-downgrade/same-origin.html
    M LayoutTests/http/tests/referrer-policy/no-referrer/cross-origin-http-http.html
    M LayoutTests/http/tests/referrer-policy/no-referrer/cross-origin-http.https.html
    M LayoutTests/http/tests/referrer-policy/no-referrer/same-origin.html
    M LayoutTests/http/tests/referrer-policy/origin-when-cross-origin/cross-origin-http-http.html
    M LayoutTests/http/tests/referrer-policy/origin-when-cross-origin/cross-origin-http.https.html
    M LayoutTests/http/tests/referrer-policy/origin-when-cross-origin/same-origin.html
    M LayoutTests/http/tests/referrer-policy/origin/cross-origin-http-http.html
    M LayoutTests/http/tests/referrer-policy/origin/cross-origin-http.https.html
    M LayoutTests/http/tests/referrer-policy/origin/same-origin.html
    M LayoutTests/http/tests/referrer-policy/same-origin/cross-origin-http-http.html
    M LayoutTests/http/tests/referrer-policy/same-origin/cross-origin-http.https.html
    M LayoutTests/http/tests/referrer-policy/same-origin/same-origin.html
    M LayoutTests/http/tests/referrer-policy/strict-origin-when-cross-origin/cross-origin-http-http.html
    M LayoutTests/http/tests/referrer-policy/strict-origin-when-cross-origin/cross-origin-http.https.html
    M LayoutTests/http/tests/referrer-policy/strict-origin-when-cross-origin/same-origin.html
    M LayoutTests/http/tests/referrer-policy/strict-origin/cross-origin-http-http.html
    M LayoutTests/http/tests/referrer-policy/strict-origin/cross-origin-http.https.html
    M LayoutTests/http/tests/referrer-policy/strict-origin/same-origin.html
    M LayoutTests/http/tests/referrer-policy/unsafe-url/cross-origin-http-http.html
    M LayoutTests/http/tests/referrer-policy/unsafe-url/cross-origin-http.https.html
    M LayoutTests/http/tests/referrer-policy/unsafe-url/same-origin.html
    M LayoutTests/http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-24-hours.html
    M LayoutTests/http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js.html
    M LayoutTests/http/tests/resourceLoadStatistics/do-not-block-top-level-navigation-redirect.html
    M LayoutTests/http/tests/resourceLoadStatistics/prevalent-resource-without-user-interaction.html
    M LayoutTests/http/tests/resourceLoadStatistics/resources/util.js
    M LayoutTests/http/tests/webAPIStatistics/canvas-read-and-write-data-collection.html
    M LayoutTests/http/tests/webAPIStatistics/font-load-data-collection.html
    M LayoutTests/http/tests/webAPIStatistics/navigator-functions-accessed-data-collection.html
    M LayoutTests/http/tests/webAPIStatistics/screen-functions-accessed-data-collection.html
    M Source/WebCore/dom/Document.cpp
    M Source/WebCore/loader/CookieJar.cpp
    M Source/WebCore/page/DeprecatedGlobalSettings.cpp
    M Source/WebCore/page/DeprecatedGlobalSettings.h
    M Source/WebCore/page/Quirks.cpp
    M Source/WebCore/platform/network/CacheValidation.cpp
    M Source/WebCore/platform/network/NetworkStorageSession.cpp
    M Source/WebCore/platform/network/NetworkStorageSession.h
    M Source/WebCore/platform/network/cf/NetworkStorageSessionCFNetWin.cpp
    M Source/WebCore/platform/network/cocoa/NetworkStorageSessionCocoa.mm
    M Source/WebCore/platform/network/curl/NetworkStorageSessionCurl.cpp
    M Source/WebCore/platform/network/curl/ResourceHandleCurl.cpp
    M Source/WebCore/platform/network/soup/NetworkStorageSessionSoup.cpp
    M Source/WebCore/testing/Internals.cpp
    M Source/WebCore/testing/Internals.h
    M Source/WebCore/testing/Internals.idl
    M Source/WebKit/NetworkProcess/Classifier/WebResourceLoadStatisticsStore.cpp
    M Source/WebKit/NetworkProcess/NetworkConnectionToWebProcess.cpp
    M Source/WebKit/NetworkProcess/NetworkConnectionToWebProcess.h
    M Source/WebKit/NetworkProcess/NetworkConnectionToWebProcess.messages.in
    M Source/WebKit/NetworkProcess/NetworkDataTask.cpp
    M Source/WebKit/NetworkProcess/NetworkProcess.cpp
    M Source/WebKit/NetworkProcess/NetworkProcess.h
    M Source/WebKit/NetworkProcess/NetworkProcess.messages.in
    M Source/WebKit/NetworkProcess/NetworkResourceLoader.cpp
    M Source/WebKit/NetworkProcess/NetworkSession.cpp
    M Source/WebKit/NetworkProcess/NetworkSession.h
    M Source/WebKit/NetworkProcess/cocoa/NetworkDataTaskCocoa.mm
    M Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.mm
    M Source/WebKit/NetworkProcess/curl/NetworkDataTaskCurl.cpp
    M Source/WebKit/NetworkProcess/curl/NetworkSessionCurl.cpp
    M Source/WebKit/NetworkProcess/curl/WebSocketTaskCurl.cpp
    M Source/WebKit/Scripts/webkit/messages.py
    M Source/WebKit/Shared/Cocoa/DefaultWebBrowserChecks.h
    M Source/WebKit/Shared/Cocoa/DefaultWebBrowserChecks.mm
    M Source/WebKit/Shared/ResourceLoadStatisticsParameters.h
    M Source/WebKit/Shared/WebProcessDataStoreParameters.h
    M Source/WebKit/UIProcess/API/C/WKWebsiteDataStoreRef.cpp
    M Source/WebKit/UIProcess/API/Cocoa/WKWebsiteDataStore.mm
    M Source/WebKit/UIProcess/API/glib/WebKitWebsiteDataManager.cpp
    M Source/WebKit/UIProcess/WebProcessPool.cpp
    M Source/WebKit/UIProcess/WebsiteData/WebsiteDataStore.cpp
    M Source/WebKit/UIProcess/WebsiteData/WebsiteDataStore.h
    M Source/WebKit/UIProcess/WebsiteData/WebsiteDataStoreConfiguration.cpp
    M Source/WebKit/UIProcess/WebsiteData/WebsiteDataStoreConfiguration.h
    M Source/WebKit/WebProcess/WebPage/WebCookieCache.cpp
    M Source/WebKit/WebProcess/WebPage/WebCookieJar.cpp
    M Source/WebKit/WebProcess/WebProcess.cpp
    M Source/WebKit/WebProcess/WebProcess.h
    M Source/WebKit/WebProcess/WebProcess.messages.in
    M Source/WebKitLegacy/mac/WebView/WebView.mm

  Log Message:
  -----------
  [ITP Cleanup] Rename some resource load statistics feature flags to refer to "tracking prevention"
https://bugs.webkit.org/show_bug.cgi?id=246906

Reviewed by Megan Gardner.

Currently, the feature flag that determines whether tracking prevention measures in WebKit are
enabled or disabled refers to the feature as "resource load statistics". We rename these symbols in
WebKit internal code from `ResourceLoadStatisticsEnabled` (and similar) to
`TrackingPreventionEnabled` to reflect this real intent.

We also rename some places that refer to `ITPState` and `ShouldAskITP` to `TrackingPreventionState`
and `ApplyTrackingPrevention`, respectively.

* LayoutTests/http/tests/media/media-stream/enumerate-devices-source-id.html:
* LayoutTests/http/tests/navigation/statistics.html:
* LayoutTests/http/tests/referrer-policy-anchor/origin-when-cross-origin/cross-origin-http-http.html:
* LayoutTests/http/tests/referrer-policy-iframe/no-referrer-when-downgrade/cross-origin-http-http.html:
* LayoutTests/http/tests/referrer-policy-iframe/no-referrer-when-downgrade/cross-origin-http.https.html:
* LayoutTests/http/tests/referrer-policy-iframe/no-referrer-when-downgrade/same-origin.html:
* LayoutTests/http/tests/referrer-policy-iframe/no-referrer/cross-origin-http-http.html:
* LayoutTests/http/tests/referrer-policy-iframe/no-referrer/cross-origin-http.https.html:
* LayoutTests/http/tests/referrer-policy-iframe/no-referrer/same-origin.html:
* LayoutTests/http/tests/referrer-policy-iframe/origin-when-cross-origin/cross-origin-http-http.html:
* LayoutTests/http/tests/referrer-policy-iframe/origin-when-cross-origin/cross-origin-http.https.html:
* LayoutTests/http/tests/referrer-policy-iframe/origin-when-cross-origin/same-origin.html:
* LayoutTests/http/tests/referrer-policy-iframe/origin/cross-origin-http-http.html:
* LayoutTests/http/tests/referrer-policy-iframe/origin/cross-origin-http.https.html:
* LayoutTests/http/tests/referrer-policy-iframe/origin/same-origin.html:
* LayoutTests/http/tests/referrer-policy-iframe/same-origin/cross-origin-http-http.html:
* LayoutTests/http/tests/referrer-policy-iframe/same-origin/cross-origin-http.https.html:
* LayoutTests/http/tests/referrer-policy-iframe/same-origin/same-origin.html:
* LayoutTests/http/tests/referrer-policy-iframe/strict-origin-when-cross-origin/cross-origin-http-http.html:
* LayoutTests/http/tests/referrer-policy-iframe/strict-origin-when-cross-origin/cross-origin-http.https.html:
* LayoutTests/http/tests/referrer-policy-iframe/strict-origin-when-cross-origin/same-origin.html:
* LayoutTests/http/tests/referrer-policy-iframe/strict-origin/cross-origin-http-http.html:
* LayoutTests/http/tests/referrer-policy-iframe/strict-origin/cross-origin-http.https.html:
* LayoutTests/http/tests/referrer-policy-iframe/strict-origin/same-origin.html:
* LayoutTests/http/tests/referrer-policy-iframe/unsafe-url/cross-origin-http-http.html:
* LayoutTests/http/tests/referrer-policy-iframe/unsafe-url/cross-origin-http.https.html:
* LayoutTests/http/tests/referrer-policy-iframe/unsafe-url/same-origin.html:
* LayoutTests/http/tests/referrer-policy-img/no-referrer-when-downgrade/cross-origin-http-http.html:
* LayoutTests/http/tests/referrer-policy-img/no-referrer-when-downgrade/cross-origin-http.https.html:
* LayoutTests/http/tests/referrer-policy-img/no-referrer-when-downgrade/same-origin.html:
* LayoutTests/http/tests/referrer-policy-img/no-referrer/cross-origin-http-http.html:
* LayoutTests/http/tests/referrer-policy-img/no-referrer/cross-origin-http.https.html:
* LayoutTests/http/tests/referrer-policy-img/no-referrer/same-origin.html:
* LayoutTests/http/tests/referrer-policy-img/origin-when-cross-origin/cross-origin-http-http.html:
* LayoutTests/http/tests/referrer-policy-img/origin-when-cross-origin/cross-origin-http.https.html:
* LayoutTests/http/tests/referrer-policy-img/origin-when-cross-origin/same-origin.html:
* LayoutTests/http/tests/referrer-policy-img/origin/cross-origin-http-http.html:
* LayoutTests/http/tests/referrer-policy-img/origin/cross-origin-http.https.html:
* LayoutTests/http/tests/referrer-policy-img/origin/same-origin.html:
* LayoutTests/http/tests/referrer-policy-img/same-origin/cross-origin-http-http.html:
* LayoutTests/http/tests/referrer-policy-img/same-origin/cross-origin-http.https.html:
* LayoutTests/http/tests/referrer-policy-img/same-origin/same-origin.html:
* LayoutTests/http/tests/referrer-policy-img/strict-origin-when-cross-origin/cross-origin-http-http.html:
* LayoutTests/http/tests/referrer-policy-img/strict-origin-when-cross-origin/cross-origin-http.https.html:
* LayoutTests/http/tests/referrer-policy-img/strict-origin-when-cross-origin/same-origin.html:
* LayoutTests/http/tests/referrer-policy-img/strict-origin/cross-origin-http-http.html:
* LayoutTests/http/tests/referrer-policy-img/strict-origin/cross-origin-http.https.html:
* LayoutTests/http/tests/referrer-policy-img/strict-origin/same-origin.html:
* LayoutTests/http/tests/referrer-policy-img/unsafe-url/cross-origin-http-http.html:
* LayoutTests/http/tests/referrer-policy-img/unsafe-url/cross-origin-http.https.html:
* LayoutTests/http/tests/referrer-policy-img/unsafe-url/same-origin.html:
* LayoutTests/http/tests/referrer-policy-script/unsafe-url/cross-origin-http-http.html:
* LayoutTests/http/tests/referrer-policy/no-referrer-when-downgrade/cross-origin-http-http.html:
* LayoutTests/http/tests/referrer-policy/no-referrer-when-downgrade/cross-origin-http.https.html:
* LayoutTests/http/tests/referrer-policy/no-referrer-when-downgrade/same-origin.html:
* LayoutTests/http/tests/referrer-policy/no-referrer/cross-origin-http-http.html:
* LayoutTests/http/tests/referrer-policy/no-referrer/cross-origin-http.https.html:
* LayoutTests/http/tests/referrer-policy/no-referrer/same-origin.html:
* LayoutTests/http/tests/referrer-policy/origin-when-cross-origin/cross-origin-http-http.html:
* LayoutTests/http/tests/referrer-policy/origin-when-cross-origin/cross-origin-http.https.html:
* LayoutTests/http/tests/referrer-policy/origin-when-cross-origin/same-origin.html:
* LayoutTests/http/tests/referrer-policy/origin/cross-origin-http-http.html:
* LayoutTests/http/tests/referrer-policy/origin/cross-origin-http.https.html:
* LayoutTests/http/tests/referrer-policy/origin/same-origin.html:
* LayoutTests/http/tests/referrer-policy/same-origin/cross-origin-http-http.html:
* LayoutTests/http/tests/referrer-policy/same-origin/cross-origin-http.https.html:
* LayoutTests/http/tests/referrer-policy/same-origin/same-origin.html:
* LayoutTests/http/tests/referrer-policy/strict-origin-when-cross-origin/cross-origin-http-http.html:
* LayoutTests/http/tests/referrer-policy/strict-origin-when-cross-origin/cross-origin-http.https.html:
* LayoutTests/http/tests/referrer-policy/strict-origin-when-cross-origin/same-origin.html:
* LayoutTests/http/tests/referrer-policy/strict-origin/cross-origin-http-http.html:
* LayoutTests/http/tests/referrer-policy/strict-origin/cross-origin-http.https.html:
* LayoutTests/http/tests/referrer-policy/strict-origin/same-origin.html:
* LayoutTests/http/tests/referrer-policy/unsafe-url/cross-origin-http-http.html:
* LayoutTests/http/tests/referrer-policy/unsafe-url/cross-origin-http.https.html:
* LayoutTests/http/tests/referrer-policy/unsafe-url/same-origin.html:
* LayoutTests/http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-24-hours.html:
* LayoutTests/http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js.html:
* LayoutTests/http/tests/resourceLoadStatistics/do-not-block-top-level-navigation-redirect.html:
* LayoutTests/http/tests/resourceLoadStatistics/prevalent-resource-without-user-interaction.html:
* LayoutTests/http/tests/resourceLoadStatistics/resources/util.js:
(setEnableFeature):
* LayoutTests/http/tests/webAPIStatistics/canvas-read-and-write-data-collection.html:
* LayoutTests/http/tests/webAPIStatistics/font-load-data-collection.html:
* LayoutTests/http/tests/webAPIStatistics/navigator-functions-accessed-data-collection.html:
* LayoutTests/http/tests/webAPIStatistics/screen-functions-accessed-data-collection.html:
* Source/WebCore/dom/Document.cpp:
(WebCore::Document::referrer):
* Source/WebCore/loader/CookieJar.cpp:
(WebCore::CookieJar::cookies const):
(WebCore::CookieJar::setCookies):
(WebCore::CookieJar::cookieRequestHeaderFieldValue const):
(WebCore::CookieJar::getRawCookies const):
* Source/WebCore/page/DeprecatedGlobalSettings.cpp:
(WebCore::DeprecatedGlobalSettings::DeprecatedGlobalSettings):
(WebCore::DeprecatedGlobalSettings::setTrackingPreventionEnabled):
(WebCore::DeprecatedGlobalSettings::setResourceLoadStatisticsEnabled): Deleted.
* Source/WebCore/page/DeprecatedGlobalSettings.h:
(WebCore::DeprecatedGlobalSettings::trackingPreventionEnabled):
(WebCore::DeprecatedGlobalSettings::resourceLoadStatisticsEnabled): Deleted.
* Source/WebCore/page/Quirks.cpp:
(WebCore::Quirks::triggerOptionalStorageAccessQuirk const):
* Source/WebCore/platform/network/CacheValidation.cpp:
(WebCore::cookieRequestHeaderFieldValue):
* Source/WebCore/platform/network/NetworkStorageSession.cpp:
(WebCore::NetworkStorageSession::setTrackingPreventionEnabled):
(WebCore::NetworkStorageSession::trackingPreventionEnabled const):
(WebCore::NetworkStorageSession::setTrackingPreventionDebugLoggingEnabled):
(WebCore::NetworkStorageSession::trackingPreventionDebugLoggingEnabled const):
(WebCore::NetworkStorageSession::shouldBlockThirdPartyCookies const):
(WebCore::NetworkStorageSession::shouldBlockThirdPartyCookiesButKeepFirstPartyCookiesFor const):
(WebCore::NetworkStorageSession::shouldBlockCookies const):
(WebCore::NetworkStorageSession::setResourceLoadStatisticsEnabled): Deleted.
(WebCore::NetworkStorageSession::resourceLoadStatisticsEnabled const): Deleted.
(WebCore::NetworkStorageSession::setResourceLoadStatisticsDebugLoggingEnabled): Deleted.
(WebCore::NetworkStorageSession::resourceLoadStatisticsDebugLoggingEnabled const): Deleted.
* Source/WebCore/platform/network/NetworkStorageSession.h:
* Source/WebCore/platform/network/cf/NetworkStorageSessionCFNetWin.cpp:
(WebCore::NetworkStorageSession::setCookiesFromDOM const):
(WebCore::NetworkStorageSession::cookiesForDOM const):
(WebCore::NetworkStorageSession::cookieRequestHeaderFieldValue const):
(WebCore::NetworkStorageSession::getRawCookies const):
* Source/WebCore/platform/network/cocoa/NetworkStorageSessionCocoa.mm:
(WebCore::NetworkStorageSession::cookiesForURL const):
(WebCore::NetworkStorageSession::cookiesForSession const):
(WebCore::NetworkStorageSession::cookiesForDOM const):
(WebCore::NetworkStorageSession::cookieRequestHeaderFieldValue const):
(WebCore::NetworkStorageSession::setCookiesFromDOM const):
(WebCore::NetworkStorageSession::getRawCookies const):
* Source/WebCore/platform/network/curl/NetworkStorageSessionCurl.cpp:
(WebCore::NetworkStorageSession::setCookiesFromDOM const):
(WebCore::NetworkStorageSession::cookiesForDOM const):
(WebCore::NetworkStorageSession::getRawCookies const):
(WebCore::NetworkStorageSession::cookieRequestHeaderFieldValue const):
* Source/WebCore/platform/network/curl/ResourceHandleCurl.cpp:
(WebCore::ResourceHandle::createCurlRequest):
* Source/WebCore/platform/network/soup/NetworkStorageSessionSoup.cpp:
(WebCore::NetworkStorageSession::setCookieAcceptPolicy):
(WebCore::NetworkStorageSession::setTrackingPreventionEnabled):
(WebCore::NetworkStorageSession::setCookiesFromDOM const):
(WebCore::NetworkStorageSession::getRawCookies const):
(WebCore::cookiesForSession):
(WebCore::NetworkStorageSession::cookiesForDOM const):
(WebCore::NetworkStorageSession::cookieRequestHeaderFieldValue const):
(WebCore::NetworkStorageSession::setResourceLoadStatisticsEnabled): Deleted.
* Source/WebCore/testing/Internals.cpp:
(WebCore::Internals::setTrackingPreventionEnabled):
(WebCore::Internals::setResourceLoadStatisticsEnabled): Deleted.
* Source/WebCore/testing/Internals.h:
* Source/WebCore/testing/Internals.idl:
* Source/WebKit/NetworkProcess/Classifier/WebResourceLoadStatisticsStore.cpp:
(WebKit::WebResourceLoadStatisticsStore::setResourceLoadStatisticsDebugMode):
* Source/WebKit/NetworkProcess/NetworkConnectionToWebProcess.cpp:
(WebKit::NetworkConnectionToWebProcess::cookiesForDOM):
(WebKit::NetworkConnectionToWebProcess::setCookiesFromDOM):
(WebKit::NetworkConnectionToWebProcess::cookieRequestHeaderFieldValue):
(WebKit::NetworkConnectionToWebProcess::getRawCookies):
* Source/WebKit/NetworkProcess/NetworkConnectionToWebProcess.h:
* Source/WebKit/NetworkProcess/NetworkConnectionToWebProcess.messages.in:
* Source/WebKit/NetworkProcess/NetworkDataTask.cpp:
(WebKit::NetworkDataTask::restrictRequestReferrerToOriginIfNeeded):
* Source/WebKit/NetworkProcess/NetworkProcess.cpp:
(WebKit::NetworkProcess::setTrackingPreventionEnabled):
(WebKit::NetworkProcess::setResourceLoadStatisticsEnabled): Deleted.
* Source/WebKit/NetworkProcess/NetworkProcess.h:
* Source/WebKit/NetworkProcess/NetworkProcess.messages.in:
* Source/WebKit/NetworkProcess/NetworkResourceLoader.cpp:
(WebKit::logCookieInformationInternal):
* Source/WebKit/NetworkProcess/NetworkSession.cpp:
(WebKit::m_shouldAcceptInsecureCertificatesForWebSockets):
(WebKit::NetworkSession::setTrackingPreventionEnabled):
(WebKit::NetworkSession::isTrackingPreventionEnabled const):
(WebKit::NetworkSession::setResourceLoadStatisticsEnabled): Deleted.
(WebKit::NetworkSession::isResourceLoadStatisticsEnabled const): Deleted.
* Source/WebKit/NetworkProcess/NetworkSession.h:
* Source/WebKit/NetworkProcess/cocoa/NetworkDataTaskCocoa.mm:
(WebKit::NetworkDataTaskCocoa::shouldApplyCookiePolicyForThirdPartyCloaking const):
(WebKit::NetworkDataTaskCocoa::applyCookiePolicyForThirdPartyCloaking):
* Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.mm:
(WebKit::activateSessionCleanup):
* Source/WebKit/NetworkProcess/curl/NetworkDataTaskCurl.cpp:
(WebKit::NetworkDataTaskCurl::appendCookieHeader):
* Source/WebKit/NetworkProcess/curl/NetworkSessionCurl.cpp:
(WebKit::NetworkSessionCurl::NetworkSessionCurl):
* Source/WebKit/NetworkProcess/curl/WebSocketTaskCurl.cpp:
(WebKit::WebSocketTask::didOpen):
* Source/WebKit/Scripts/webkit/messages.py:
(headers_for_type):
* Source/WebKit/Shared/Cocoa/DefaultWebBrowserChecks.h:
* Source/WebKit/Shared/Cocoa/DefaultWebBrowserChecks.mm:
(WebKit::determineTrackingPreventionStateInternal):
(WebKit::determineTrackingPreventionState):
(WebKit::doesAppHaveTrackingPreventionEnabled):
(WebKit::doesParentProcessHaveTrackingPreventionEnabled):
(WebKit::determineITPStateInternal): Deleted.
(WebKit::determineITPState): Deleted.
(WebKit::doesAppHaveITPEnabled): Deleted.
(WebKit::doesParentProcessHaveITPEnabled): Deleted.
* Source/WebKit/Shared/ResourceLoadStatisticsParameters.h:
(WebKit::ResourceLoadStatisticsParameters::encode const):
(WebKit::ResourceLoadStatisticsParameters::decode):
* Source/WebKit/Shared/WebProcessDataStoreParameters.h:
(WebKit::WebProcessDataStoreParameters::encode const):
(WebKit::WebProcessDataStoreParameters::decode):
* Source/WebKit/UIProcess/API/C/WKWebsiteDataStoreRef.cpp:
(WKWebsiteDataStoreSetResourceLoadStatisticsEnabled):
(WKWebsiteDataStoreGetResourceLoadStatisticsEnabled):
* Source/WebKit/UIProcess/API/Cocoa/WKWebsiteDataStore.mm:
(-[WKWebsiteDataStore _resourceLoadStatisticsEnabled]):
(-[WKWebsiteDataStore _setResourceLoadStatisticsEnabled:]):
* Source/WebKit/UIProcess/API/glib/WebKitWebsiteDataManager.cpp:
(webkit_website_data_manager_set_itp_enabled):
(webkit_website_data_manager_get_itp_enabled):
* Source/WebKit/UIProcess/WebProcessPool.cpp:
(WebKit::WebProcessPool::createNewWebProcess):
(WebKit::WebProcessPool::webProcessDataStoreParameters):
* Source/WebKit/UIProcess/WebsiteData/WebsiteDataStore.cpp:
(WebKit::WebsiteDataStore::WebsiteDataStore):
(WebKit::WebsiteDataStore::setIsRunningResourceLoadStatisticsTest):
(WebKit::WebsiteDataStore::trackingPreventionEnabled const):
(WebKit::WebsiteDataStore::resourceLoadStatisticsDebugMode const):
(WebKit::WebsiteDataStore::setTrackingPreventionEnabled):
(WebKit::WebsiteDataStore::setResourceLoadStatisticsDebugMode):
(WebKit::WebsiteDataStore::isResourceLoadStatisticsEphemeral const):
(WebKit::WebsiteDataStore::clearResourceLoadStatisticsInWebProcesses):
(WebKit::WebsiteDataStore::parameters):
(WebKit::WebsiteDataStore::resourceLoadStatisticsEnabled const): Deleted.
(WebKit::WebsiteDataStore::setResourceLoadStatisticsEnabled): Deleted.
* Source/WebKit/UIProcess/WebsiteData/WebsiteDataStore.h:
(WebKit::WebsiteDataStore::isTrackingPreventionStateExplicitlySet const):
(WebKit::WebsiteDataStore::useExplicitTrackingPreventionState):
(WebKit::WebsiteDataStore::isItpStateExplicitlySet const): Deleted.
(WebKit::WebsiteDataStore::useExplicitITPState): Deleted.
* Source/WebKit/UIProcess/WebsiteData/WebsiteDataStoreConfiguration.cpp:
(WebKit::WebsiteDataStoreConfiguration::copy const):
* Source/WebKit/UIProcess/WebsiteData/WebsiteDataStoreConfiguration.h:
(WebKit::WebsiteDataStoreConfiguration::resourceLoadStatisticsDebugModeEnabled const):
(WebKit::WebsiteDataStoreConfiguration::setResourceLoadStatisticsDebugModeEnabled):
* Source/WebKit/WebProcess/WebPage/WebCookieCache.cpp:
(WebKit::WebCookieCache::cookiesForDOM):
(WebKit::WebCookieCache::setCookiesFromDOM):
* Source/WebKit/WebProcess/WebPage/WebCookieJar.cpp:
(WebKit::shouldBlockCookies):
(WebKit::WebCookieJar::cookies const):
(WebKit::WebCookieJar::setCookies):
(WebKit::WebCookieJar::cookiesEnabled const):
(WebKit::WebCookieJar::cookieRequestHeaderFieldValue const):
(WebKit::WebCookieJar::getRawCookies const):
* Source/WebKit/WebProcess/WebProcess.cpp:
(WebKit::WebProcess::setWebsiteDataStoreParameters):
(WebKit::WebProcess::setTrackingPreventionEnabled):
(WebKit::WebProcess::setResourceLoadStatisticsEnabled): Deleted.
* Source/WebKit/WebProcess/WebProcess.h:
* Source/WebKit/WebProcess/WebProcess.messages.in:
* Source/WebKitLegacy/mac/WebView/WebView.mm:
(-[WebView _preferencesChanged:]):

Canonical link: https://commits.webkit.org/256110@main




More information about the webkit-changes mailing list