Skip to content

Commit

Permalink
Merge branch 'WICG:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
orrb1 authored Sep 5, 2023
2 parents 6c5780b + 581cad8 commit 6cbb637
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 9 deletions.
6 changes: 4 additions & 2 deletions FLEDGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,11 @@ The `updateURL` provides a mechanism for the group's owner to update the attribu
of the interest group: any new values returned in this way overwrite the values
previously stored (except that the `name` and `owner` cannot be changed, and
`prioritySignalsOverrides` will be merged with the previous value, with `null`
meaning a value should be removed from the interest group's old dictionary). This
meaning a value should be removed from the interest group's old dictionary). The HTTP request
will not include any metadata, so data such as the interest group `name` should be
included within the URL. The updates are done after auctions so as not to slow down
included within the URL. Note that the lifetime of an Interest Group is not affected by the update mechanism — ad targeting based on a person's activity on a site remains limited to 30 days after the most recent site visit.

The updates are done after auctions so as not to slow down
the auctions themselves. The updates are rate limited to running at most daily to
conserve resources. An update request only contains information from the single site
where the user was added to the interest group. At a later date we can consider
Expand Down
48 changes: 41 additions & 7 deletions spec.bs
Original file line number Diff line number Diff line change
Expand Up @@ -721,7 +721,7 @@ To <dfn>asynchronously finish reporting</dfn> given a
1. If |buyerMap| is null, set |buyerMap| to an empty [=map=] «[]».
1. [=Finalize a reporting destination=] with |reportingMap|,
{{FenceReportingDestination/buyer}}, and |buyerMap|.
1. TODO: Fetch |leadingBidInfo|'s [=leading bid info/buyer reporting result=]'s
1. [=Send report=] to |leadingBidInfo|'s [=leading bid info/buyer reporting result=]'s
[=reporting result/report url=].
1. Set |buyerDone| to true.
1. If |sellerDone| is false and |leadingBidInfo|'s [=leading bid info/seller reporting result=]
Expand All @@ -731,7 +731,7 @@ To <dfn>asynchronously finish reporting</dfn> given a
1. If |sellerMap| is null, set |sellerMap| to an empty [=map=] «[]».
1. [=Finalize a reporting destination=] with |reportingMap|,
{{FenceReportingDestination/seller}}, and |sellerMap|.
1. TODO: Fetch |leadingBidInfo|'s [=leading bid info/seller reporting result=]'s
1. [=Send report=] to |leadingBidInfo|'s [=leading bid info/seller reporting result=]'s
[=reporting result/report url=].
1. Set |sellerDone| to true.
1. If |componentSellerDone| is false and |leadingBidInfo|'s
Expand All @@ -742,7 +742,7 @@ To <dfn>asynchronously finish reporting</dfn> given a
1. If |componentSellerMap| is null, set |componentSellerMap| to an empty [=map=] «[]».
1. [=Finalize a reporting destination=] with |reportingMap|,
{{FenceReportingDestination/component-seller}}, and |componentSellerMap|.
1. TODO: Fetch |leadingBidInfo|'s [=leading bid info/component seller reporting result=]'s
1. [=Send report=] to |leadingBidInfo|'s [=leading bid info/component seller reporting result=]'s
[=reporting result/report url=].
1. Set |componentSellerDone| to true.

Expand Down Expand Up @@ -1543,7 +1543,10 @@ To <dfn>fetch script</dfn> given a [=URL=] |url|:
:: "`error`"

Issue: One of the side-effects of a `null` client for this subresource request is it neuters all
service worker interceptions, despite not having to set the service workers mode.
service worker interceptions, despite not having to set the service workers mode.

Issue: Stop using "`no-cors`" mode where possible
(<a href="https://github.com/WICG/turtledove/issues/667">WICG/turtledove#667</a>).
1. Let |script| be null.
1. [=Fetch=] |request| with [=fetch/useParallelQueue=] set to true, and
[=fetch/processResponseConsumeBody=] set to the following steps given a [=response=] |response|
Expand Down Expand Up @@ -1575,7 +1578,10 @@ To <dfn>fetch WebAssembly</dfn> given a [=URL=] |url|:
:: "`error`"

Issue: One of the side-effects of a `null` client for this subresource request is it neuters all
service worker interceptions, despite not having to set the service workers mode.
service worker interceptions, despite not having to set the service workers mode.

Issue: Stop using "`no-cors`" mode where possible
(<a href="https://github.com/WICG/turtledove/issues/667">WICG/turtledove#667</a>).
1. Let |moduleObject| be null.
1. [=Fetch=] |request| with [=fetch/processResponseConsumeBody=] set to the following steps given
a [=response=] |response| and null, failure, or a [=byte sequence=] |responseBody|:
Expand Down Expand Up @@ -1615,7 +1621,10 @@ To <dfn>fetch trusted signals</dfn> given a [=URL=] |url|, and a [=boolean=] |is
:: "`error`"

Issue: One of the side-effects of a `null` client for this subresource request is it neuters all
service worker interceptions, despite not having to set the service workers mode.
service worker interceptions, despite not having to set the service workers mode.

Issue: Stop using "`no-cors`" mode where possible
(<a href="https://github.com/WICG/turtledove/issues/667">WICG/turtledove#667</a>).
1. Let |signals| be null.
1. Let |dataVersion| be null.
1. Let |formatVersion| be null.
Expand Down Expand Up @@ -1714,6 +1723,28 @@ Note: When trusted scoring signals fetches are not batched, |renderURLs|'s [=lis

</div>

<div algorithm>
To <dfn>send report</dfn> given a [=URL=] |url|:

1. Let |request| be a new [=request=] with the following properties:
: [=request/URL=]
:: |url|
: [=request/client=]
:: `null`
: [=request/mode=]
:: "`no-cors`"
: [=request/referrer=]
:: "`no-referrer`"
: [=request/credentials mode=]
:: "`omit`"
: [=request/redirect mode=]
:: "`error`"

Issue: Stop using "`no-cors`" mode where possible
(<a href="https://github.com/WICG/turtledove/issues/667">WICG/turtledove#667</a>).
1. [=Fetch=] |request| with [=fetch/useParallelQueue=] set to true.
</div>

<div algorithm>

To <dfn>serialize an integer</dfn>, represent it as a string of the shortest possible decimal
Expand Down Expand Up @@ -2642,7 +2673,10 @@ The <dfn for=Navigator method>updateAdInterestGroups()</dfn> method steps are:
:: "`error`"

Issue: One of the side-effects of a `null` client for this subresource request is it neuters
all service worker interceptions, despite not having to set the service workers mode.
all service worker interceptions, despite not having to set the service workers mode.

Issue: Stop using "`no-cors`" mode where possible
(<a href="https://github.com/WICG/turtledove/issues/667">WICG/turtledove#667</a>).
1. Let |update| be null.
1. [=Fetch=] |request| with [=fetch/useParallelQueue=] set to true, and
[=fetch/processResponseConsumeBody=] set to the following steps given a [=response=] |response|
Expand Down

0 comments on commit 6cbb637

Please sign in to comment.