privacycg / private-click-measurement

Private Click Measurement
https://privacycg.github.io/private-click-measurement/
199 stars 8 forks source link

Consideration for links in sourceless iframes #4

Closed bloodyowl closed 5 years ago

bloodyowl commented 5 years ago

Sourceless iframes (src="about:blank" or srcdoc="") can be used:

AFAIK it's also used by AMP to provide similar kinds of isolation.

Given they don't have by themselves access to any storage, it'd be nice if links in sourceless iframes were considered to be first-party links and enable them ad click attribute for them.

othermaciej commented 5 years ago

Sourceless iframe of that type are considered same-origin with the parent. It probably makes sense to allow this API in same-origin frames,. since they are effectively part of the same page, just a specific way of constructing it.

johnwilander commented 5 years ago

This sounds reasonable to me too.

johnwilander commented 5 years ago

This request will be handled by the changes we discuss in https://github.com/WICG/ad-click-attribution/issues/7 so closing this one.