-
Notifications
You must be signed in to change notification settings - Fork 32
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 is ad component field to fenced frame config. #115
Conversation
How will this be used? I'm just trying to get a little context to review this, by understanding how it'll need to look in the future?
... is a little vague. |
For ad component, event reporting works different than the main ad. This boolean field allows related event reporting algorithms to know whether this ad is an ad component or not. Please see the explainer for ad component event reporting. |
OK, could you include some of that context directly in the PR as a non-normative note, because that context is very useful? This seems to be the first time "component ads" are really referenced in the spec, so at the very least linking to that explainer content from the PR would be wonderful. |
Thanks. I've added a note on ad components and the special handling on event reporting. |
I'm not sure that this field is necessary in spec. I think it's used in the implementation only because the renderer can't access the entire frame tree with ancestors' fenced frame properties. But I might be misremembering. |
Should we abandon this or...? I'll trust people more familiar with the implementation these days to make the call. |
This field is used at browser to identify an ad component frame. If we do not mention this field in the spec, is it sufficient to provide a definition of ad component and then describe the algorithm like "if this is an ad component, then ..."? |
Actually maybe "is ad component" is necessary because you can (maybe not right now, but at some point) created nested fenced frames with different constructors, and you want to treat the actual ad component frames differently... |
So shall we land this @gtanzer? |
Sgtm, though maybe "is ad component" should have a default value of false. |
Added default values. |
Still look good @gtanzer ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ping @gtanzer
still lgtm |
Co-authored-by: Dominic Farolino <[email protected]>
SHA: c4e4819 Reason: push, by domfarolino Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This is the first step to spec the ad component reportEvent change.
Preview | Diff