-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Make JSON schema allow WebGL extension spec URLs #10353
Make JSON schema allow WebGL extension spec URLs #10353
Conversation
We have 61 features with https://www.khronos.org/registry/webgl/extensions/ spec URLs. All https://www.khronos.org/registry/webgl/extensions/ specs lack any ID/anchors at all, and therefore don’t conform to the JSON schema requirement in the compat-data.schema.json file for spec_url values to have a fragment identifier. So this change updates the schema to allow any URLs matching the following pattern: ^https://www.khronos.org/registry/webgl/extensions/[^/]+/ Otherwise, without this change, our CI fails on all those URLs, because it expects to find the required fragment identifier in each of them.
Looks good to me. I opened mdn/yari#3746 just to be sure rendering will never break (The |
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.
Yari PR merged.
I will talk to Daniel about this change, but looks good to me.
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.
The changes in the diff look fine to me, but the corresponding text in compat-data-schema.md
needs updating, too.
OK, thanks — added now |
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.
Thank you! 🎉
* Bump version to v3.3.4 * Add release note for #10353 * Add release note for #10347 * Add release note for #10336 * Add release note for #10415 * Add release note for #10417 * Add release note for #10449 * Add release note for #9933 * Add release note for #10354 * Add release notes for #6944 * Add release note for #10522 * Add release note for #10536 * Add release note for #10539 * Add release note for #10515 * Add release note for #10506 * Add release note for #10291 * Add release note for #10421 * Add release note for #10545 * Add stats
We’re at the point where we need to add spec URLs for 61 WebGL features from https://www.khronos.org/registry/webgl/extensions/ WebGL extension specs.
But all https://www.khronos.org/registry/webgl/extensions/ specs lack any ID/anchors at all, and therefore don’t conform to the JSON schema requirement in the compat-data.schema.json file for
spec_url
values to have a fragment identifier. So this change updates the schema to allow any URLs matching the following pattern:Otherwise, without this change, CI fails on all those URLs, because doesn’t find the required fragment IDs in them.
#10358 is the related data change.