Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
PCM should include the bundle ID of the app from which it originated
https://bugs.webkit.org/show_bug.cgi?id=230576 <rdar://83065221> Patch by Alex Christensen <achristensen@webkit.org> on 2021-09-22 Reviewed by Kate Cheney. Source/WebCore: This adds infrastructure to store the bundle ID of the application. In another patch I'm going to use that to prevent PCMs from one app from overwriting PCMs from another app during attribution. * html/HTMLAnchorElement.cpp: (WebCore::HTMLAnchorElement::parsePrivateClickMeasurement const): * loader/PrivateClickMeasurement.cpp: (WebCore::PrivateClickMeasurement::isolatedCopy const): * loader/PrivateClickMeasurement.h: (WebCore::PrivateClickMeasurement::PrivateClickMeasurement): (WebCore::PrivateClickMeasurement::attributionTriggerData const): (WebCore::PrivateClickMeasurement::sourceApplicationBundleID const): (WebCore::PrivateClickMeasurement::encode const): (WebCore::PrivateClickMeasurement::decode): (WebCore::PrivateClickMeasurement::attributionTriggerData): Deleted. Source/WebKit: * NetworkProcess/DatabaseUtilities.cpp: (WebKit::DatabaseUtilities::buildPrivateClickMeasurementFromDatabase const): (WebKit::DatabaseUtilities::buildPrivateClickMeasurementFromDatabase): Deleted. * NetworkProcess/DatabaseUtilities.h: * NetworkProcess/PrivateClickMeasurement/PrivateClickMeasurementDatabase.cpp: (WebKit::PCM::Database::Database): (WebKit::PCM::Database::insertPrivateClickMeasurement): (WebKit::PCM::Database::privateClickMeasurementToStringForTesting const): (WebKit::PCM::Database::attributionToStringForTesting const): (WebKit::PCM::Database::addBundleIDColumnIfNecessary): (WebKit::PCM::Database::columnsForTable): (WebKit::PCM::Database::addMissingColumnToTable): * NetworkProcess/PrivateClickMeasurement/PrivateClickMeasurementDatabase.h: * UIProcess/API/Cocoa/WKWebViewPrivate.h: * UIProcess/API/Cocoa/WKWebViewPrivateForTesting.h: * UIProcess/API/Cocoa/WKWebViewTesting.mm: (-[WKWebView _addEventAttributionWithSourceID:destinationURL:sourceDescription:purchaser:reportEndpoint:optionalNonce:applicationBundleID:]): (-[WKWebView _addEventAttributionWithSourceID:destinationURL:sourceDescription:purchaser:reportEndpoint:optionalNonce:]): Deleted. * UIProcess/API/ios/WKWebViewIOS.mm: (-[WKWebView _setEphemeralUIEventAttribution:]): (-[WKWebView _setEphemeralUIEventAttribution:forApplicationWithBundleID:]): Tools: * TestWebKitAPI/Tests/WebCore/PrivateClickMeasurement.cpp: (TestWebKitAPI::TEST): * TestWebKitAPI/Tests/WebKitCocoa/EventAttribution.mm: (TestWebKitAPI::TEST): * TestWebKitAPI/Tests/WebKitCocoa/PrivateClickMeasurement.mm: (pollUntilPCMIsMigrated): LayoutTests: * http/tests/contentextensions/block-private-click-measurement-expected.txt: * http/tests/privateClickMeasurement/attribution-conversion-through-cross-site-image-redirect-expected.txt: * http/tests/privateClickMeasurement/attribution-conversion-through-fetch-keepalive-expected.txt: * http/tests/privateClickMeasurement/attribution-conversion-through-image-redirect-ephemeral-expected.txt: * http/tests/privateClickMeasurement/attribution-conversion-through-image-redirect-in-new-window-expected.txt: * http/tests/privateClickMeasurement/attribution-conversion-through-image-redirect-with-priority-expected.txt: * http/tests/privateClickMeasurement/attribution-conversion-through-image-redirect-without-priority-expected.txt: * http/tests/privateClickMeasurement/conversion-disabled-in-ephemeral-session-expected.txt: * http/tests/privateClickMeasurement/private-click-measurement-with-source-nonce-null-content-expected.txt: * http/tests/privateClickMeasurement/private-click-measurement-with-source-nonce-wrong-content-type-expected.txt: * http/tests/privateClickMeasurement/second-attribution-converted-with-higher-priority-expected.txt: * http/tests/privateClickMeasurement/second-attribution-converted-with-lower-priority-expected.txt: * http/tests/privateClickMeasurement/second-conversion-with-higher-priority-expected.txt: * http/tests/privateClickMeasurement/second-conversion-with-lower-priority-expected.txt: * http/tests/privateClickMeasurement/store-private-click-measurement-expected.txt: Canonical link: https://commits.webkit.org/242013@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@282884 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
with
458 additions
and 53 deletions.
- +24 −0 LayoutTests/ChangeLog
- +1 −0 LayoutTests/http/tests/contentextensions/block-private-click-measurement-expected.txt
- +1 −0 ...sts/privateClickMeasurement/attribution-conversion-through-cross-site-image-redirect-expected.txt
- +1 −0 ...ts/http/tests/privateClickMeasurement/attribution-conversion-through-fetch-keepalive-expected.txt
- +1 −0 ...ests/privateClickMeasurement/attribution-conversion-through-image-redirect-ephemeral-expected.txt
- +1 −0 .../privateClickMeasurement/attribution-conversion-through-image-redirect-in-new-window-expected.txt
- +1 −0 .../privateClickMeasurement/attribution-conversion-through-image-redirect-with-priority-expected.txt
- +1 −0 ...ivateClickMeasurement/attribution-conversion-through-image-redirect-without-priority-expected.txt
- +1 −0 LayoutTests/http/tests/privateClickMeasurement/conversion-disabled-in-ephemeral-session-expected.txt
- +1 −0 ...sts/privateClickMeasurement/private-click-measurement-with-source-nonce-null-content-expected.txt
- +1 −0 ...ivateClickMeasurement/private-click-measurement-with-source-nonce-wrong-content-type-expected.txt
- +1 −0 ...http/tests/privateClickMeasurement/second-attribution-converted-with-higher-priority-expected.txt
- +1 −0 .../http/tests/privateClickMeasurement/second-attribution-converted-with-lower-priority-expected.txt
- +1 −0 LayoutTests/http/tests/privateClickMeasurement/second-conversion-with-higher-priority-expected.txt
- +1 −0 LayoutTests/http/tests/privateClickMeasurement/second-conversion-with-lower-priority-expected.txt
- +1 −0 LayoutTests/http/tests/privateClickMeasurement/store-private-click-measurement-expected.txt
- +18 −0 LayoutTests/platform/ios/http/tests/contentextensions/block-private-click-measurement-expected.txt
- +10 −0 ...sts/privateClickMeasurement/attribution-conversion-through-cross-site-image-redirect-expected.txt
- +15 −0 ...os/http/tests/privateClickMeasurement/attribution-conversion-through-fetch-keepalive-expected.txt
- +12 −0 ...ests/privateClickMeasurement/attribution-conversion-through-image-redirect-ephemeral-expected.txt
- +12 −0 .../privateClickMeasurement/attribution-conversion-through-image-redirect-in-new-window-expected.txt
- +12 −0 .../privateClickMeasurement/attribution-conversion-through-image-redirect-with-priority-expected.txt
- +12 −0 ...ivateClickMeasurement/attribution-conversion-through-image-redirect-without-priority-expected.txt
- +16 −0 ...form/ios/http/tests/privateClickMeasurement/conversion-disabled-in-ephemeral-session-expected.txt
- +16 −0 ...sts/privateClickMeasurement/private-click-measurement-with-source-nonce-null-content-expected.txt
- +16 −0 ...ivateClickMeasurement/private-click-measurement-with-source-nonce-wrong-content-type-expected.txt
- +12 −0 ...http/tests/privateClickMeasurement/second-attribution-converted-with-higher-priority-expected.txt
- +12 −0 .../http/tests/privateClickMeasurement/second-attribution-converted-with-lower-priority-expected.txt
- +12 −0 ...atform/ios/http/tests/privateClickMeasurement/second-conversion-with-higher-priority-expected.txt
- +12 −0 ...latform/ios/http/tests/privateClickMeasurement/second-conversion-with-lower-priority-expected.txt
- +10 −0 ...ests/platform/ios/http/tests/privateClickMeasurement/store-private-click-measurement-expected.txt
- +23 −0 Source/WebCore/ChangeLog
- +7 −1 Source/WebCore/html/HTMLAnchorElement.cpp
- +1 −0 Source/WebCore/loader/PrivateClickMeasurement.cpp
- +13 −3 Source/WebCore/loader/PrivateClickMeasurement.h
- +30 −0 Source/WebKit/ChangeLog
- +13 −3 Source/WebKit/NetworkProcess/DatabaseUtilities.cpp
- +1 −1 Source/WebKit/NetworkProcess/DatabaseUtilities.h
- +74 −26 Source/WebKit/NetworkProcess/PrivateClickMeasurement/PrivateClickMeasurementDatabase.cpp
- +5 −1 Source/WebKit/NetworkProcess/PrivateClickMeasurement/PrivateClickMeasurementDatabase.h
- +1 −0 Source/WebKit/UIProcess/API/Cocoa/WKWebViewPrivate.h
- +1 −1 Source/WebKit/UIProcess/API/Cocoa/WKWebViewPrivateForTesting.h
- +2 −1 Source/WebKit/UIProcess/API/Cocoa/WKWebViewTesting.mm
- +9 −0 Source/WebKit/UIProcess/API/ios/WKWebViewIOS.mm
- +15 −0 Tools/ChangeLog
- +11 −11 Tools/TestWebKitAPI/Tests/WebCore/PrivateClickMeasurement.cpp
- +4 −4 Tools/TestWebKitAPI/Tests/WebKitCocoa/EventAttribution.mm
- +12 −1 Tools/TestWebKitAPI/Tests/WebKitCocoa/PrivateClickMeasurement.mm
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
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
@@ -15,3 +15,4 @@ Source site: 127.0.0.1 | ||
Attribute on site: localhost | ||
Source ID: 3 | ||
No attribution trigger data. | ||
Application bundle identifier: com.apple.WebKit.WebKitTestRunner |
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
@@ -7,3 +7,4 @@ Source site: 127.0.0.1 | ||
Attribute on site: localhost | ||
Source ID: 3 | ||
No attribution trigger data. | ||
Application bundle identifier: com.apple.WebKit.WebKitTestRunner |
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
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
@@ -13,3 +13,4 @@ Source site: 127.0.0.1 | ||
Attribute on site: localhost | ||
Source ID: 3 | ||
No attribution trigger data. | ||
Application bundle identifier: com.apple.WebKit.WebKitTestRunner |
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
@@ -13,3 +13,4 @@ Source site: 127.0.0.1 | ||
Attribute on site: localhost | ||
Source ID: 3 | ||
No attribution trigger data. | ||
Application bundle identifier: com.apple.WebKit.WebKitTestRunner |
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
@@ -13,3 +13,4 @@ Source site: 127.0.0.1 | ||
Attribute on site: localhost | ||
Source ID: 3 | ||
No attribution trigger data. | ||
Application bundle identifier: com.apple.WebKit.WebKitTestRunner |
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
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
@@ -7,3 +7,4 @@ Source site: 127.0.0.1 | ||
Attribute on site: localhost | ||
Source ID: 3 | ||
No attribution trigger data. | ||
Application bundle identifier: com.apple.WebKit.WebKitTestRunner |
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
@@ -0,0 +1,18 @@ | ||
CONSOLE MESSAGE: Blocked by content extension | ||
CONSOLE MESSAGE: Cannot load image https://127.0.0.1:8443/privateClickMeasurement/resources/redirectToConversion.py?conversionData=12 due to access control checks. | ||
Tests that private click measurement redirects to well-known location don't trigger a conversion if they are blocked by content blockers. | ||
|
||
|
||
|
||
-------- | ||
Frame: '<!--frame1-->' | ||
-------- | ||
Attribution not received - timed out. | ||
|
||
Unattributed Private Click Measurements: | ||
WebCore::PrivateClickMeasurement 1 | ||
Source site: 127.0.0.1 | ||
Attribute on site: localhost | ||
Source ID: 3 | ||
No attribution trigger data. | ||
Application bundle identifier: org.webkit.WebKitTestRunnerApp |
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
@@ -0,0 +1,10 @@ | ||
Tests that triggering of private click measurement attributions through cross-site redirects do not work. | ||
|
||
|
||
Unattributed Private Click Measurements: | ||
WebCore::PrivateClickMeasurement 1 | ||
Source site: 127.0.0.1 | ||
Attribute on site: localhost | ||
Source ID: 3 | ||
No attribution trigger data. | ||
Application bundle identifier: org.webkit.WebKitTestRunnerApp |
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
@@ -0,0 +1,15 @@ | ||
CONSOLE MESSAGE: [Private Click Measurement] Conversion was not accepted because the URL path contained unrecognized parts. | ||
CONSOLE MESSAGE: Origin http://127.0.0.1:8000 is not allowed by Access-Control-Allow-Origin. | ||
CONSOLE MESSAGE: Fetch API cannot load https://127.0.0.1:8443/.well-known/private-click-measurement/trigger-attribution/whatever due to access control checks. | ||
Tests triggering of private click measurement attributions with fetch on pagehide. | ||
|
||
|
||
Attributed Private Click Measurements: | ||
WebCore::PrivateClickMeasurement 1 | ||
Source site: 127.0.0.1 | ||
Attribute on site: localhost | ||
Source ID: 3 | ||
Attribution trigger data: 12 | ||
Attribution priority: 0 | ||
Attribution earliest time to send: Within 24-48 hours | ||
Application bundle identifier: org.webkit.WebKitTestRunnerApp |
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
@@ -0,0 +1,12 @@ | ||
Tests triggering of ephemeral private click measurement attributions. | ||
|
||
|
||
Attributed Private Click Measurements: | ||
WebCore::PrivateClickMeasurement 1 | ||
Source site: 127.0.0.1 | ||
Attribute on site: localhost | ||
Source ID: 3 | ||
Attribution trigger data: 12 | ||
Attribution priority: 0 | ||
Attribution earliest time to send: Within 24-48 hours | ||
Application bundle identifier: org.webkit.WebKitTestRunnerApp |
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
@@ -0,0 +1,12 @@ | ||
Tests triggering of private click measurement attributions in a new window. | ||
|
||
|
||
Attributed Private Click Measurements: | ||
WebCore::PrivateClickMeasurement 1 | ||
Source site: 127.0.0.1 | ||
Attribute on site: localhost | ||
Source ID: 3 | ||
Attribution trigger data: 12 | ||
Attribution priority: 3 | ||
Attribution earliest time to send: Within 24-48 hours | ||
Application bundle identifier: org.webkit.WebKitTestRunnerApp |
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
@@ -0,0 +1,12 @@ | ||
Tests triggering of private click measurement attributions with priority. | ||
|
||
|
||
Attributed Private Click Measurements: | ||
WebCore::PrivateClickMeasurement 1 | ||
Source site: 127.0.0.1 | ||
Attribute on site: localhost | ||
Source ID: 3 | ||
Attribution trigger data: 12 | ||
Attribution priority: 3 | ||
Attribution earliest time to send: Within 24-48 hours | ||
Application bundle identifier: org.webkit.WebKitTestRunnerApp |
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
@@ -0,0 +1,12 @@ | ||
Tests triggering of private click measurement attributions without priority. | ||
|
||
|
||
Attributed Private Click Measurements: | ||
WebCore::PrivateClickMeasurement 1 | ||
Source site: 127.0.0.1 | ||
Attribute on site: localhost | ||
Source ID: 3 | ||
Attribution trigger data: 12 | ||
Attribution priority: 0 | ||
Attribution earliest time to send: Within 24-48 hours | ||
Application bundle identifier: org.webkit.WebKitTestRunnerApp |
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
@@ -0,0 +1,16 @@ | ||
Tests that stored attributions cannot be converted in an ephemeral session. | ||
|
||
|
||
|
||
-------- | ||
Frame: '<!--frame1-->' | ||
-------- | ||
Attribution not received - timed out. | ||
|
||
Unattributed Private Click Measurements: | ||
WebCore::PrivateClickMeasurement 1 | ||
Source site: 127.0.0.1 | ||
Attribute on site: localhost | ||
Source ID: 3 | ||
No attribution trigger data. | ||
Application bundle identifier: org.webkit.WebKitTestRunnerApp |
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
@@ -0,0 +1,16 @@ | ||
Tests that the presence of a source nonce triggers a token signing request. | ||
|
||
|
||
|
||
-------- | ||
Frame: '<!--frame1-->' | ||
-------- | ||
Token signing request not received - timed out. | ||
|
||
Unattributed Private Click Measurements: | ||
WebCore::PrivateClickMeasurement 1 | ||
Source site: 127.0.0.1 | ||
Attribute on site: localhost | ||
Source ID: 3 | ||
No attribution trigger data. | ||
Application bundle identifier: org.webkit.WebKitTestRunnerApp |
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
@@ -0,0 +1,16 @@ | ||
Tests that the presence of a source nonce triggers a token signing request. | ||
|
||
|
||
|
||
-------- | ||
Frame: '<!--frame1-->' | ||
-------- | ||
Token signing request not received - timed out. | ||
|
||
Unattributed Private Click Measurements: | ||
WebCore::PrivateClickMeasurement 1 | ||
Source site: 127.0.0.1 | ||
Attribute on site: localhost | ||
Source ID: 3 | ||
No attribution trigger data. | ||
Application bundle identifier: org.webkit.WebKitTestRunnerApp |
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
@@ -0,0 +1,12 @@ | ||
Tests that a second attribution with higher priority replaces an older with lower priority. | ||
|
||
|
||
Attributed Private Click Measurements: | ||
WebCore::PrivateClickMeasurement 1 | ||
Source site: 127.0.0.1 | ||
Attribute on site: localhost | ||
Source ID: 4 | ||
Attribution trigger data: 12 | ||
Attribution priority: 4 | ||
Attribution earliest time to send: Within 24-48 hours | ||
Application bundle identifier: org.webkit.WebKitTestRunnerApp |
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
@@ -0,0 +1,12 @@ | ||
Tests that a second attribution with lower priority does not replace an older with higher priority. | ||
|
||
|
||
Attributed Private Click Measurements: | ||
WebCore::PrivateClickMeasurement 1 | ||
Source site: 127.0.0.1 | ||
Attribute on site: localhost | ||
Source ID: 3 | ||
Attribution trigger data: 12 | ||
Attribution priority: 4 | ||
Attribution earliest time to send: Within 24-48 hours | ||
Application bundle identifier: org.webkit.WebKitTestRunnerApp |
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
@@ -0,0 +1,12 @@ | ||
Tests that the attribution is updated if it gets a second attribution with higher priority. | ||
|
||
|
||
Attributed Private Click Measurements: | ||
WebCore::PrivateClickMeasurement 1 | ||
Source site: 127.0.0.1 | ||
Attribute on site: localhost | ||
Source ID: 3 | ||
Attribution trigger data: 12 | ||
Attribution priority: 4 | ||
Attribution earliest time to send: Within 24-48 hours | ||
Application bundle identifier: org.webkit.WebKitTestRunnerApp |
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
@@ -0,0 +1,12 @@ | ||
Tests that the attribution is not updated if it gets a second attribution with lower priority. | ||
|
||
|
||
Attributed Private Click Measurements: | ||
WebCore::PrivateClickMeasurement 1 | ||
Source site: 127.0.0.1 | ||
Attribute on site: localhost | ||
Source ID: 3 | ||
Attribution trigger data: 12 | ||
Attribution priority: 4 | ||
Attribution earliest time to send: Within 24-48 hours | ||
Application bundle identifier: org.webkit.WebKitTestRunnerApp |
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
@@ -0,0 +1,10 @@ | ||
Tests storage of private click measurement. | ||
|
||
|
||
Unattributed Private Click Measurements: | ||
WebCore::PrivateClickMeasurement 1 | ||
Source site: 127.0.0.1 | ||
Attribute on site: localhost | ||
Source ID: 3 | ||
No attribution trigger data. | ||
Application bundle identifier: org.webkit.WebKitTestRunnerApp |
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
Oops, something went wrong.