-
Notifications
You must be signed in to change notification settings - Fork 9.4k
AC-12731 Issue#39020 Rendering the critical css inline event via csp … #39040
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
AC-12731 Issue#39020 Rendering the critical css inline event via csp … #39040
Conversation
…inline secure render
Hi @Mohamed-Asar. Thank you for your contribution! Add the comment under your pull request to deploy test or vanilla Magento instance:
❗ Automated tests can be triggered manually with an appropriate comment:
Allowed build names are:
You can find more information about the builds here For more details, review the Code Contributions documentation. |
@magento run all tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @Mohamed-Asar,
Thanks for the contribution!
Please make the changes as suggested below.
Thanks
{ | ||
public function __construct( | ||
ScopeConfigInterface $scopeConfig, | ||
InlineUtilInterface $cspInlineUtil |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New Params in Constructor should be null and handle it with ObjectManager
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@engcom-Hotel Changes done. please check
….com/Mohamed-Asar/magento2 into bug/AC-12731-csp-inline-critical-css
@magento run all tests |
It seems that review changes has been covered so moved it back to review |
@magento run Functional Tests CE, Functional Tests EE, Static Tests, Unit Tests |
@magento run all tests |
Hi @Mohamed-Asar, Thanks for the collaboration & contribution! ✔️ QA PassedPreconditions:
Steps to reproduce
Before: ✖️ ![]() After: ✔️ ![]() Checkout pages are rendered with proper css styles Builds are failed. Hence, moving this PR to Extended Testing. Thanks |
@magento run Functional Tests B2B, Functional Tests CE, Functional Tests EE, Integration Tests, Static Tests, Unit Tests |
@magento run Functional Tests B2B, Functional Tests CE, Functional Tests EE, Integration Tests, Static Tests, Unit Tests |
@magento run Functional Tests B2B, Functional Tests CE, Functional Tests EE, Integration Tests, Static Tests, Unit Tests |
@magento run all tests |
….com/Mohamed-Asar/magento2 into bug/AC-12731-csp-inline-critical-css
@engcom-Charlie I fixed the unit cases issue |
@magento run all tests |
@magento run Functional Tests B2B, Functional Tests EE, Static Tests |
@magento run Static Tests |
@magento run all tests |
@magento run Functional Tests B2B, Functional Tests EE, Static Tests |
@magento run all tests |
@magento run Functional Tests CE |
@magento run Functional Tests EE, Functional Tests B2B |
5c24c15
into
magento:2.4-develop
Hello, |
Description (*)
Rendering the critical css inline event via csp inline secure render
Fixed Issues (if relevant)
Manual testing scenarios (*)