-
Notifications
You must be signed in to change notification settings - Fork 216
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
[Spec] Add size API surface to joinAdInterestGroup #1210
base: main
Are you sure you want to change the base?
Conversation
f992588
to
91e8789
Compare
@domfarolino PTAL. @JensenPaul should officially add you as a reviewer soon. |
Seems this will resolve issue #495 ? If so, please add reference to this issue in the description. |
Co-authored-by: qingxinwu <6334674+qingxinwu@users.noreply.github.com>
Co-authored-by: qingxinwu <6334674+qingxinwu@users.noreply.github.com>
Co-authored-by: qingxinwu <6334674+qingxinwu@users.noreply.github.com>
spec.bs
Outdated
@@ -185,13 +185,19 @@ partial interface Navigator { | |||
|
|||
dictionary AuctionAd { | |||
required USVString renderURL; | |||
USVString sizeGroup; |
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.
DOMString? I guess it depends, what does this contain? See https://w3ctag.github.io/design-principles/#idl-string-types
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.
No particular reason to use USVStrings; these are treated as opaque identifiers. Fixed.
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.
but the implementation (AuctionAd.sizeGroup, AuctionAdInterestGroupSize) uses USVString. We need to keep the spec in sync with the implementation. If we want to change it to DOMString, we need to change the implementation as well, which I hope don't need to request some approvals first.
@domfarolino @qingxinwu All comments addressed. |
Add size fields to the API surface for interest group joining / updating, and propagate those fields into interest group browser signals.
Preview | Diff