On Mar 10, 2014, at 7:53 AM, Paul Theriault <[email protected]> wrote:
> = Long Version = > > How about we do away with the separation between web and hosted web apps > entirely (unless the apps explicitly requests to be sandboxed) AFAIK, there > is little difference in the risk profiles of web pages vs hosted apps, so > perhaps they should all be in the same sandbox. Also if we allow an app to > not represent the entire origin, I have a proposal for supporting multiple > apps for origin which I think solves some of the “which app am I in” > questions. Allow me to ruminate in terms of your goals: Paul, At the risk of being slightly off topic -- I'll ruminate on two differences I see between web and hosted web apps: 1. User intent and expectation -- users don't know it's a hosted web app when they install it from Firefox Marketplace (nor should they, IMHO). They've expressed an intent that they want it to be available on their device, so we prefetch all its appcache assets, I think we give it a bigger allowance for indexedDB and similar API's. They expect that when they launch said app, it will operate without reliance on browser chrome. Whereas with ordinary web content they don't mind relying on the browser back button. 2. mozActivities -- even hosted web apps can register for mozActivities, which allows them to interact much more richly with other apps on the device than most web content could. -Bill _______________________________________________ dev-webapps mailing list [email protected] https://lists.mozilla.org/listinfo/dev-webapps
