On Fri, Jul 24, 2015, at 12:43 PM, Jonas Sicking wrote: > On Fri, Jul 24, 2015 at 3:49 AM, David Rajchenbach-Teller > <dtel...@mozilla.com> wrote: > > On 24/07/15 11:38, Jonas Sicking wrote: > >> I think we should allow addons to implement something like this. But I > >> don't think it's something that we should let apps do. > >> > >> / Jonas > > > > So Dropbox, Cozy Cloud, etc. should be add-ons instead of apps? > > Yes. For FirefoxOS we're working on getting rid of installation for > "apps". Instead apps will be treated just like other web content that > you simply browse to. > > In this model it doesn't make as much sense for apps to be changing > the behavior of the user agent. Why would navigating to Dropbox and > then navigating away from it suddenly change the behavior of your OS? > How do you revert it? > > Instead we're going to use addons as the way that you customize your > device.
I've been actually thinking about this exact use case recently (storage providers) and I think it would behoove us to figure out how to make this work for webapps. If you require addons to make this work then every storage provider needs to write addons for every browser, which means that they're likely to just not have support for Firefox OS. If you make this a web app feature instead, then providers can simply use the web API and any user agent that supports it will get support, meaning that Firefox OS is likely to be supported. This is pretty similar in spirit to the existing navigator.registerProtocolHandler, although I don't know how well that API has fared in practice. I think letting web apps extend the browser's capabilities is a good and useful thing, and we should do more of it. -Ted _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform