-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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 srcdoc aliasing its parent's CSP or copying it? #2594
Labels
Comments
@andypaicu you could probably help solve this somehow, if it isn't already solved. |
Oh I think we discussed this in w3c/webappsec-csp#207. It's a copy never a reference. The spec has been updated since to be more clear. |
Ah, thanks. So what remains is that HTML needs to use https://infra.spec.whatwg.org/#list-clone on the CSP list and not just set it to the |
I'll PR. |
annevk
added a commit
that referenced
this issue
Oct 11, 2018
See w3c/webappsec-csp#207 for context. Tests: ??? Fixes #2594.
annevk
added a commit
that referenced
this issue
Oct 12, 2018
See w3c/webappsec-csp#207 for context. Tests: web-platform-tests/wpt#8520. Fixes #2594.
mustaqahmed
pushed a commit
to mustaqahmed/html
that referenced
this issue
Feb 15, 2019
See w3c/webappsec-csp#207 for context. Tests: web-platform-tests/wpt#8520. Fixes whatwg#2594.
mustaqahmed
pushed a commit
to mustaqahmed/html
that referenced
this issue
Feb 15, 2019
See w3c/webappsec-csp#207 for context. Tests: web-platform-tests/wpt#8520. Fixes whatwg#2594.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's not entirely clear to me from the spec. https://w3c.github.io/webappsec-csp/#initialize-document-csp is aliasing things from parent/opener but not explicitly aliasing things from the response. And the response creation at https://html.spec.whatwg.org/multipage/embedded-content.html#process-the-iframe-attributes in the srcdoc case doesn't make it clear whether the CSP list is set by value or by reference...
The text was updated successfully, but these errors were encountered: