I wonder if this could be a race condition where: https://searchfox.org/mozilla-central/rev/36e240b0ddb7227290a6614117ae6720c010357f/widget/android/CompositorWidgetParent.cpp#41 gets called too late and so we haven't set `AndroidCompositorWidget::mSurface` yet. Perhaps `CompositorWidgetParent::OnCompositorSurfaceChanged` consistently gets called on startup, but when we fallback, it doesn't get called again?
Bug 1747116 Comment 8 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
I wonder if this could be a race condition where: https://searchfox.org/mozilla-central/rev/36e240b0ddb7227290a6614117ae6720c010357f/widget/android/CompositorWidgetParent.cpp#41 gets called too late and so we haven't set `AndroidCompositorWidget::mSurface` yet. Perhaps `CompositorWidgetParent::OnCompositorSurfaceChanged` consistently gets called on startup, but when we fallback, it doesn't get called again? We would have destroyed and recreated `CompositorWidgetParent` objects as part of the fallback.