generated from privacycg/template
-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Labels
cr-blockerThis issue needs be resolved before we go to CR (snapshot).This issue needs be resolved before we go to CR (snapshot).
Description
While working on end-to-end tests for the clear impressions for a conversion site
algorithm in the simulator, I wondered about a few possible issues:
- Step 1 (
If origin is not a tuple origin with a scheme of https, return.
) is unnecessary to include in the specification, as it is simply an optimization in the case that the origin is opaque or non-HTTPS, which would need to be adjusted for Site identification and localhost #146. It would be more future-proof to remove this step. - As currently specified, a top-level site that registers an impression is not capable of removing it (though an intermediary site that registers one is capable of doing so). According to Clear-Site-Data integration #125 (comment) this was intentional, but I'm not sure there's a good reason to prevent it: What if an impression site registers impressions with an empty conversion sites set (allowing conversions anywhere), but realizes that they made a mistake in their other options (e.g.
matchValue
)? It might make sense to allow the impression site to clear out impressions with a step like "Ifimpression
's intermediary site isundefined
and its impression site is equal tosite
, removeimpression
from the impression store." so that they don't get bogus conversions. - The algorithm is misleadingly named, precisely because of that intermediary-site check, which is unrelated to conversion sites.
- It's unclear to me whether we should allow conversion callers to remove impressions, in addition to conversion sites, as Clear-Site-Data integration #160 was written before the conversion-callers concept was added to the spec.
Metadata
Metadata
Assignees
Labels
cr-blockerThis issue needs be resolved before we go to CR (snapshot).This issue needs be resolved before we go to CR (snapshot).