Looks like posting to the UI thread inconditionally causes some slowdowns: https://github.com/mozilla-mobile/fenix/issues/8782#issuecomment-603411945 because some unrelated UI code is stealing the thread before we have a chance to run `onLoadRequest`. We should just call it synchronously if we're already on the UI thread: https://searchfox.org/mozilla-central/rev/c80fa7258c935223fe319c5345b58eae85d4c6ae/mobile/android/geckoview/src/main/java/org/mozilla/geckoview/GeckoSession.java#1670-1682
Bug 1624675 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Looks like posting to the UI thread unconditionally causes some slowdowns: https://github.com/mozilla-mobile/fenix/issues/8782#issuecomment-603411945 because some unrelated UI code is stealing the thread before we have a chance to run `onLoadRequest`. We should just call it synchronously if we're already on the UI thread: https://searchfox.org/mozilla-central/rev/c80fa7258c935223fe319c5345b58eae85d4c6ae/mobile/android/geckoview/src/main/java/org/mozilla/geckoview/GeckoSession.java#1670-1682