patcg-individual-drafts / topics

The Topics API
https://patcg-individual-drafts.github.io/topics/
Other
589 stars 168 forks source link

Attestation check for Topics on url failed #275

Closed li1f closed 8 months ago

li1f commented 8 months ago

Hello : )

I followed the documentation step by step to try using topics api : https://developer.chrome.com/docs/privacy-sandbox/topics/demo/

But there has a problem. When I open the demo webpage cats-cats-cats-cats.glitch.me

console writes:

document.browsingTopics() is supported Attestation check for Topics on https://topics-demo.glitch.me/ failed. Called from topics-demo.glitch.me/observe/index.html in iframe: Array(0) Number of topics: 0 Attestation check for Topics on https://cats-cats-cats-cats.glitch.me/ failed.

And It also didn't calculate the topics, that I can't observate the result from chrome://topics-internals

I use chrome beta 120.0.6099.18

Thanks for any help.

li1f commented 8 months ago

I missed setting "enable chrome://flags/#privacy-sandbox-enrollment-overrides and add https://topics-demo.glitch.me", after I setting it, the "Attestation check for Topics on url failed." problem has been fix.