зеркало из https://github.com/mozilla/gecko-dev.git
238c91a232
If we don't have a saved session, we do nothing. If somebody called setSession beforehand, we continue using that session, otherwise we create a fallback session in onAttachedToWindow(). If we have a saved session and nobody called setSession, we use the saved session. If the saved session was closed and doesn't have a runtime, we use the default runtime as a fallback. If we have both a saved session and somebody already called setSession, we transfer what can be transferred from the saved session, unless the saved session is closed and the session from setSession is open. If the saved session was open, we use its runtime as well going forward (since transferring the state from an open session transfers the window and the runtime as well), otherwise we keep the old mRuntime. Differential Revision: https://phabricator.services.mozilla.com/D4711 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
android | ||
locales |