Loading
Merge #5219
5219: Closes #5189: Make sure compositor is ready before capturing pixels r=Amejia481 a=csadilek GeckoView used to return a `GeckoResult.fromException` when the compositor wasn't ready which we ignored (and tried again later). It recently started throwing the exception instead: https://hg.mozilla.org/integration/autoland/rev/2a8ed7fb920c#l11.59 We now need to either ignore the exception or better check if the session ever had a "contenfulPaint". That's also what FxR does: https://github.com/MozillaReality/FirefoxReality/blob/master/app/src/common/shared/org/mozilla/vrbrowser/browser/engine/Session.java#L472 So, we only capture the pixels now if content was ever rendered for the session. Co-authored-by:Christian Sadilek <christian.sadilek@gmail.com>