privacysandbox / privacy-sandbox-dev-support

Discuss your Privacy Sandbox developer questions with the Chrome team.
Apache License 2.0
182 stars 76 forks source link

Since Chrome 126: joinAdInterestGroup function unavailable with #enable-fenced-frames #383

Open ccharnay67 opened 3 months ago

ccharnay67 commented 3 months ago

Hello,

We noticed recently on Chrome stable an beta that joinAdInterestGroup (and probably other APIs) were sometimes not available in the browser.

I noticed that this happened in Chrome 126 whenever the #enable-fenced-frames is modified, there is an issue when it is Enabled or Disabled, but not when it is "Default". I am wondering if this could be related to the removal of the #privacy-sandbox-ads-apis flag, since the documentation for #enable-fenced-frames states "This requires #privacy-sandbox-ads-apis to also be enabled."

Enabling #temporary-unexpire-flags-m125 and #privacy-sandbox-ads-apis flags solves the issue, but this sounds like a bug.

On Chrome Beta (128), I notice the API is also not available, no matter the state of the flags.

Can you please have a look?

Thank you in advance

ccharnay67 commented 3 months ago

I should add that now, on Chrome Beta (128.0.6559.0), the API is available when #enable-fenced-frames is either Enabled or Disabled, but not when it's set to Default, which is exactly the opposite from what I see in Chrome 126.0.6478.127, so it is a bit confusing.