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

"Is element nonceable" not applied to non-<script> elements in Chrome? #643

Open
evilpie opened this issue Feb 12, 2024 · 0 comments
Open

Comments

@evilpie
Copy link
Contributor

evilpie commented Feb 12, 2024

It seems like Chrome doesn't actually apply Is element nonceable? to non-script elements, judging by this code search and some manual testing. I can't tests Webkit, but I suspect they do this correctly (source).

When I added is-element-nonceable to Firefox I followed the more limited Chrome behavior, but I would be interested in seeing this interoperable.

I assume we also want to do this for <link rel=preload>? This also comes back to #635, where this isn't properly defined for non-inline resources!

Edit: And we should be adding more WPTs that cover all the applicable elements.

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

1 participant