-
Notifications
You must be signed in to change notification settings - Fork 60
Open
Labels
module-scriptScript moduleScript moduleneeds-discussionIssues to be discussed by the working groupIssues to be discussed by the working group
Description
At the moment Chrome seems to bypass CSPs by default (see #1024 ).
But I can see in CDP there is a dedicated command: https://chromedevtools.github.io/devtools-protocol/tot/Page/#method-setBypassCSP
It seems exposed in puppeteer https://pptr.dev/api/puppeteer.page.setbypasscsp and in playwright https://playwright.dev/docs/api/class-testoptions#test-options-bypass-csp
Are those options similar to the topic discussed in #1024 ? (ie allowing to use "eval", "new Function" etc...) via script evaluation, even if the content page is using strict CSPs.
Metadata
Metadata
Assignees
Labels
module-scriptScript moduleScript moduleneeds-discussionIssues to be discussed by the working groupIssues to be discussed by the working group