forked from WebKit/WebKit-http
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PCM: Align fraud prevention token naming with issue 73 in the Privacy…
… CG repo https://bugs.webkit.org/show_bug.cgi?id=222838 <rdar://75115427> Reviewed by Brent Fulgham. This patch doesn't change functionality and only aligns naming to this W3C Privacy CG issue: privacycg/private-click-measurement#73 Source/WebCore: Naming for PCM fraud prevention is updated like this: /.well-known/private-click-measurement/sign-secret-token/ changed to /.well-known/private-click-measurement/sign-unlinkable-token/ /.well-known/private-click-measurement/get-unlinkable-token-public-key/ changed to /.well-known/private-click-measurement/get-token-public-key/ source_secret_token in requests for token signature changed to source_unlinkable_token source_unlinkable_token in attribution reports changed to source_secret_token Variable, member, and function names are being renamed similarly. * loader/PrivateClickMeasurement.cpp: (WebCore::PrivateClickMeasurement::attributionReportJSON const): (WebCore::PrivateClickMeasurement::tokenSignatureJSON const): (WebCore::PrivateClickMeasurement::setSourceSecretToken): (WebCore::PrivateClickMeasurement::SourceSecretToken::isValid const): (WebCore::PrivateClickMeasurement::setSourceUnlinkableToken): Deleted. (WebCore::PrivateClickMeasurement::SourceUnlinkableToken::isValid const): Deleted. * loader/PrivateClickMeasurement.h: (WebCore::PrivateClickMeasurement::setSourceUnlinkableTokenValue): (WebCore::PrivateClickMeasurement::sourceUnlinkableToken const): (WebCore::PrivateClickMeasurement::setSourceSecretTokenValue): Deleted. * loader/cocoa/PrivateClickMeasurementCocoa.mm: (WebCore::PrivateClickMeasurement::calculateAndUpdateSourceUnlinkableToken): (WebCore::PrivateClickMeasurement::calculateAndUpdateSourceSecretToken): Source/WebKit: Naming for PCM fraud prevention is updated like this: /.well-known/private-click-measurement/sign-secret-token/ changed to /.well-known/private-click-measurement/sign-unlinkable-token/ /.well-known/private-click-measurement/get-unlinkable-token-public-key/ changed to /.well-known/private-click-measurement/get-token-public-key/ source_secret_token in requests for token signature changed to source_unlinkable_token source_unlinkable_token in attribution reports changed to source_secret_token Variable, member, and function names are being renamed similarly. * NetworkProcess/Classifier/ResourceLoadStatisticsDatabaseStore.cpp: (WebKit::ResourceLoadStatisticsDatabaseStore::buildPrivateClickMeasurementFromDatabase): * NetworkProcess/NetworkProcess.cpp: (WebKit::NetworkProcess::setPCMFraudPreventionValuesForTesting): (WebKit::NetworkProcess::setFraudPreventionValuesForTesting): Deleted. Renamed setPCMFraudPreventionValuesForTesting() to make it more clear. * NetworkProcess/NetworkProcess.h: * NetworkProcess/NetworkProcess.messages.in: * NetworkProcess/NetworkSession.cpp: (WebKit::NetworkSession::setPCMFraudPreventionValuesForTesting): (WebKit::NetworkSession::setFraudPreventionValuesForTesting): Deleted. Renamed setPCMFraudPreventionValuesForTesting() to make it more clear. * NetworkProcess/NetworkSession.h: * NetworkProcess/PrivateClickMeasurementManager.cpp: (WebKit::PrivateClickMeasurementManager::storeUnattributed): (WebKit::PrivateClickMeasurementManager::getTokenPublicKey): (WebKit::PrivateClickMeasurementManager::getSignedUnlinkableToken): (WebKit::PrivateClickMeasurementManager::setPCMFraudPreventionValuesForTesting): (WebKit::PrivateClickMeasurementManager::getSignedSecretToken): Deleted. (WebKit::PrivateClickMeasurementManager::setFraudPreventionValuesForTesting): Deleted. Renamed setPCMFraudPreventionValuesForTesting() to make it more clear. * NetworkProcess/PrivateClickMeasurementManager.h: * UIProcess/API/C/WKPage.cpp: (WKPageSetPCMFraudPreventionValuesForTesting): (WKPageSetFraudPreventionValuesForTesting): Deleted. Renamed WKPageSetPCMFraudPreventionValuesForTesting() to make it more clear. * UIProcess/API/C/WKPagePrivate.h: * UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::setPCMFraudPreventionValuesForTesting): (WebKit::WebPageProxy::setFraudPreventionValuesForTesting): Deleted. Renamed setPCMFraudPreventionValuesForTesting() to make it more clear. * UIProcess/WebPageProxy.h: Tools: Naming for PCM fraud prevention is updated like this: /.well-known/private-click-measurement/sign-secret-token/ changed to /.well-known/private-click-measurement/sign-unlinkable-token/ /.well-known/private-click-measurement/get-unlinkable-token-public-key/ changed to /.well-known/private-click-measurement/get-token-public-key/ source_secret_token in requests for token signature changed to source_unlinkable_token source_unlinkable_token in attribution reports changed to source_secret_token Variable, member, and function names are being renamed similarly. * TestWebKitAPI/Tests/WebCore/PrivateClickMeasurement.cpp: (TestWebKitAPI::TEST): * TestWebKitAPI/Tests/WebCore/cocoa/PrivateClickMeasurementCocoa.mm: (TestWebKitAPI::TEST): * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl: * WebKitTestRunner/InjectedBundle/TestRunner.cpp: (WTR::TestRunner::setPrivateClickMeasurementFraudPreventionValuesForTesting): (WTR::TestRunner::setFraudPreventionValuesForTesting): Deleted. * WebKitTestRunner/InjectedBundle/TestRunner.h: * WebKitTestRunner/TestController.cpp: (WTR::TestController::setPCMFraudPreventionValuesForTesting): (WTR::TestController::setFraudPreventionValuesForTesting): Deleted. * WebKitTestRunner/TestController.h: * WebKitTestRunner/TestInvocation.cpp: (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle): LayoutTests: * http/tests/privateClickMeasurement/resources/fraudPreventionTestURL.php: Renamed from LayoutTests/http/tests/privateClickMeasurement/resources/signToken.php. The way this PHP file is used goes beyond signing tokens so it now has a generic name. * http/tests/privateClickMeasurement/store-private-click-measurement-with-source-nonce-expected.txt: Re-baselined to reflect the new naming. * http/tests/privateClickMeasurement/store-private-click-measurement-with-source-nonce.html: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@274087 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
1 parent
b6e0c53
commit 13e341a
Showing
30 changed files
with
259 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,20 @@ | ||
2021-03-08 John Wilander <[email protected]> | ||
|
||
PCM: Align fraud prevention token naming with issue 73 in the Privacy CG repo | ||
https://bugs.webkit.org/show_bug.cgi?id=222838 | ||
<rdar://75115427> | ||
|
||
Reviewed by Brent Fulgham. | ||
|
||
This patch doesn't change functionality and only aligns naming to this W3C Privacy CG issue: | ||
https://github.com/privacycg/private-click-measurement/issues/73 | ||
|
||
* http/tests/privateClickMeasurement/resources/fraudPreventionTestURL.php: Renamed from LayoutTests/http/tests/privateClickMeasurement/resources/signToken.php. | ||
The way this PHP file is used goes beyond signing tokens so it now has a generic name. | ||
* http/tests/privateClickMeasurement/store-private-click-measurement-with-source-nonce-expected.txt: | ||
Re-baselined to reflect the new naming. | ||
* http/tests/privateClickMeasurement/store-private-click-measurement-with-source-nonce.html: | ||
|
||
2021-03-06 Ryan Haddad <[email protected]> | ||
|
||
REGRESSION (r269627?): ASSERTION FAILED: &layoutState().establishedFormattingState(layoutBox.formattingContextRoot()) == this in WebCore::Layout::FormattingState::boxGeometry | ||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,43 @@ | ||
2021-03-08 John Wilander <[email protected]> | ||
|
||
PCM: Align fraud prevention token naming with issue 73 in the Privacy CG repo | ||
https://bugs.webkit.org/show_bug.cgi?id=222838 | ||
<rdar://75115427> | ||
|
||
Reviewed by Brent Fulgham. | ||
|
||
This patch doesn't change functionality and only aligns naming to this W3C Privacy CG issue: | ||
https://github.com/privacycg/private-click-measurement/issues/73 | ||
|
||
Naming for PCM fraud prevention is updated like this: | ||
|
||
/.well-known/private-click-measurement/sign-secret-token/ changed to | ||
/.well-known/private-click-measurement/sign-unlinkable-token/ | ||
|
||
/.well-known/private-click-measurement/get-unlinkable-token-public-key/ changed to | ||
/.well-known/private-click-measurement/get-token-public-key/ | ||
|
||
source_secret_token in requests for token signature changed to source_unlinkable_token | ||
|
||
source_unlinkable_token in attribution reports changed to source_secret_token | ||
|
||
Variable, member, and function names are being renamed similarly. | ||
|
||
* loader/PrivateClickMeasurement.cpp: | ||
(WebCore::PrivateClickMeasurement::attributionReportJSON const): | ||
(WebCore::PrivateClickMeasurement::tokenSignatureJSON const): | ||
(WebCore::PrivateClickMeasurement::setSourceSecretToken): | ||
(WebCore::PrivateClickMeasurement::SourceSecretToken::isValid const): | ||
(WebCore::PrivateClickMeasurement::setSourceUnlinkableToken): Deleted. | ||
(WebCore::PrivateClickMeasurement::SourceUnlinkableToken::isValid const): Deleted. | ||
* loader/PrivateClickMeasurement.h: | ||
(WebCore::PrivateClickMeasurement::setSourceUnlinkableTokenValue): | ||
(WebCore::PrivateClickMeasurement::sourceUnlinkableToken const): | ||
(WebCore::PrivateClickMeasurement::setSourceSecretTokenValue): Deleted. | ||
* loader/cocoa/PrivateClickMeasurementCocoa.mm: | ||
(WebCore::PrivateClickMeasurement::calculateAndUpdateSourceUnlinkableToken): | ||
(WebCore::PrivateClickMeasurement::calculateAndUpdateSourceSecretToken): | ||
|
||
2021-03-08 Peng Liu <[email protected]> | ||
|
||
[GPUP] Some media tests related to canvas fail when media in GPU Process is enabled | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,61 @@ | ||
2021-03-08 John Wilander <[email protected]> | ||
|
||
PCM: Align fraud prevention token naming with issue 73 in the Privacy CG repo | ||
https://bugs.webkit.org/show_bug.cgi?id=222838 | ||
<rdar://75115427> | ||
|
||
Reviewed by Brent Fulgham. | ||
|
||
This patch doesn't change functionality and only aligns naming to this W3C Privacy CG issue: | ||
https://github.com/privacycg/private-click-measurement/issues/73 | ||
|
||
Naming for PCM fraud prevention is updated like this: | ||
|
||
/.well-known/private-click-measurement/sign-secret-token/ changed to | ||
/.well-known/private-click-measurement/sign-unlinkable-token/ | ||
|
||
/.well-known/private-click-measurement/get-unlinkable-token-public-key/ changed to | ||
/.well-known/private-click-measurement/get-token-public-key/ | ||
|
||
source_secret_token in requests for token signature changed to source_unlinkable_token | ||
|
||
source_unlinkable_token in attribution reports changed to source_secret_token | ||
|
||
Variable, member, and function names are being renamed similarly. | ||
|
||
* NetworkProcess/Classifier/ResourceLoadStatisticsDatabaseStore.cpp: | ||
(WebKit::ResourceLoadStatisticsDatabaseStore::buildPrivateClickMeasurementFromDatabase): | ||
* NetworkProcess/NetworkProcess.cpp: | ||
(WebKit::NetworkProcess::setPCMFraudPreventionValuesForTesting): | ||
(WebKit::NetworkProcess::setFraudPreventionValuesForTesting): Deleted. | ||
Renamed setPCMFraudPreventionValuesForTesting() to make it more clear. | ||
* NetworkProcess/NetworkProcess.h: | ||
* NetworkProcess/NetworkProcess.messages.in: | ||
* NetworkProcess/NetworkSession.cpp: | ||
(WebKit::NetworkSession::setPCMFraudPreventionValuesForTesting): | ||
(WebKit::NetworkSession::setFraudPreventionValuesForTesting): Deleted. | ||
Renamed setPCMFraudPreventionValuesForTesting() to make it more clear. | ||
* NetworkProcess/NetworkSession.h: | ||
* NetworkProcess/PrivateClickMeasurementManager.cpp: | ||
(WebKit::PrivateClickMeasurementManager::storeUnattributed): | ||
(WebKit::PrivateClickMeasurementManager::getTokenPublicKey): | ||
(WebKit::PrivateClickMeasurementManager::getSignedUnlinkableToken): | ||
(WebKit::PrivateClickMeasurementManager::setPCMFraudPreventionValuesForTesting): | ||
(WebKit::PrivateClickMeasurementManager::getSignedSecretToken): Deleted. | ||
(WebKit::PrivateClickMeasurementManager::setFraudPreventionValuesForTesting): Deleted. | ||
Renamed setPCMFraudPreventionValuesForTesting() to make it more clear. | ||
* NetworkProcess/PrivateClickMeasurementManager.h: | ||
* UIProcess/API/C/WKPage.cpp: | ||
(WKPageSetPCMFraudPreventionValuesForTesting): | ||
(WKPageSetFraudPreventionValuesForTesting): Deleted. | ||
Renamed WKPageSetPCMFraudPreventionValuesForTesting() to make it more clear. | ||
* UIProcess/API/C/WKPagePrivate.h: | ||
* UIProcess/WebPageProxy.cpp: | ||
(WebKit::WebPageProxy::setPCMFraudPreventionValuesForTesting): | ||
(WebKit::WebPageProxy::setFraudPreventionValuesForTesting): Deleted. | ||
Renamed setPCMFraudPreventionValuesForTesting() to make it more clear. | ||
* UIProcess/WebPageProxy.h: | ||
|
||
2021-03-08 Aditya Keerthi <[email protected]> | ||
|
||
[iOS] <select multiple> group headers are illegible in dark mode | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.