attribution-reporting-api
attribution-reporting-api copied to clipboard
Event-level report prioritization and deduplication interact unintuitively
Consider the following scenario:
- A source
S
is registered withmax_event_level_reports = 1
. - A trigger
T1
with dedup keyD1
and priority100
is attributed toS
, creating reportR1
. - A trigger
T2
with dedup keyD2
and priority200
is attributed toS
, causingR1
to be replaced with a new reportR2
. - A trigger
T3
with dedup keyD1
and priority300
is attributed toS
. No report is created, because the dedup keyD1
is still associated withS
.
This might be surprising behavior, as arguably D1
should have been deleted when R1
was.