Closed Bug 1683680 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 26970 - Add/Fix META.yml files to ease specs to WPT mapping

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox86 fixed)

RESOLVED FIXED
86 Branch
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.yml files, 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:

  1. The URL in the META.yml file 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.
  2. There is no spec URL in the META.yml file or there is no META.yml file, 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.yml files 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>

I note that there exist both a lifecycle and a page-lifecycle folder for the Page Lifecycle specification. Is that intended?

Linked to https://github.com/w3c/browser-specs/issues/201

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e4f76098845e [wpt PR 26970] - Add/Fix META.yml files to ease specs to WPT mapping, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 86 Branch
You need to log in before you can comment on or make changes to this bug.