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

Add WPTs for CSP sandbox allow-scripts combined with Trusted Types #513

Open
mbrodesser-Igalia opened this issue May 9, 2024 · 2 comments
Milestone

Comments

@mbrodesser-Igalia
Copy link
Collaborator

https://w3c.github.io/webappsec-csp/#directive-sandbox

The sandbox directive is ignored when delivered via a <meta> tag.

@mbrodesser-Igalia mbrodesser-Igalia added this to the v1 milestone May 13, 2024
@annevk
Copy link
Member

annevk commented May 13, 2024

Are you asking if they are required because it's hard to use an HTTP header (shouldn't be)?

@mbrodesser-Igalia
Copy link
Collaborator Author

Are you asking if they are required because it's hard to use an HTTP header (shouldn't be)?

Not because of that. Because I wasn't sure it's a relevant scenario for trusted-types. But since it's a possible scenario, there should be tests.

@mbrodesser-Igalia mbrodesser-Igalia changed the title Are WPTs for CSP sandbox allow-scripts required? Add WPTs for CSP sandbox allow-scripts combined with Trusted Types May 13, 2024
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