Skip to content

Conversation

@juliandescottes
Copy link
Contributor

@juliandescottes juliandescottes commented Feb 5, 2026

Fixes #1033

This adds a new browsingContext command which will store the desired configuration regarding bypassing CSP either for a set of contexts or user contexts.

The configuration is stored in a map on the remote end.

BiDi exposes a hook to be called by the CSP3 spec in order to check if CSP Bypass is in effect for a given navigable.


Preview | Diff

@juliandescottes
Copy link
Contributor Author

juliandescottes commented Feb 5, 2026

I am not getting the build error locally with the same version of bikeshed ...

(alright after a rebase on main I could see the same errors finally)

@whimboo
Copy link
Contributor

whimboo commented Feb 5, 2026

Just one thought for now.. maybe we can name it like CDP setBypassCSP? IMO this as well reads better by not having the capital letters in the middle of the name.

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

Successfully merging this pull request may close these issues.

Should BiDi expose a command / configuration to bypass CSP

2 participants