Facing the Same Issue?
Disable the attestation check while deactivating the topic API by setting the header:
Permissions-Policy: browsing-topics=()
This can be done in an .htaccess file as well:
<IfModule mod_headers.c> Header set Permissions-Policy "browsing-topics=()" </IfModule>
Try Disabling Browser Extensions
Some browser extensions can trigger this warning. Try disabling them to see if it resolves the issue.
Solution for Node.js + Express
const express = require("express"); const app = express(); app.use((req, res, next) => { res.append('Permissions-Policy', 'browsing-topics=()'); next(); });
Experimental Feature: browsing-topics
The browser checks for the browsing-topics Permission-Policy and fails to find it because most websites have not implemented this experimental feature yet.
Refer to the MDN Web Docs for more information: Permission-Policy
Set the Permission-Policy Header
To avoid the dev console error, set the Permission-Policy header as follows:
Permissions-Policy: browsing-topics=()
You can also do this in an .htaccess file:
<IfModule mod_headers.c> Header set Permissions-Policy "browsing-topics=()" </IfModule>
For nginx:
server { ... add_header Permissions-Policy "browsing-topics=()" always; ... }
For Node.js:
const express = require("express"); const app = express(); app.use((req, res, next) => { res.append('Permissions-Policy', 'browsing-topics=()'); next(); });