-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Fix - 'frame-ancestors' does not support ''unsafe-inline' #33202
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
Conversation
…fe-inline'' Reference: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/frame-ancestors#sources The wrong setting will cause a Chrome console error.
Hi @KeyShang. Thank you for your contribution
❗ Automated tests can be triggered manually with an appropriate comment:
You can find more information about the builds here ℹ️ Please run only needed test builds instead of all when developing. Please run all test builds before sending your PR for review. For more details, please, review the Magento Contributor Guide documentation. 🕙 You can find the schedule on the Magento Community Calendar page. 📞 The triage of Pull Requests happens in the queue order. If you want to speed up the delivery of your contribution, please join the Community Contributions Triage session to discuss the appropriate ticket. 🎥 You can find the recording of the previous Community Contributions Triage on the Magento Youtube Channel ✏️ Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel |
@magento run all tests |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
@magento run all tests |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
@magento run Functional Tests CE, Functional Tests EE, Functional Tests B2B |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
@magento run Functional Tests CE, Functional Tests EE, Functional Tests B2B |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
Hi, I signed the Abobe CLA, but it still said "No signed agreements were found. Please sign the Adobe CLA! Once signed, close and re-open your pull request". |
Make sure you use correct signed CLA account for pull request |
failed test Functional Tests CE seem not related with pull request update |
|
Yes, the pull request is a small change about CSP, there shouldn't be any problem. |
Hi @eduard13, thank you for the review. |
Hi @KeyShang Can you update pull resquest description and update issue ID related ? |
@magento run Functional Tests CE |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
Add it now. |
@magento run Functional Tests CE |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
@magento run Functional Tests CE |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
1 similar comment
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
✔️ QA Passed This PR has fix related to the error that comes in the console of Chrome V91 (or greater than) as below:
Before fix we are getting the above error, please find the screenshot below for reference: After the fix, we are not getting such error in the console, please find the below screenshot for reference: Thanks for the contribution @KeyShang |
Hi @KeyShang, thank you for your contribution! |
Is there any indication when this fix will be added into a Magento release? This fix isn't part of the recent 2.4.3 release which still throws the same "The Content-Security-Policy directive 'frame-ancestors' does not support the source expression ''unsafe-inline''" error. Will this be part of a 2.4.3-p1 or 2.4.4 release? |
@lytesaber: One of the two lines that changed in this PR is part of 2.4.3-p1. If that's enough to fix this problem, I'm not sure though. So it sounds like it will be fixed in 2.4.3-p1, but best is probably to double check after it gets released tomorrow. |
I just updated 2.4.3 to 2.4.3-p1 and this issue still exists |
Description (*)
The wrong setting will cause a Chrome console error: The Content-Security-Policy directive 'frame-ancestors' does not support the source expression ''unsafe-inline''.
Reference: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/frame-ancestors#sources
Related Pull Requests
Fixed Issues (if relevant)
Manual testing scenarios (*)
Questions or comments
Contribution checklist (*)