[wpt-sync] Sync PR 62820 - Fix Built-In AI WebDX feature names and add WPT WEB_FEATURES.yml files
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox158 fixed)
| Tracking | Status | |
|---|---|---|
| firefox158 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 62820 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/62820
Details from upstream follow.
Etienne Noël <etiennenoel@chromium.org> wrote:
Fix Built-In AI WebDX feature names and add WPT WEB_FEATURES.yml files
- The WebDXFeature enum name and histogram label map to W3C
web-features IDs by splitting CamelCase on capital letters with hyphens.
Because buckets 420 and 425 were named kLanguageModel /
label="LanguageModel" and kLanguageDetector / label="LanguageDetector",
the pipeline exported them as "language-model" and "language-detector"
instead of the actual web-features IDs "languagemodel" and
"languagedetector". Rename them to kLanguagemodel and kLanguagedetector
and update enums.xml accordingly.Note: While an alternative would be keeping kLanguageModel /
kLanguageDetector in Chromium and renaming the upstream YAML files in
web-platform-dx/web-features to use dashes (language-model.yml and
language-detector.yml with redirects), doing so requires too many
external steps (upstream W3C repo PR review, a new web-features npm
release, and downstream dependency bumps in webstatus.dev and wpt.fyi).
Aligning Chromium's enum names directly with the published web-features
identifiers fixes the dashboards immediately in a single step.
- Add missing WEB_FEATURES.yml files for all Built-In AI APIs present
in web-platform-dx/web-features:
- third_party/blink/web_tests/external/wpt/ai/language-model/WEB_FEATURES.yml ([languagemodel])
- third_party/blink/web_tests/external/wpt/ai/language_detection/WEB_FEATURES.yml ([languagedetector])
- third_party/blink/web_tests/external/wpt/ai/translator/WEB_FEATURES.yml ([translator])
Bug: 563353292
TAG=agy
CONV=22933575-5b82-4d34-8f1c-7aac2d71a7ff
Change-Id: I9bb991048f45681e48ed8426f2e0536139736100
Reviewed-on: https://chromium-review.googlesource.com/8431371
WPT-Export-Revision: 33088454758230296868b7a97c6aa9569de48c59
| Assignee | ||
Comment 1•2 months ago
|
||
| Assignee | ||
Comment 2•2 months ago
|
||
The PR was not expected to affect any tests, but the try push wasn't a success. Check the try results for infrastructure issues
| Assignee | ||
Comment 3•2 months ago
|
||
| Assignee | ||
Comment 4•2 months ago
|
||
The PR was not expected to affect any tests, but the try push wasn't a success. Check the try results for infrastructure issues
| Assignee | ||
Comment 6•2 months ago
|
||
Test result changes from PR not available.
Comment 7•2 months ago
|
||
| bugherder | ||
Description
•