Closed Bug 1962080 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 52118 - [Translator] Update WPT test names

Categories

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

task

Tracking

(firefox139 fixed)

RESOLVED FIXED
139 Branch
Tracking Status
firefox139 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Christine Hollingsworth <christinesm@chromium.org> wrote:

[Translator] Update WPT test names

Update Translator API WPT test file names to match naming convention
for other on-device API WPTs.

Bug: 394376304
Change-Id: Ifdd6bebd00311f899574458797efc74d97e8dc29
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6471210
Reviewed-by: Nathan Memmott \<memmott@chromium.org>
Commit-Queue: Christine Hollingsworth \<christinesm@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1450328}

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

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

Total 2 tests and 14 subtests

Status Summary

Firefox

OK : 2
FAIL: 17

Chrome

OK : 2
FAIL: 17

Safari

OK : 2
FAIL: 17

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /ai/translator/translator-bad-input.tentative.https.window.html [wpt.fyi]
    • Translator.create rejects with TypeError if no options are passed.: FAIL (Chrome: FAIL, Safari: FAIL)
    • Translator.create rejects with TypeError targetLanguage is not provided.: FAIL (Chrome: FAIL, Safari: FAIL)
    • Translator.create rejects with TypeError sourceLanguage is not provided.: FAIL (Chrome: FAIL, Safari: FAIL)
  • /ai/translator/translator-translate.tentative.https.window.html [wpt.fyi]
    • Translator.create() requires user activation when availability is "downloadable.: FAIL (Chrome: FAIL, Safari: FAIL)
    • Simple Translator.translate() call: FAIL (Chrome: FAIL, Safari: FAIL)
    • Simple Translator.translateStreaming() call: FAIL (Chrome: FAIL, Safari: FAIL)
    • Translator: sourceLanguage and targetLanguage are equal to their respective option passed in to Translator.create.: FAIL (Chrome: FAIL, Safari: FAIL)
    • Translator.translate() fails after destroyed: FAIL (Chrome: FAIL, Safari: FAIL)
    • Translator.create() call with an aborted signal.: FAIL (Chrome: FAIL, Safari: FAIL)
    • Aborting Translator.create().: FAIL (Chrome: FAIL, Safari: FAIL)
    • Translator.translate() call with an aborted signal.: FAIL (Chrome: FAIL, Safari: FAIL)
    • Aborting Translator.translate().: FAIL (Chrome: FAIL, Safari: FAIL)
    • Translator.create() notifies its monitor on downloadprogress: FAIL (Chrome: FAIL, Safari: FAIL)
    • Translator.translate() echos non-translatable content: FAIL (Chrome: FAIL, Safari: FAIL)
    • Translator.measureInputUsage() and inputQuota basic usage.: FAIL (Chrome: FAIL, Safari: FAIL)
    • Translator.measureInputUsage() call with an aborted signal.: FAIL (Chrome: FAIL, Safari: FAIL)
    • Aborting Translator.measureInputUsage().: FAIL (Chrome: FAIL, Safari: FAIL)
Regressions: 1962401
Pushed by smolnar@mozilla.com: https://hg.mozilla.org/mozilla-central/rev/3f43c3e8ba7d [wpt PR 52118] - [Translator] Update WPT test names, a=testonly https://hg.mozilla.org/mozilla-central/rev/58f2e4c9d7fd [wpt PR 52118] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 139 Branch
You need to log in before you can comment on or make changes to this bug.