Closed Bug 2083396 Opened 1 month ago Closed 25 days ago

[wpt-sync] Sync PR 63798 - Built-In AI APIs: Promote and harden ResolverWithAbortSignal

Categories

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

task

Tracking

(firefox162 fixed)

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Mike Wasserman <msw@chromium.org> wrote:

Built-In AI APIs: Promote and harden ResolverWithAbortSignal

Move ResolverWithAbortSignal to modules/ai/ and harden its Cleanup(),
OnAborted(), Resolve(), and Reject() handling.
Simplify RejectOnDestruction() in ai_utils.h.
Adopt in DecisionModel::decide(),
AIWritingAssistanceBase::measureInputUsage(), and
LanguageModel::measureContextUsage().

Bug: 468104678, 424659255, 565849508
Change-Id: I4841ffe9fbc23dedfe4e6163403d40b758349104

Reviewed-on: https://chromium-review.googlesource.com/8590307
WPT-Export-Revision: 724e60602c1f1dc2e1344484bdd7ff03e6034c89

CI Results

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

Total 22 tests and 5 subtests

Status Summary

Firefox

OK : 1[GitHub] 22[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL : 5[GitHub] 70[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PRECONDITION_FAILED: 1

Chrome

OK : 1
PASS : 1
FAIL : 4

Safari

OK : 1
FAIL : 5

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Status: NEW → RESOLVED
Closed: 25 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.