Closed Bug 1932057 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 49258 - [built-in-ai] Expose ai.translator and make AITranslatorFactory work

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox135 fixed)

RESOLVED FIXED
135 Branch
Tracking Status
firefox135 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

rubberyuzu <yuzus@chromium.org> wrote:

[built-in-ai] Expose ai.translator and make AITranslatorFactory work

This CL does two things:
(1) Expose translator to ai
(2) Make AITranslator work correctly (call CreateTranslator from
AITranslatorFactory)
Most of the code is copied from translator.cc and langauge_translator.cc.

Bug: 379643382
Change-Id: If2341b958cd9dcb2641891ff3aabf02e760e4b47
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6023056
Reviewed-by: Fergal Daly \<fergal@chromium.org>
Reviewed-by: Kentaro Hara \<haraken@chromium.org>
Commit-Queue: Yuzu Saijo \<yuzus@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1384790}

CI Results

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

Total 2 tests and 1 subtests

Status Summary

Firefox

OK : 2
FAIL: 2

Chrome

OK : 2
FAIL: 2

Safari

OK : 2
FAIL: 2

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fdc02b8115ba [wpt PR 49258] - [built-in-ai] Expose ai.translator and make AITranslatorFactory work, a=testonly https://hg.mozilla.org/integration/autoland/rev/a03fdf9cc2ea [wpt PR 49258] - Update wpt metadata, a=testonly
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/94d456ca9869 [wpt PR 49258] - [built-in-ai] Expose ai.translator and make AITranslatorFactory work, a=testonly https://hg.mozilla.org/integration/autoland/rev/e09fb4f73970 [wpt PR 49258] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 135 Branch
You need to log in before you can comment on or make changes to this bug.