Open Bug 1878679 Opened 1 year ago Updated 1 year ago

Use of async in TranslationsMiddleware

Categories

(Firefox for Android :: Translations, enhancement, P3)

All
Android
enhancement

Tracking

()

People

(Reporter: olivia, Unassigned)

References

Details

This bug is to research using async within requestSupportedLanguages as a precaution against unintentionally blocking the main thread. This might also be a good place to better document the interplay between GeckoView and Android Components in terms of applicable threads items can be called on. See bug 1877588 for more details.

On the GeckoView side, it is believed requestSupportedLanguages is not blocking and running on the main Gecko thread. A JS Promise is resolved to a GeckoResult. This bug is more precautionary than a known issue.

Severity: -- → N/A
Priority: -- → P3
See Also: → 1877588
You need to log in before you can comment on or make changes to this bug.