-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Added attribute crossorigin to head.xsd for linkTypes #32455
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
Added attribute crossorigin to head.xsd for linkTypes #32455
Conversation
Hi @erfanimani. 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 |
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.
Hi @erfanimani,
Could you cover your changes with some kind of test?
Hi @ihor-sviziev, thanks for the feedback. I don't think a unit test or functional test is fitting for a pure XSD change. Do you have any suggestions? |
Yeah, it seems like we don't have any test coverage for XSD schemas. Let's not cover it. @magento run all tests |
@magento run WebAPI 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.
✔ Approved
Failing WebAPI tests looks not related to changes from this PR. The SVC failure probably should be approved additionally.
Hi @ihor-sviziev, thank you for the review. |
Thanks all. I've also added the attribute integrity, as the referenced issue: #32509 (https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity) @magento run all tests |
@magento run all tests |
@magento run Functional Tests B2B, Functional Tests EE, WebAPI 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 Semantic Version Checker |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please message the #magento-devops slack channel if they don't show in a reasonable amount of time and a representative will look into any issues. |
@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 message the #magento-devops slack channel if they don't show in a reasonable amount of time and a representative will look into any issues. |
@magento run Functional Tests B2B, Functional Tests CE, Functional Tests EE |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please message the #magento-devops slack channel if they don't show in a reasonable amount of time and a representative will look into any issues. |
It took some time, but is finally happening :) |
Description (*)
Allows the crossorigin attribute to be added to
link
types, for HEAD elements, in as per https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/crossoriginRelated Pull Requests
N/A
Fixed Issues (if relevant)
These issues/features are related:
Manual testing scenarios (*)
<css src="https://my.cdn.com/style.min.css" media="screen" src_type="url" crossorigin="anonymous"/>
to default_head_blocks.xmlQuestions or comments
There's probably already some work in the pipeline regarding this work, but I thought I would create a PR anyway as I need the diff for a patch.
Contribution checklist (*)