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

Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'interest-cohort'. #23

Open
flachware opened this issue Jun 15, 2022 · 2 comments

Comments

@flachware
Copy link
Collaborator

We get this warning in the browser console because GitHub Pages has disabled FLoC but we use navigator.platform and navigator.userAgent in the OS helper.

@inukshuk
Copy link
Member

On Firefox we also get a warning for the Apple M1 detection. Need to change it to w.getParameter(w.RENDERER).

inukshuk added a commit that referenced this issue Jun 20, 2022
inukshuk added a commit that referenced this issue Jun 25, 2022
@inukshuk
Copy link
Member

Where do you get this error?

I've updated the helper to user the low entropy client hints if available -- does that get right of the error for you?

We could use the high entropy hint 'architecture' to reliably detect arm64 on macOS on Chrome. That would mean we could detect M1 on Firefox (via the GPU) and on Chrome via the hint. Still no idea what to do about Safari though.

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