Except where noted, this presentation is licensed via CC BY SA 4.0
--- ## Hello! [Bocoup](https://bocoup.com), a worker-owned tech consultancy [Mike Pennisi](https://mikepennisi.com) (he/him), a worker-owner --- ## Outline I. Intro to web-features II. Crash-course in WPT test annotation III. Go forth and classify! IV. Discussion: what does it mean to fail this test? --- ## I. Intro to web-features --- ## I. Intro to web-features ### Motivation **High level**: promote understanding of the web platform--both its scope and its availability **Practically speaking**: power [MDN](https://developer.mozilla.org/en-US/docs/Glossary/Baseline/Compatibility), [Can I Use](https://caniuse.com/), [webstatus.dev](https://webstatus.dev), and [Baseline](https://web-platform-dx.github.io/web-features/) (among [many other projects](https://web-platform-dx.github.io/web-features/baseline-in-the-wild/)) ...for more, see "[web-features and Baseline](https://www.youtube.com/watch?v=QzfwNFIXOkM)" [2025] (14min) by Patrick Brosset ([slides](https://www.w3.org/2025/Talks/AC/web-features-patrick-brosset/)) Note: - among developers - to increase confidence in commiting and to surface opportunities for advocacy - among implementers - to prioritize effort --- ## I. Intro to web-features ### Status in test annotation [Incorporated into Test262 as of November, 2025.](https://github.com/tc39/test262/pull/4599) Initial coverage for WPT currently underway. --- ## II. Crash-course in WPT test annotation --- ## II. Crash-course in WPT test annotation ### Anatomy of a `WEB_FEATURES.YML` file [`css/css-values/WEB_FEATURES.yml`](https://github.com/web-platform-tests/wpt/blob/master/css/css-values/WEB_FEATURES.yml): ```yml # `.gitignore` semantics - https://git-scm.com/docs/gitignore features: - name: calc files: - calc-* - "!calc-infinity-*" - name: calc-constants files: - calc-infinity-* ``` [`mediasession/WEB_FEATURES.yml`](https://github.com/web-platform-tests/wpt/blob/master/mediasession/WEB_FEATURES.yml): ```yml features: - name: media-session # The special value `"**"` means "all tests in this directory # and all subdirectories" files: "**" ``` Note: The "files" property can be specified as a list of string values (where each value is a "glob" pattern used to match against the files in the same directory) or the string value `"**"`. --- ## II. Crash-course in WPT test annotation ### Considerations: cross-cutting tests Designed for the sake of convenience ```html x
x