Hi folks. Sorry for being late. I want to add two thought to the discussion: one is about service workers. For educational purposes, I want you to take a look at `offliner` [1] a toy library using Service Workers (in Chrome Unstable) I implemented for the Portland event, past December. It's as simple as include three files in your root directory and it tries to do all the hard work for you as described in posts before: fetch from the web and if this fail, fetch from a local cache.
In the other hand, once we resolve the problem of off-line availability, we are facing all the security problems (signing, trusting, unsafe updates) but I tend to think about Web of Trust here. I think we over-engineer the worst situation in the past, when we were releasing Firefox OS 1. In my most radical perspective and In few words: I think we must not impose restrictions to what things a web applications can do (which does not imply to remove permissions), just rely on the user community or trusted third parties to make a decision. I remember a conversation with Fernando and Francisco about the meaning of User Agent: it is the piece of software you put on behalf of yourself to deal with the Web. Normally, this is part of the browser, it is tied to Gecko itself but, why not making it part of the System app guiding and encouraging safe practices to the user: trusted origins, safe search engines, user reviews, application alerts, suspicious changes, highlighting for specially harmful permissions... This is a problem of user's education and, as Christian Heilmann said in the referred post [2], "Offline First Needs UX Love" . So, summarizing, I see the need for service workers and all the off-line stuff and that is great from the developer's perspective but we need this educational process starting right now for the user. What do you think? [1] https://github.com/lodr/offliner/ [2] http://christianheilmann.com/2014/12/08/the-next-ux-challenge-on-the-web-gaining-offline-trust/ On 02/02/15 19:52, Benjamin Francis wrote: Thanks for all of the feedback so far! I've submitted a new proposal for "Privileged Hosted Apps" to the dev-webapi mailing list. Feedback very welcome https://groups.google.com/forum/#!topic/mozilla.dev.webapi/pCY77YAg_i4<https://groups.google.com/forum/#%21topic/mozilla.dev.webapi/pCY77YAg_i4> _______________________________________________ dev-b2g mailing list dev-...@lists.mozilla.org<mailto:dev-...@lists.mozilla.org> https://lists.mozilla.org/listinfo/dev-b2g ________________________________ Este mensaje y sus adjuntos se dirigen exclusivamente a su destinatario, puede contener información privilegiada o confidencial y es para uso exclusivo de la persona o entidad de destino. Si no es usted. el destinatario indicado, queda notificado de que la lectura, utilización, divulgación y/o copia sin autorización puede estar prohibida en virtud de la legislación vigente. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su destrucción. The information contained in this transmission is privileged and confidential information intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this transmission in error, do not read it. Please immediately reply to the sender that you have received this communication in error and then delete it. Esta mensagem e seus anexos se dirigem exclusivamente ao seu destinatário, pode conter informação privilegiada ou confidencial e é para uso exclusivo da pessoa ou entidade de destino. Se não é vossa senhoria o destinatário indicado, fica notificado de que a leitura, utilização, divulgação e/ou cópia sem autorização pode estar proibida em virtude da legislação vigente. Se recebeu esta mensagem por erro, rogamos-lhe que nos o comunique imediatamente por esta mesma via e proceda a sua destruição _______________________________________________ dev-webapps mailing list dev-webapps@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-webapps