Open NameNoQuality opened 1 month ago
From d77db7e1bbf9e0c5f6053d906fb7a0844c85db2c Mon Sep 17 00:00:00 2001 From: Yao Xiao xyaof3@126.com Date: Thu, 5 Sep 2024 15:08:23 -0400 Subject: [PATCH 1/3] [explainer] Add interestGroups() method to shared storage worklet MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit
An interestGroups() method is added to the shared storage worklet, to return the Protected Audience interest groups associated with the shared storage origin's owner, with some additional metadata.
This API provides the Protected Audience buyer with a better picture of what’s happening with their users, allowing for Private Aggregation reports (https://github.com/WICG/turtledove/issues/1190).
README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+)
diff --git a/README.md b/README.md index eb2c925..ecafdeb 100644 --- a/README.md +++ b/README.md @@ -191,6 +191,20 @@ The shared storage worklet invocation methods (
addModule
,run
, and `selectUR
sharedStorage.context
- From inside a worklet created inside a fenced frame, returns a string of contextual information, if any, that the embedder had written to the fenced frame's FencedFrameConfig before the fenced frame's navigation.
- If no contextual information string had been written for the given frame, returns undefined. +*
interestGroups()
- Returns a promise that resolves into an array of
StorageInterestGroup
. AStorageInterestGroup
is a dictionary that extends the AuctionAdInterestGroup dictionary with the following attributes:
- unsigned long long
joinCount
- unsigned long long
bidCount
- sequence<PreviousWin>
previousWins
- USVString
joiningOrigin
- double
timeSinceGroupJoinedMs
- double
lifetimeRemainingMs
- double
timeSinceLastUpdateMs
- double
timeUntilNextUpdateMs
- unsigned long long
estimatedSize
- The approximate size of the contents of this interest group, in bytes.
- The AuctionAdInterestGroup's lifetimeMs field will remain unset. It's no longer applicable at query time and is replaced with attributes
timeSinceGroupJoinedMs
andlifetimeRemainingMs
.
- This API provides the Protected Audience buyer with a better picture of what's happening with their users, allowing for Private Aggregation reports.
- Functions exposed by the Private Aggregation API, e.g.
privateAggregation.contributeToHistogram()
.
- These functions construct and then send an aggregatable report for the private, secure aggregation service.
- The report contents (e.g. key, value) are encrypted and sent after a delay. The report can only be read by the service and processed into aggregate statistics.
From a5b6f78d45f1c1ce1224a1fd3692046aa8cdf0f4 Mon Sep 17 00:00:00 2001 From: Yao Xiao xyaof3@126.com Date: Tue, 17 Sep 2024 15:57:16 -0400 Subject: [PATCH 2/3] Rename to prevWinsMs to align with the naming in BiddingBrowserSignals
README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md index ecafdeb..d9e621d 100644 --- a/README.md +++ b/README.md @@ -195,7 +195,7 @@ The shared storage worklet invocation methods (
addModule
,run
, and `selectUR
- Returns a promise that resolves into an array of
StorageInterestGroup
. AStorageInterestGroup
is a dictionary that extends the AuctionAdInterestGroup dictionary with the following attributes:
- unsigned long long
joinCount
- unsigned long long
bidCount
- sequence<PreviousWin>
previousWins
- sequence<PreviousWin>
prevWinsMs
- USVString
joiningOrigin
- double
timeSinceGroupJoinedMs
- double
lifetimeRemainingMs
From 53d3d64635cb4ca7c7c8c70931ff78a4f223ad12 Mon Sep 17 00:00:00 2001 From: Yao Xiao xyaof3@126.com Date: Tue, 17 Sep 2024 16:02:09 -0400 Subject: [PATCH 3/3] fix formatting
README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md index d9e621d..f99124f 100644 --- a/README.md +++ b/README.md @@ -203,8 +203,8 @@ The shared storage worklet invocation methods (
addModule
,run
, and `selectUR
- double
timeUntilNextUpdateMs
- unsigned long long
estimatedSize
- The approximate size of the contents of this interest group, in bytes.
- The AuctionAdInterestGroup's lifetimeMs field will remain unset. It's no longer applicable at query time and is replaced with attributes
timeSinceGroupJoinedMs
andlifetimeRemainingMs
.
- This API provides the Protected Audience buyer with a better picture of what's happening with their users, allowing for Private Aggregation reports.
- The AuctionAdInterestGroup's lifetimeMs field will remain unset. It's no longer applicable at query time and is replaced with attributes
timeSinceGroupJoinedMs
andlifetimeRemainingMs
.
- This API provides the Protected Audience buyer with a better picture of what's happening with their users, allowing for Private Aggregation reports.
- Functions exposed by the Private Aggregation API, e.g.
privateAggregation.contributeToHistogram()
.- These functions construct and then send an aggregatable report for the private, secure aggregation service.
- The report contents (e.g. key, value) are encrypted and sent after a delay. The report can only be read by the service and processed into aggregate statistic
(“BetterBrave - Workplace Harrassment and Discrimination”),(“Words Matter”),(“Let’s Get It Right”),(Codes of Conduct 101 + FAQ | Ashe Dryden),(Wodtke),(Understanding Pronouns and Using Pronoun Stickers | LBGTQ+ Services),(“To Girls Everywhere, I Am With You”: Chanel Miller Reads from Her Victim Impact Statement | Democracy Now!),(Sexual Harassment in Academia | National Academies),(Materials | RAINN),(Masculine Defaults: Identifying and Mitigating Hidden Cultural Biases. - PsycNET),(Woods),(“Diversity, Inclusion, & Equity”),(“Computing Community Public Statements”),(CiteHER Bibliography),(Facebook et al.),(Brown),(Heath and Wensil),(“Anti-Racism Resource List”)
From d77db7e1bbf9e0c5f6053d906fb7a0844c85db2c Mon Sep 17 00:00:00 2001 From: Yao Xiao xyaof3@126.com Date: Thu, 5 Sep 2024 15:08:23 -0400 Subject: [PATCH 1/3] [explainer] Add interestGroups() method to shared storage worklet MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit
An interestGroups() method is added to the shared storage worklet, to return the Protected Audience interest groups associated with the shared storage origin's owner, with some additional metadata.
This API provides the Protected Audience buyer with a better picture of what’s happening with their users, allowing for Private Aggregation reports (https://github.com/WICG/turtledove/issues/1190).
README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+)
diff --git a/README.md b/README.md index eb2c925..ecafdeb 100644 --- a/README.md +++ b/README.md @@ -191,6 +191,20 @@ The shared storage worklet invocation methods (
addModule
,run
, and `selectURsharedStorage.context
interestGroups()
StorageInterestGroup
. AStorageInterestGroup
is a dictionary that extends the AuctionAdInterestGroup dictionary with the following attributes:joinCount
bidCount
previousWins
joiningOrigin
timeSinceGroupJoinedMs
lifetimeRemainingMs
timeSinceLastUpdateMs
timeUntilNextUpdateMs
estimatedSize
timeSinceGroupJoinedMs
andlifetimeRemainingMs
.privateAggregation.contributeToHistogram()
.From a5b6f78d45f1c1ce1224a1fd3692046aa8cdf0f4 Mon Sep 17 00:00:00 2001 From: Yao Xiao xyaof3@126.com Date: Tue, 17 Sep 2024 15:57:16 -0400 Subject: [PATCH 2/3] Rename to prevWinsMs to align with the naming in BiddingBrowserSignals
README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md index ecafdeb..d9e621d 100644 --- a/README.md +++ b/README.md @@ -195,7 +195,7 @@ The shared storage worklet invocation methods (
addModule
,run
, and `selectURStorageInterestGroup
. AStorageInterestGroup
is a dictionary that extends the AuctionAdInterestGroup dictionary with the following attributes:joinCount
bidCount
previousWins
prevWinsMs
joiningOrigin
timeSinceGroupJoinedMs
lifetimeRemainingMs
From 53d3d64635cb4ca7c7c8c70931ff78a4f223ad12 Mon Sep 17 00:00:00 2001 From: Yao Xiao xyaof3@126.com Date: Tue, 17 Sep 2024 16:02:09 -0400 Subject: [PATCH 3/3] fix formatting
README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md index d9e621d..f99124f 100644 --- a/README.md +++ b/README.md @@ -203,8 +203,8 @@ The shared storage worklet invocation methods (
addModule
,run
, and `selectURtimeUntilNextUpdateMs
estimatedSize
timeSinceGroupJoinedMs
andlifetimeRemainingMs
.timeSinceGroupJoinedMs
andlifetimeRemainingMs
.privateAggregation.contributeToHistogram()
.AUN-97