-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add experimental features join-ad-interest-group and run-ad-auction #438
Conversation
(Edit: I am dumb. That's what this is. :) ) The explainer linked in this PR doesn't list either of these feature names. It would be ideal to update that document to define the feature, and its default allowlist (for example: https://wicg.github.io/idle-detection/#api-permissions-policy). |
(Also, for IPR reasons, you'll need to link your GitHub account with a W3C account, and follow the (Google internal) instructions at go/github to get into the right GitHub group.) |
The explainer is updated to mention the feature names. It also talks about the ideal default allowlist, but we think the allowlist details fit more in a spec (which is still in progress) than in the explainer. Please let me know if there's any question. Thanks! |
Hey @qingxinwu - would it makes sense at this point to link these features to the spec instead, now that the feature definition has been integrated there? |
Ping @qingxinwu :) |
Update features "join-ad-interest-group" and "run-ad-auction" link from explainer to spec.
Updated to link to the spec. |
Thanks! |
Features join-ad-interest-group and run-ad-auction are enabled by default for all frames. The default behavior will be changed to same-origin iframes only in near future, before third party cookie is deprecated.
There is a flag AdInterestGroupAPIRestrictedPolicyByDefault (--enable-features=AdInterestGroupAPIRestrictedPolicyByDefault) which will disable the two features for cross-origin iframes by default. Then cross-origin iframes need to specify an allow attribute on the iframe, e.g. <iframe src="some_page.html" allow="join-ad-interest-group"></iframe>, in order to access the features.