Commit 344a03b
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}1 parent c6fad56 commit 344a03b
1 file changed
+13
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
0 commit comments