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

[FEAT/FIX]: Core/Report - CSP Refactoring (garris#1171) #92

Open
dgrebb opened this issue Jan 15, 2024 · 0 comments
Open

[FEAT/FIX]: Core/Report - CSP Refactoring (garris#1171) #92

dgrebb opened this issue Jan 15, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request feature-request tests Testing-related tasks and enhancements.

Comments

@dgrebb
Copy link
Owner

dgrebb commented Jan 15, 2024

Problem

Content-Security-Policy is beginning to grow in popularity, and CSS/Script injections will increasingly be blocked.

This applies to:

Solution

Puppeteer

Important

CSP bypassing happens at the moment of CSP initialization rather than evaluation. Usually, this means that page.setBypassCSP should be called before navigating to the domain.

Playwright

@dgrebb dgrebb added enhancement New feature or request feature-request tests Testing-related tasks and enhancements. labels Jan 15, 2024
@dgrebb dgrebb added this to the Core Enhancements milestone Jan 15, 2024
@dgrebb dgrebb self-assigned this Jan 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature-request tests Testing-related tasks and enhancements.
Projects
None yet
Development

No branches or pull requests

1 participant