diff --git a/index.html b/index.html index c915262819..077c2f6e43 100644 --- a/index.html +++ b/index.html @@ -667,7 +667,7 @@

Attribution Reporting

-

Draft Community Group Report,

+

Draft Community Group Report,

This version: @@ -1438,7 +1438,7 @@

A trigger spec map is a map whose keys are unsigned 32-bit integers and values are trigger specs.

-

6.10. Attribution source

+

6.10. Attribution source

An attribution source is a struct with the following items:

source identifier @@ -1901,41 +1901,41 @@

8.

9. Vendor-Specific Values

Max pending sources per source origin is a positive integer that controls how many attribution sources can be in the attribution source cache per source origin.

-

Randomized response epsilon is a non-negative double that controls -the randomized response probability of an attribution source. If automation local testing mode is true, -this is .

+

Max settable event-level epsilon is a non-negative double that +controls the default and maximum values that a source registration can specify +for the epsilon parameter used by compute the channel capacity of a source and obtain a randomized source response.

Randomized null report rate excluding source registration time is a double between 0 and 1 (both inclusive) that controls the randomized number of null reports generated for an attribution trigger whose [attribution trigger/aggregatable source registration time configuration] -is "exclude". If automation local testing mode is true, +is "exclude". If automation local testing mode is true, this is 0.

Randomized null report rate including source registration time is a double between 0 and 1 (both inclusive) that controls the randomized number of null reports generated for an attribution trigger whose [attribution trigger/aggregatable source registration time configuration] -is "include". If automation local testing mode is true, +is "include". If automation local testing mode is true, this is 0.

Max event-level reports per attribution destination is a positive integer that controls how many event-level reports can be in the event-level report cache per site in attribution destinations.

Max aggregatable reports per attribution destination is a positive integer that controls how many aggregatable reports can be in the aggregatable report cache per effective attribution destination.

Max event-level channel capacity per source is a map that -controls how many bits of information can be exposed associated with a single attribution source. +controls how many bits of information can be exposed associated with a single attribution source. The keys are «navigation, event». The values are non-negative integers.

-

Max aggregatable reports per source is a positive integer that controls how many aggregatable reports can be created by attribution triggers attributed to a single attribution source.

+

Max aggregatable reports per source is a positive integer that controls how many aggregatable reports can be created by attribution triggers attributed to a single attribution source.

Max destinations covered by unexpired sources is a positive -integer that controls the maximum number of distinct sites across all attribution destinations for unexpired attribution sources with a given (source site, reporting origin site).

+integer that controls the maximum number of distinct sites across all attribution destinations for unexpired attribution sources with a given (source site, reporting origin site).

Destination rate-limit window is a positive duration that controls the rate-limiting window for destinations.

Max destinations per rate-limit window is a tuple consisting of two integers. The first -controls the maximum number of distinct sites across all attribution destinations for attribution sources with a given source site per destination rate-limit window. -The second controls the maximum number of distinct sites across all attribution destinations for attribution sources with a given (source site, reporting origin site) +controls the maximum number of distinct sites across all attribution destinations for attribution sources with a given source site per destination rate-limit window. +The second controls the maximum number of distinct sites across all attribution destinations for attribution sources with a given (source site, reporting origin site) per destination rate-limit window.

Max source reporting origins per rate-limit window is a positive integer that controls the maximum number of distinct reporting origins for a -(source site, attribution destination) that can create attribution sources per attribution rate-limit window.

+(source site, attribution destination) that can create attribution sources per attribution rate-limit window.

Max source reporting origins per source reporting site is a positive integer that controls the maximum number of distinct reporting origins for a -(source site, reporting origin site) that can create attribution sources per origin rate-limit window.

+(source site, reporting origin site) that can create attribution sources per origin rate-limit window.

Origin rate-limit window is a positive duration that controls the rate-limiting window for max source reporting origins per source reporting site.

Max attribution reporting origins per rate-limit window is a @@ -1945,7 +1945,7 @@

source site, attribution destination, reporting origin site) per attribution rate-limit window.

