github web-platform-tests/wpt merge_pr_48492

latest releases: merge_pr_49470, epochs/three_hourly/2024-12-03_06H, epochs/six_hourly/2024-12-03_06H...
4 months ago

[bfcache]Add new AILanguageDetector* classes and functions

This CL adds new AILanguageDetector/AILanguageDetectorFactory/
AILanguageDetectorCapabilities classes to match the new version of
API proposal[1].
Functions are mostly copied and pasted from the old version of the code.

[1] https://github.com/WICG/translation-api?tab=readme-ov-file#full-api-surface-in-web-idl

Bug: 349927087
Change-Id: I1eed4cb0d54e8388398aef642943c0d6a76857f1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5892958
Reviewed-by: Fergal Daly fergal@chromium.org
Commit-Queue: Yuzu Saijo yuzus@chromium.org
Cr-Commit-Position: refs/heads/main@{#1364800}

Don't miss a new wpt release

NewReleases is sending notifications on new releases.