On Thu, Mar 27, 2014 at 1:23 PM, Thinker K.F. Li <[email protected]> wrote:
> I suggest to let webapp itself to decide if saving & restoring states.
> For B2G, sysapp decides to restoring a session or not while the user
> revisiting an app.  For Firefox, it is brower to make a decision.
>
> So, we need a way (an API) that sysapp to signal the platform if to
> save and restore session data for an app while the sysapp launch the
> app.

I still think pushState fits in this definition. It is already
provided by the platform, and also gets apps to think in terms of
addressable URLs for UI states (useful for other desires for web apps,
like bookmarking a jump point into an app), and it allows a chain of
states to be saved, which is useful if the app is killed, and user
wants to be back in the UI flow once restored.

James
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to