Hi, In case not every one knows, we are trying to keep a crashed app in task manager and restore it with the latest url. It’s implemented already, see https://bugzilla.mozilla.org/show_bug.cgi?id=935750
Someone call it ‘zombie app’, but I call this ‘suspending app’ to reflect it’s suspending. I am not familiar with how gecko implements session restore, but as James Burke said, it’d be easy to keep the state with url in system app and restore the url in the app resuming process. If people dislike to use pushState, and there’s an API for system app to invoke before suspending/resuming I’d like to implement that which should be easy with this feature. — Alive C. Kuo, Senior Software Engineer, Firefox OS, MoCo. Taipei Office [email protected] Thinker K.F. Li <[email protected]> 於 2014/3/28 上午7:20 寫道: > From: Prateek Jadhwani <[email protected]> > Subject: Re: [b2g] Session Restoring of WebApps > Date: Thu, 27 Mar 2014 18:51:13 -0400 > >> Thinker, >> >> I would suggest making a library to do all that, and do all that stuff. I >> mean on the Gaia end, rather than going for B2G. And then, this library >> could be used by system app to do what you want to do. >> >> I would like to know your reasoning for creating an api in B2G rather than >> Gaia. Because I do agree with with Fabrice, creating an api just for this >> task might not be the proper way to achieve this goal. It might be a way, >> but not a proper one. > > I am not sure how the sysapp controls life-cycle of sessions in this > way, a library, except you don't like the sysapp to control life-cycle > of sessions. > > The api here is for customization of UX. If we all agree that > life-cycle of sessions should not be a part of device's UX, then we > don't need the api. > _______________________________________________ > dev-b2g mailing list > [email protected] > https://lists.mozilla.org/listinfo/dev-b2g
_______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
