WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
219791
Expose SPI for enabling/disabling Private Click Measurement
https://bugs.webkit.org/show_bug.cgi?id=219791
Summary
Expose SPI for enabling/disabling Private Click Measurement
Brent Fulgham
Reported
2020-12-11 10:42:03 PST
Now that the work on the Private Click Measurement standard is approaching consensus we need to make the setting available to clients. (See <
https://github.com/privacycg/private-click-measurement
> for background on the feature). This patch creates a WebKit preference that developers can use to disable PCM if they do not wish their applications to participate in such measurements.
Attachments
Patch
(8.48 KB, patch)
2020-12-11 11:28 PST
,
Brent Fulgham
no flags
Details
Formatted Diff
Diff
Patch for landing
(6.62 KB, patch)
2020-12-11 13:52 PST
,
Brent Fulgham
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Brent Fulgham
Comment 1
2020-12-11 10:52:26 PST
<
rdar://problem/70502198
>
Brent Fulgham
Comment 2
2020-12-11 11:28:37 PST
Created
attachment 416018
[details]
Patch
Alex Christensen
Comment 3
2020-12-11 13:07:53 PST
Comment on
attachment 416018
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=416018&action=review
> Source/WebKit/UIProcess/API/C/WKPreferencesRef.h:356 > +WK_EXPORT bool WKPreferencesGetPrivateClickMeasurementEnabled(WKPreferencesRef preferencesRef);
Let's not add more C API unless we really need it.
Brent Fulgham
Comment 4
2020-12-11 13:52:47 PST
Created
attachment 416042
[details]
Patch for landing
EWS
Comment 5
2020-12-11 14:34:50 PST
Committed
r270710
: <
https://trac.webkit.org/changeset/270710
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 416042
[details]
.
Sam Weinig
Comment 6
2020-12-19 11:15:02 PST
Comment on
attachment 416042
[details]
Patch for landing View in context:
https://bugs.webkit.org/attachment.cgi?id=416042&action=review
> Source/WebKit/WebProcess/WebPage/WebPage.cpp:3791 > + settings.setPrivateClickMeasurementEnabled(store.getBoolValueForKey(WebPreferencesKey::privateClickMeasurementEnabledKey()));
This line is not necessary and is duplicating work done by the generated preferences code.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug