Re: [b2g] Service like apps

2015-07-31 Thread Benjamin Francis
On 30 July 2015 at 16:52, Ben Kelly bke...@mozilla.com wrote: FYI, we discussed cross-origin service workers last week at the face-to-face meeting: https://blog.wanderview.com/blog/2015/07/28/service-worker-meeting-highlights/#foreign-fetch From the post: The idea is to permit a service

Re: [b2g] Service like apps

2015-07-30 Thread Ben Kelly
FYI, we discussed cross-origin service workers last week at the face-to-face meeting: https://blog.wanderview.com/blog/2015/07/28/service-worker-meeting-highlights/#foreign-fetch It seems we're all in agreement that we should provide something here. We just need to de-conflict our two proposed

Re: [b2g] Service like apps

2015-04-07 Thread Yoshi Huang
Hi Dave This might not related to the original subject but just provide some comments on your previous post. On Tue, Mar 24, 2015 at 8:14 AM, Dave Huseby dhus...@mozilla.com wrote: Some of the prototype use cases we've thought of are: 1. Storing an encryption key on the Secure Element and

Re: [b2g] Service like apps

2015-04-07 Thread Soledad Penadés
On 07/03/2015 10:26, Antonio Manuel Amaya Calvo wrote: Unless we can think on some way to make my mother understands what she would be granting access to, then no :P. This is tangentially offtopic to this thread, but I would appreciate if everybody please avoided using mothers as examples of

Re: [b2g] Service like apps

2015-04-07 Thread Naoki Hirata
Soledad makes a good point. And besides, do you really want to insult your mother to the public? :) [ light hearted joke ] Regards, Naoki On Apr 7, 2015, at 6:32 AM, Soledad Penadés spena...@mozilla.com wrote: On 07/03/2015 10:26, Antonio Manuel Amaya Calvo wrote: Unless we can think

Re: [b2g] Service like apps

2015-03-25 Thread Anders Rundgren
On Tuesday, March 24, 2015 at 1:14:26 AM UTC+1, Dave Huseby wrote: Paul and I were discussing this in the context of the proposed crypto-ish hardware framework. I'm replying here to get some more eyes on what we discussed. Using apps to provide services via IAC of some form is a good

Re: [b2g] Service like apps

2015-03-23 Thread Benjamin Francis
See also https://groups.google.com/forum/#!topic/mozilla.dev.gaia/0CkXpQ25Wdc I think we're trying to solve similar problems in a slightly different way. It's possible navigator.connect with cross-origin onfetch events for Service Workers could achieve some of this, and already has another

Re: [b2g] Service like apps

2015-03-23 Thread Dave Huseby
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 03/07/2015 01:20 AM, Paul Theriault wrote: In general I think the next step here is to flesh out what some of these services might do? I'm struggling to think of actual services that would support gaia use cases in a safe way but its

Re: [b2g] Service like apps

2015-03-08 Thread ANTONIO MANUEL AMAYA CALVO
On 07 Mar 2015, at 23:31, Paul Theriault ptheria...@mozilla.commailto:ptheria...@mozilla.com wrote: On Sat, Mar 7, 2015 at 9:26 PM, Antonio Manuel Amaya Calvo antoniomanuel.amayaca...@telefonica.commailto:antoniomanuel.amayaca...@telefonica.com wrote: On 07/03/2015 10:20, Paul Theriault

Re: [b2g] Service like apps

2015-03-07 Thread Antonio Manuel Amaya Calvo
On 07/03/2015 10:20, Paul Theriault wrote: I can't comment on webby-ness, but I do have thoughts about security here. (OK, just one comment: this sounds like a variation on the existing inter app communications service - its there practically any differences, other than a forward declaration

Re: [b2g] Service like apps

2015-03-07 Thread Paul Theriault
On Sat, Mar 7, 2015 at 9:26 PM, Antonio Manuel Amaya Calvo antoniomanuel.amayaca...@telefonica.com wrote: On 07/03/2015 10:20, Paul Theriault wrote: I can't comment on webby-ness, but I do have thoughts about security here. (OK, just one comment: this sounds like a variation on the

Re: [b2g] Service like apps

2015-02-27 Thread Vivien Nicolas
On Thu, Feb 26, 2015 at 2:50 PM, ANTONIO MANUEL AMAYA CALVO antoniomanuel.amayaca...@telefonica.com wrote: On 26 Feb 2015, at 14:31, Vivien Nicolas vnico...@mozilla.com wrote: On Thu, Feb 26, 2015 at 12:02 PM, Antonio Manuel Amaya Calvo antoniomanuel.amayaca...@telefonica.com wrote:

Re: [b2g] Service like apps

2015-02-27 Thread ANTONIO MANUEL AMAYA CALVO
On 27 Feb 2015, at 16:22, Anne van Kesteren ann...@annevk.nl wrote: On Fri, Feb 27, 2015 at 12:04 PM, Antonio Manuel Amaya Calvo antoniomanuel.amayaca...@telefonica.com wrote: Well, we only need to add a magic explained (I did explain it after all, I think :P) iframe variant to the web

Re: [b2g] Service like apps

2015-02-27 Thread Anne van Kesteren
On Fri, Feb 27, 2015 at 12:04 PM, Antonio Manuel Amaya Calvo antoniomanuel.amayaca...@telefonica.com wrote: Well, we only need to add a magic explained (I did explain it after all, I think :P) iframe variant to the web because FirefoxOS already has some other magic more or less explained

Re: [b2g] Service like apps

2015-02-27 Thread Jim Porter
On 02/26/2015 05:02 AM, Antonio Manuel Amaya Calvo wrote: Hi there. In the frame of the recent arguments about the permission model and making the apps more webby and as a result more easily updatable (or the other way around), we've been playing with the idea (and trying to prototype) of

Re: [b2g] Service like apps

2015-02-27 Thread Anne van Kesteren
On Thu, Feb 26, 2015 at 8:31 PM, Antonio Manuel Amaya Calvo antoniomanuel.amayaca...@telefonica.com wrote: BTW, exposing new APIs is not hard... agreeing to make them available to everyone on the web is a lng process though ;). This way we don't really add anything new to the web, we just

Re: [b2g] Service like apps

2015-02-27 Thread Antonio Manuel Amaya Calvo
On 27/02/2015 9:14, Anne van Kesteren wrote: On Thu, Feb 26, 2015 at 8:31 PM, Antonio Manuel Amaya Calvo antoniomanuel.amayaca...@telefonica.commailto:antoniomanuel.amayaca...@telefonica.com wrote: BTW, exposing new APIs is not hard... agreeing to make them available to everyone on the web is

Re: [b2g] Service like apps

2015-02-27 Thread Salvador de la Puente González
The iframe approach is quite semantic and it makes explicit the dependency between your app and the service. Moreover, the URL is actually the name for anything in the WWW, I think it's better than a simple name (more verbose, that's right), and as Antonio already stated .postMessage() is the

Re: [b2g] Service like apps

2015-02-26 Thread Salvador de la Puente González
Hi all On 26/02/15 12:02, Antonio Manuel Amaya Calvo wrote: Hi there. In the frame of the recent arguments about the permission model and making the apps more webby and as a result more easily updatable (or the other way around), we've been playing with the idea (and trying to prototype) of

Re: [b2g] Service like apps

2015-02-26 Thread Fernando Jiménez Moreno
Thanks for starting this thread Antonio. On the scenario that you propose, at least for the use case that you provided (settings), it seems that we are moving the permission check from Gecko to Gaia. On Gecko we currently have signed apps and a list of permissions associated to them. On the

Re: [b2g] Service like apps

2015-02-26 Thread Antonio Manuel Amaya Calvo
On 26/02/2015 16:11, Fernando Jiménez Moreno wrote: Thanks for starting this thread Antonio. On the scenario that you propose, at least for the use case that you provided (settings), it seems that we are moving the permission check from Gecko to Gaia. Yes and not. I'm not proposing to move the

Re: [b2g] Service like apps

2015-02-26 Thread Fernando Jiménez Moreno
On Feb 26, 2015, at 2:30 PM, Vivien Nicolas vnico...@mozilla.com wrote: One way to implement the services would be (and that's what we're actually toying with) to use IAC or Datastores to communicate with them). But as we were reminded recently, there's little to no chance of those APIs

Re: [b2g] Service like apps

2015-02-26 Thread Vivien Nicolas
On Thu, Feb 26, 2015 at 12:02 PM, Antonio Manuel Amaya Calvo antoniomanuel.amayaca...@telefonica.com wrote: Hi there. In the frame of the recent arguments about the permission model and making the apps more webby and as a result more easily updatable (or the other way around), we've been

Re: [b2g] Service like apps

2015-02-26 Thread ANTONIO MANUEL AMAYA CALVO
On 26 Feb 2015, at 14:31, Vivien Nicolas vnico...@mozilla.commailto:vnico...@mozilla.com wrote: On Thu, Feb 26, 2015 at 12:02 PM, Antonio Manuel Amaya Calvo antoniomanuel.amayaca...@telefonica.commailto:antoniomanuel.amayaca...@telefonica.com wrote: Hi there. In the frame of the recent

Re: [b2g] Service like apps

2015-02-26 Thread Antonio Manuel Amaya Calvo
On 26/02/2015 16:23, Fabrice Desré wrote: On 02/26/2015 07:11 AM, Fernando Jiménez Moreno wrote: Thanks for starting this thread Antonio. On the scenario that you propose, at least for the use case that you provided (settings), it seems that we are moving the permission check from Gecko to

[b2g] Service like apps

2015-02-26 Thread Antonio Manuel Amaya Calvo
Hi there. In the frame of the recent arguments about the permission model and making the apps more webby and as a result more easily updatable (or the other way around), we've been playing with the idea (and trying to prototype) of having certified service-like apps that would encapsulate