On 03/27/2014 01:39 PM, Thinker K.F. Li wrote:
> I have no favor of session storage or pushState. My point is no mater
> how apps save and restore states, it is up to apps them-self. But,
> apps should not care about if history or session storage would be
> restored or not. It is up to the sysapp or the browser. The sysapp
> decides if to restore session data (session storage and history) by
> what UX it would like to provide. So, there is no additional API for
> apps, but new APIs, or API changes, for the sysapp.
We also need to look if we can reuse the session storage that is used by
firefox desktop. It saves history, scroll position, forms being filed,
etc. I heard it now supports OOP so we could leverage it for apps iframes.
I don't have a strong opinion on the topic of adding a new api for that
to the system app, but I would try first to just always do session
restore unless called from an activity.
James, do you know if we persist the pushState() data between runs?
Fabrice
--
Fabrice Desré
b2g team
Mozilla Corporation
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g