-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Prevent leaking of variables to global scope #27622
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
Prevent leaking of variables to global scope #27622
Conversation
Hi @krzksz. Thank you for your contribution
For more details, please, review the Magento Contributor Guide documentation. |
lib/internal/Magento/Framework/RequireJs/Test/Unit/ConfigTest.php
Outdated
Show resolved
Hide resolved
Hi @ihor-sviziev, thank you for the review. |
✔️ QA Passed JS Minification still works as previously(expected) |
@magento create issue |
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.
@krzksz please resolve the conflicts and re-run tests after upgrade to PHP 7.4
Pull Request state was updated. Re-review required.
@magento run all tests |
Hi @VladimirZaets, thank you for the review. |
Hi @krzksz, thank you for your contribution! |
Description (*)
This PR adjusts minification file resolver for RequreJS that is generated to prevent leaking of variables it uses to global scope.
Manual testing scenarios (*)
.min.js
files are requested.ctx
,origNameToUrl
andbaseUrl
variables underwindow
leaked.Resolved issues: