[wpt-sync] Sync PR 58465 - adds new lint rule for ineffective exclusion patterns in WEB_FEATURES.yml
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox151 fixed)
| Tracking | Status | |
|---|---|---|
| firefox151 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 58465 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/58465
Details from upstream follow.
Chris Cuellar <58723+ChrisC@users.noreply.github.com> wrote:
adds new lint rule for ineffective exclusion patterns in WEB_FEATURES.yml
This adds functionality to the WPT linter to cross-check files listed in an exclusion pattern in a WEB_FEATURES.yml (e.g. "!some-file.html" or "!some-file-*") and raises an error if it finds a redundant or simply ineffective exclusion pattern.
Keeping track of exclusions can be a problem on WEB_FEATURES.yml files with lots of different web features with lots of potential unexpected overlap (there's good examples of this complexity in the newly raised lint errors fixed in this commit.)
cc @jcscottiii @jugglinmike @foolip
| Assignee | ||
Comment 1•8 months ago
|
||
| Assignee | ||
Comment 2•8 months ago
|
||
| Assignee | ||
Comment 4•7 months ago
|
||
Description
•