Skip to content
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

Dev Tools Interest Group Joining Doesn't Show Priority Related Elements #1042

Open
thegreatfatzby opened this issue Feb 17, 2024 · 2 comments
Assignees

Comments

@thegreatfatzby
Copy link
Contributor

The Dev Tools --> Application --> Interest Group pane doesn't show fields like:

  • priority
  • priorityVector
  • prioritySignalsOverrides
  • enableBiddingSignalPrioritiztion

The code that created the IG looks like this:
var interestGroup = { owner: 'https://www.pst-dsp.com', name:InterestGroupabc, priorityVector: { signalA: 1 }, prioritySignalsOverrides: { signalA: 1 }, enableBiddingSignalsPrioritization: 1, priority: 10, lifetimeMs: 1000 * 60 * 60 * 24 * 30, ads: [], biddingLogicUrl: 'https://www.pst-dsp.com/bidding.js' }; await navigator.joinAdInterestGroup(interestGroup);

Here is the Dev Tools values displayed, w/o priority fields:
Screenshot 2024-02-17 at 3 58 42 PM

And here we see the expected db values, indicating it was correctly joined.
Screenshot 2024-02-17 at 4 17 58 PM

Also demo here.

This is minor, would be good as part of general introspection, debugging, etc.

@morlovich morlovich self-assigned this Feb 29, 2024
@morlovich
Copy link
Collaborator

@brusshamilton what do you think of changing this to just be an object in devtools and have a blink::InterestGroup::SerializeForDevtools the way I did for AuctionConfig?

aarongable pushed a commit to chromium/chromium that referenced this issue Mar 12, 2024
... to match how AuctionConfig works, and add in missing fields.
Basically, instead of having a detailed type in devtools protocol ---
which frontend didn't really make any use of, it just JSONifies the
value --- have it as `object` and fill in a base::Value::Dict ourselves.

Fixes WICG/turtledove#1042

Change-Id: I9e2cd5d8857c404d6333f20509bb3e65968a554b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5340990
Commit-Queue: Maks Orlovich <[email protected]>
Reviewed-by: Russ Hamilton <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1271547}
@morlovich
Copy link
Collaborator

Should be fixed as of 124.0.6355.0 canary

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants