Closed Bug 1953943 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 51334 - [Language Detector] Add WPT for `ai.languageDetector.availability()`

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

RESOLVED FIXED
138 Branch
Tracking Status
firefox138 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 51334 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/51334
Details from upstream follow.

Christine Hollingsworth <christinesm@chromium.org> wrote:

[Language Detector] Add WPT for ai.languageDetector.availability()

Adds WPT test coverage for availability() prior to removal of
deprecated capabilities() code in crrev.com/c/6346971.

Bug: 400958619
Change-Id: Idb83851c5f39db3aa7662b252afdae9070d7a7dd
Reviewed-on: https://chromium-review.googlesource.com/6347014
WPT-Export-Revision: b89f5a080a778c42547570dfc4eacc7f3f17292f

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 5 tests

Status Summary

Firefox

OK : 4
PASS : 1
FAIL : 16

Chrome

PASS : 1
TIMEOUT: 8
NOTRUN : 12

Safari

OK : 4
PASS : 1
FAIL : 16

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /ai/language_detection/detector.https.tentative.any.html [wpt.fyi]
    • Simple AILanguageDetector.availability() call: FAIL (Chrome: TIMEOUT, Safari: FAIL)
    • Simple AILanguageDetector.detect() call: FAIL (Chrome: NOTRUN, Safari: FAIL)
    • AILanguageDetectorFactory.create() call with an aborted signal.: FAIL (Chrome: NOTRUN, Safari: FAIL)
    • AILanguageDetector.detect() call with an aborted signal.: FAIL (Chrome: NOTRUN, Safari: FAIL)
  • /ai/language_detection/detector.https.tentative.any.sharedworker.html [wpt.fyi]
    • Simple AILanguageDetector.availability() call: FAIL (Chrome: TIMEOUT, Safari: FAIL)
    • Simple AILanguageDetector.detect() call: FAIL (Chrome: NOTRUN, Safari: FAIL)
    • AILanguageDetectorFactory.create() call with an aborted signal.: FAIL (Chrome: NOTRUN, Safari: FAIL)
    • AILanguageDetector.detect() call with an aborted signal.: FAIL (Chrome: NOTRUN, Safari: FAIL)
  • /ai/language_detection/detector.https.tentative.any.serviceworker.html [wpt.fyi]
    • Simple AILanguageDetector.availability() call: FAIL (Chrome: TIMEOUT, Safari: FAIL)
    • Simple AILanguageDetector.detect() call: FAIL (Chrome: NOTRUN, Safari: FAIL)
    • AILanguageDetectorFactory.create() call with an aborted signal.: FAIL (Chrome: NOTRUN, Safari: FAIL)
    • AILanguageDetector.detect() call with an aborted signal.: FAIL (Chrome: NOTRUN, Safari: FAIL)
  • /ai/language_detection/detector.https.tentative.any.worker.html [wpt.fyi]
    • Simple AILanguageDetector.availability() call: FAIL (Chrome: TIMEOUT, Safari: FAIL)
    • Simple AILanguageDetector.detect() call: FAIL (Chrome: NOTRUN, Safari: FAIL)
    • AILanguageDetectorFactory.create() call with an aborted signal.: FAIL (Chrome: NOTRUN, Safari: FAIL)
    • AILanguageDetector.detect() call with an aborted signal.: FAIL (Chrome: NOTRUN, Safari: FAIL)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/89ca26e8b3d4 [wpt PR 51334] - [Language Detector] Add WPT for `ai.languageDetector.availability()`, a=testonly https://hg.mozilla.org/integration/autoland/rev/ddf7e2f24ddc [wpt PR 51334] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 138 Branch
You need to log in before you can comment on or make changes to this bug.