Randomized aggregatable report delay is a positive duration that controls the -random delay to deliver an aggregatable report. If automation local testing mode is true, +random delay to deliver an aggregatable report. If automation local testing mode is true, this is 0.

Default aggregation coordinator is the aggregation coordinator that controls how to obtain the public key for encrypting an aggregatable report by default.

@@ -2282,19 +2282,19 @@

empty"
-

Neither a source nor a trigger may be registered.

+

Neither a source nor a trigger may be registered.

"event-source"
-

An event source may be registered.

+

An event source may be registered.

"navigation-source"
-

A navigation source may be registered.

+

A navigation source may be registered.

"trigger"

A trigger may be registered.

"event-source-or-trigger"
-

An event source or a trigger may be registered.

+

An event source or a trigger may be registered.

A registrar is one of the following:

@@ -2985,13 +2985,19 @@

randomized response epsilon.

+

Let epsilon be the user agent’s max settable event-level epsilon.

  • -

    If the result of computing the channel capacity of a source with randomizedResponseConfig and epsilon is greater than max event-level channel capacity per source[sourceType], return null.

    +

    Set epsilon to value["event_level_epsilon"] if it exists:

    +
  • +

    If epsilon is not a double, is less than 0, or is greater than the user agent’s max settable event-level epsilon, return null.

    +
  • +

    If automation local testing mode is true, set epsilon to .

    +
  • +

    If the result of computing the channel capacity of a source with randomizedResponseConfig and epsilon is greater than max event-level channel capacity per source[sourceType], return null.

  • Let triggerDataMatchingMode be "modulus".

  • -

    If value["trigger_data_matching"] exists:

    +

    If value["trigger_data_matching"] exists:

    1. If value["trigger_data_matching"] is not a string, return null.

      @@ -3001,7 +3007,7 @@

      trigger_data_matching"].

  • -

    Let source be a new attribution source struct whose items are:

    +

    Let source be a new attribution source struct whose items are:

    source identifier
    @@ -3041,7 +3047,7 @@

    randomized response
    -

    The result of obtaining a randomized source response with randomizedResponseConfig and epsilon.

    +

    The result of obtaining a randomized source response with randomizedResponseConfig and epsilon.

    randomized trigger rate

    The result of obtaining a randomized source response pick rate with randomizedResponseConfig and epsilon.

    @@ -3072,7 +3078,7 @@

    Determine proper charset-handling for the JSON header value.

    11.4. Processing an attribution source

    -

    To check if an attribution source exceeds the time-based destination limits given an attribution source source, run the following steps:

    +

    To check if an attribution source exceeds the time-based destination limits given an attribution source source, run the following steps:

    1. Let matchingSources be all attribution rate-limit records record in the attribution rate-limit cache where all of the following are true:

      @@ -3116,7 +3122,7 @@

      Note: We do not emit an explicit source debug data type for "hit global limit", we only emit a source-success type. For this reason, when both limits are hit, just interpret it as "hit reporting limit" to ensure that the most useful report is sent.

      -

      To check if an attribution source exceeds the unexpired destination limit given an attribution source source, run the following steps:

      +

      To check if an attribution source exceeds the unexpired destination limit given an attribution source source, run the following steps:

      1. Let unexpiredSources be all attribution rate-limit records record in the attribution rate-limit cache where all of the following are true:

        @@ -3143,7 +3149,7 @@
      -

      To obtain a fake report given an attribution source source and +

      To obtain a fake report given an attribution source source and a trigger state triggerState:

      1. @@ -3236,7 +3242,7 @@

        obtain and deliver a debug report on source registration given a source debug data type dataType and an attribution source source:

        +

        To obtain and deliver a debug report on source registration given a source debug data type dataType and an attribution source source:

        1. If source’s debug reporting enabled is false, return.

          @@ -3284,7 +3290,7 @@
        -

        To process an attribution source given an attribution source source:

        +

        To process an attribution source given an attribution source source:

        1. Let destinationRateLimitResult be the result of running check if an attribution source exceeds the time-based destination limit with source.

          @@ -3307,9 +3313,9 @@