-
Notifications
You must be signed in to change notification settings - Fork 47
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
Add tests to compare base URL with release/nightly URL #72
Conversation
The base URL should either match the release URL if there is one or the nightly URL otherwise. New tests will fail when there are entries in `index.json` for which that is not the case. The first test should also help with identification of situations where a FPWD was published, and is known to Specref but not to us (w3c#62). Note that, as opposed to other tests that only depend on internal code logic, the second test may fail because external sources (Specref in practice) need to be fixed to return the right nightly URL. Fixing the problem at the source may take some time.
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.
I think that for tests that may fail for external reasons (and thus with undetermined delays before they get fixed), I would prefer us to use the approach we're considering in #71 where they get reported as issues rather than making the build fail.
I don't disagree. Let's leave this pull request pending while we figure out how to set things up for #71. |
- Use TR URL for geolocation-sensor - Use TR URL for reporting-1 - Use TR URL for feature-policy-1 - Use TR URL for accname-1.2 - Use TR URL for core-aam-1.2 - Add css-box-4 (on top of -3, which is still "active") - Add user-timing-3 (on top of -2, which is still the "default" for user-timing) - Replace webdriver1 with webdriver2 - Adjust shortname for webxr-ar-module-1 (fixed in W3C API) - Adjust shortname for webxr-gamepads-module-1 (fixed in W3C API)
- Use TR URL for geolocation-sensor - Use TR URL for reporting-1 - Use TR URL for feature-policy-1 - Use TR URL for accname-1.2 - Use TR URL for core-aam-1.2 - Move to W3C URL for badging - Add css-box-4 (on top of -3, which is still "active") - Add user-timing-3 (on top of -2, which is still the "default" for user-timing) - Replace webdriver1 with webdriver2 - Adjust shortname for webxr-ar-module-1 (fixed in W3C API) - Adjust shortname for webxr-gamepads-module-1 (fixed in W3C API)
- Use TR URL for geolocation-sensor - Use TR URL for reporting-1 - Use TR URL for feature-policy-1 - Use TR URL for accname-1.2 - Use TR URL for core-aam-1.2 - Move to W3C URL for badging - Add css-box-4 (on top of -3, which is still "active") - Add user-timing-3 (on top of -2, which is still the "default" for user-timing) - Replace webdriver1 with webdriver2 - Adjust shortname for webxr-ar-module-1 (fixed in W3C API) - Adjust shortname for webxr-gamepads-module-1 (fixed in W3C API)
Superseded by #192 |
The base URL should either match the release URL if there is one or the nightly URL otherwise. New tests will fail when there are entries in
index.json
for which that is not the case.The first test should also help with identification of situations where a FPWD was published, and is known to Specref but not to us (#62).
Note that, as opposed to other tests that only depend on internal code logic, the second test may fail because external sources (Specref in practice) need to be fixed to return the right nightly URL. Fixing the problem at the source may take some time. Making tests fail certainly creates a strong incentive to fix the problem upstream, but means we're going to be stuck in a "some tests fail" situation in the meantime.
Typically, the tests currently choke on:
https://www.w3.org/TR/webxr-ar-module/
: the W3C API says that the release URL ishttps://www.w3.org/TR/webxr-ar-module-1/
but then the right shortname for the W3C API remainswebxr-ar-module
. If we add-1
to the base URL, the code won't be able to retrieve the info from the W3C API. Trying to see if this can be fixed in W3C systems.https://www.w3.org/TR/webxr-gamepads-module/
: same reasonhttps://drafts.csswg.org/css-backgrounds-4/
: Specref returnshttps://drafts.csswg.org/css4-background/
for the nightly URL. Filed [biblio.ref] Update URLs of css-backgrounds-4 and css-page-template-1 csswg-drafts#5194 to address this at the sourcehttps://wicg.github.io/badging/
: URL needs to be updated tohttps://w3c.github.io/badging/
in specs.jsonhttps://wicg.github.io/geolocation-sensor/
: URL needs to be updated tohttps://www.w3.org/TR/geolocation-sensor/
in specs.jsonhttps://wicg.github.io/frame-timing/
: spec was published as a /TR/ Note but moved back to WICG. The URL of the ED URL needs to be updated in W3C systems (request sent).PR should not be merged until these get fixed.