attribution-reporting-api icon indicating copy to clipboard operation
attribution-reporting-api copied to clipboard

[Spec bug] attribution sources must be gated by transient activation

Open csharrison opened this issue 3 years ago • 2 comments
trafficstars

See https://html.spec.whatwg.org/multipage/interaction.html#transient-activation

This is done currently in the Chromium implementation:

  1. Anchors
  2. window.open

csharrison avatar Dec 13 '21 22:12 csharrison

Should this also apply to window.attributionReporting.registerAttributionSource?

apasel422 avatar Dec 15 '21 17:12 apasel422

No, registerAttributionSource and the other APIs that trigger event sources shouldn't require activation, it would jeopardize the view-through use-case.

csharrison avatar Dec 15 '21 18:12 csharrison