[wpt-sync] Sync PR 26970 - Add/Fix META.yml files to ease specs to WPT mapping
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox86 fixed)
| Tracking | Status | |
|---|---|---|
| firefox86 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 26970 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/26970
Details from upstream follow.
b'Fran\xc3\xa7ois Daoust <fd@tidoust.net>' wrote:
Add/Fix META.yml files to ease specs to WPT mapping
I am trying to map specs listed in w3c/browser-specs to their test suites in WPT. Thanks to
META.ymlfiles, I can map about 200 specs in that list directly to a WPT folder based on the spec's URL. I can also associate 30 other specs with WPT folders that do not link to a spec explicitly based on the spec's shortname.There remain 32 cases for which the spec and folder cannot be directly associated because:
- The URL in the
META.ymlfile is not the right one, either because it targets an outdated version of the spec (e.g. because the spec has migrated from WICG to a working group), because it targets the GitHub repository instead of the spec itself, or simply because it is invalid.- There is no spec URL in the
META.ymlfile or there is noMETA.ymlfile, and the folder's name does not match the spec's shortname.This pull request fixes these cases.
I would also be happy to add
META.ymlfiles for the 30 folders that do not expose a URL and that I can only map based on their name, so that the mapping uses a consistent mechanism throughout. Should I complete the PR? Here is the list:<details><summary>List of folders that can only be mapped to a spec based on their name</summary>
badging=> Badging APIcontent-index=> Content Indexcss/css-color-adjust=> CSS Color Adjustment Module Level 1css/css-scroll-anchoring=> CSS Scroll Anchoring Module Level 1css/css-size-adjust=> CSS Mobile Text Size Adjustment Module Level 1custom-state-pseudo-class=> Custom State Pseudo Classdeprecation-reporting=> Deprecation Reportingintervention-reporting=> Intervention Reportingis-input-pending=> isInputPendingjs-self-profiling=> JS Self-Profiling APInetwork-error-logging=> Network Error Loggingorigin-policy=> Origin Policypage-lifecycle=> Page Lifecyclepermissions-request=> Requesting Permissionspermissions-revoke=> Relinquishing Permissionssavedata=> Save Data APIserial=> Web Serial APItrusted-types=> Trusted Typesua-client-hints=> User-Agent Client Hintsweb-otp=> Web OTP APIwebhid=> WebHID APIwebrtc-insertable-streams=> WebRTC Insertable Media using Streamswebrtc-priority=> WebRTC Priority Control APIwebrtc-svc=> Scalable Video Coding (SVC) Extension for WebRTCwebtransport=> WebTransportwebxr/anchors=> WebXR Anchors Modulewebxr/ar-module=> WebXR Augmented Reality Module - Level 1webxr/gamepads-module=> WebXR Gamepads Module - Level 1webxr/hand-input=> WebXR Hand Input Module - Level 1webxr/hit-test=> WebXR Hit Test Module
</details>I note that there exist both a
lifecycleand apage-lifecyclefolder for the Page Lifecycle specification. Is that intended?
| Assignee | ||
Comment 1•5 years ago
|
||
| Assignee | ||
Comment 3•5 years ago
|
||
Comment 4•5 years ago
|
||
| bugherder | ||
Description
•