merge_pr_50369
Language Detector: Reject when called with aborted signal
Rejects the promise returned by AILanguageDetector.detect() when the
signal passed in is already aborted.
Bug: 391713293
Change-Id: Icbeb5648458397e92fa7ec0ba8e14fd31ddd1754
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6210161
Commit-Queue: Nathan Memmott [email protected]
Reviewed-by: Jiacheng Guo [email protected]
Cr-Commit-Position: refs/heads/main@{#1412982}