16:16:25 RRSAgent has joined #sysapps 16:16:25 logging to http://www.w3.org/2014/04/08-sysapps-irc 16:16:33 Claes, zolkis, the same, passcode invalid 16:17:32 zqzhang_ has joined #sysapps 16:17:40 dsr_ has joined #sysapps 16:18:14 tobie__ has joined #sysapps 16:18:45 jungkees has joined #sysapps 16:18:53 lgombos has joined #sysapps 16:18:55 dsr has joined #sysapps 16:19:05 Present+ Wonsuk_Lee 16:19:12 wonsuk, ok, thanks! 16:19:22 bhill2 has joined #sysapps 16:19:31 not enough privileges to open the log at http://www.w3.org/2014/04/08-sysapps-irc 16:20:22 Present+ Jungkee_Song 16:20:50 https://www.w3.org/wiki/System_Applications:_4th_F2F_Meeting_Agenda#Agenda 16:21:10 jmajnert has joined #sysapps 16:21:42 jinsong has joined #sysapps 16:21:44 marcosc_ has joined #sysapps 16:21:51 Bin_Hu has joined #sysapps 16:21:51 Present+ Zoltan_Kis 16:22:17 scribe: mounir 16:22:18 Present+ Claes_Nilsson 16:22:20 present+ Bin_Hu 16:22:27 Present+ Mounir_Lamouri 16:22:36 Topic: Web Application Manifest 16:22:42 present +marcosc 16:22:54 BaopingChneg has joined #sysapps 16:23:01 present+ Olivier_Potonniee 16:23:08 Present+ Anssi_Kostiainen 16:23:15 rrsagent, set logs public 16:23:40 marcosc_: since the last time I saw you, since the manifest spec left this group, I analyzed the UC 16:24:00 ... looked at the conventional wisdom, things like authors, etc. 16:24:11 ... even though Firefox OS had that kind of information, it was never used (same with Widgets) 16:24:41 ... so we reduced the manifest spec to be only things actually used by runtimes instead of any metadata 16:24:44 BaopingCheng has joined #sysapps 16:25:12 Zakim has joined #sysapps 16:25:17 slightlyoff_ has joined #sysapps 16:25:51 ... We want to make the manifest a tool to leverage webapps so they can be powerful, like installable 16:26:26 ... (explains how permissions and signature would work with manifest and packaged apps) 16:27:03 http://manifest.sysapps.org/ 16:30:15 marcosc_ is explaining some behaviour of start_url based on the example in manifest.sysapps.org 16:32:40 q+ 16:33:26 (discussion paused until we get the phone line connected) 16:33:28 zakim, room for 5 for 480m? 16:33:29 ok, dsr; conference Team_(sysapps)16:33Z scheduled with code 26631 (CONF1) for 480 minutes until 0033Z 16:33:31 ack gmandyam 16:33:52 gmandyam: can you share the data of the runtime usage of metadata you mentioned? 16:34:02 Team_(sysapps)16:33Z has now started 16:34:09 +??P1 16:34:47 zolkis 16:35:01 zakim, ??P1 is zolkis 16:35:01 +zolkis; got it 16:35:09 +??P6 16:35:16 zakim, ??P6 is me 16:35:17 +anssik; got it 16:35:36 +[Paypal] 16:35:37 dsr, thanks for fixing the conf :) 16:35:56 + +46.7.03.79.aaaa 16:36:15 zakim, aaaa is Claes 16:36:15 +Claes; got it 16:36:34 (phone is fixed) 16:37:13 (marcosc_ summarized what he was saying) 16:38:31 marcosc_: the big giant hole in that is obviously offline, appcache is there but not enough 16:38:38 ... but hopefully we have serviceworker 16:38:43 https://github.com/w3c/manifest/blob/gh-pages/README.md 16:39:04 Present+ Dave, Anssi, Zoltan, Claes 16:39:14 marcosc_: in the readme file, we have the v1 and v2 goals 16:40:07 (marcosc_ is listing the v2 goals) 16:40:16 (... from the link above) 16:40:48 v1: https://github.com/w3c/manifest/issues?labels=V1&page=1&state=open 16:40:48 v2: https://github.com/w3c/manifest/issues?labels=V2&page=1&state=open 16:43:35 q+ 16:43:53 marcosc_: what happens if you load the manifest async regarding to csp policy? because you have already loaded scripts 16:44:47 marcosc_: the manifest is an unblocking resource that you load after the load event so if there is a CSP policy, given that the manifest is not part of the critical path, it might create a different behaviour at the second load 16:44:56 marcosc_: service worker would have a similar problem 16:45:10 brad: so far the answer is that the meta tag has to be loaded ahead 16:45:21 brad: we started with only headers to kind of avoid that kind of issues 16:46:05 anssik: I think that CSP1.1 is 16:46:19 ack gmandyam 16:46:36 gmandyam: we had a pretty conservative default security policy 16:46:39 Axel has joined #sysapps 16:46:43 ... like no default inline 16:47:15 s/is /not yet settled on the behavior/ 16:47:38 brad: the current spec says that if you have a policy in the header, any meta policy is ignored 16:47:43 ... it might be an issue to work trough 16:47:55 marcosc_: we are hoping to past this request feedback from the CSP folks soon on this 16:48:45 marcosc_: updatable manifest, how to handle when the author update the manifest? 16:48:52 mounir: isn't that in the spec? 16:48:57 marcosc_: yes, but it's loose 16:49:02 mounir: it should be in v1 then? 16:49:04 marcosc_: yes 16:49:36 marcosc_: HTTP Link Header, this may never happen because there is no much interest but Jonas and Hixie like it 16:49:45 Axel_ has joined #sysapps 16:50:00 marcosc_: inline manifest, this could be a future thing if people start doing that 16:50:34 Feature Requests: https://github.com/w3c/manifest/issues?labels=Feature+Request&page=1&state=open 16:50:42 marcosc_: splash screens are problematics 16:52:00 mounir: we talked about that a few times and always realized it's not a good idea to do 16:52:11 marcosc_: make installable apps sharable... 16:52:20 opoto: what does sharable mean? 16:52:51 marcosc_: 16:53:47 q+ 16:54:01 marcosc_: there is then the question of how to do that with the standard track 16:54:07 ... we could do a v1 then a v2 or a living document 16:54:15 ... there is no decision yet and it's mostly process 16:54:18 ack opoto 16:54:26 opoto: there is no declarative permission requests 16:54:33 marcosc_: no, there is no real need for that for the moment 16:54:39 ... and we do not know what's the best approach for this 16:54:42 ... we need to look into that 16:54:46 q+ 16:55:36 q+ 16:56:22 mounir: the permission model of Sockets is complicated... and it's not yet solved in a non-packaged app. But we still don't know how to bring this to the Web. 16:56:41 dsr: do we have time to talk about security stuff later in the agenda 16:56:47 ? 16:56:55 scribe: marcosc_ 16:58:10 opoto: maybe the manifest is good way to addressing the permissioning problem by gathering things together. 16:58:10 q? 16:59:24 marcosc_: we could go and look at how the permissioning model works in FxOS and in Chrome apps 16:59:44 mounir: I disagree that it's the same. Those things are not quite the Web - so it's a bit different. 17:00:52 brad: there is also iOS and Android. Access control gadgets is work that microsoft did a few years ago that could be relevant for the discussion. 17:01:10 brad: it's a different model to look at for contrast 17:01:40 dsr: I've been asked to write a white paper about this 17:02:05 actually: Windows Phone and iOS work more like the Access Control Gadget model vs. Android's manifest model 17:02:13 dsr: I have a few months to work on this 17:02:27 marcosc: it would be great if you could work with WebMob IG 17:02:34 Dom's work on permissions: https://github.com/dontcallmedom/web-permissions-req/ 17:02:36 Link to ACG work: http://research.microsoft.com/apps/pubs/?id=152495 17:02:39 mounir: Dom has also done tome work on this 17:02:43 q? 17:02:46 s/tome/some/ 17:03:40 s/tome work/some work/ 17:03:43 ack Claes 17:04:18 Claes: I don't have much to add right now. However, Marcos talked about making manifest CORS compatible. But I dont' see that there 17:04:19 scribe: mounir 17:04:54 marcosc_: you are right, anssik, keneth and I talked of creating a spearate spec for packaged apps to be CORS compatible 17:05:15 ... you need an origin member in the manifest that doesn't specify http:// [the protocal] but just the domain 17:05:58 (marcosc explains how the origin value would be checked on the server) 17:06:09 marcosc_: we are using such mechanism in firefox os for packaged apps 17:06:16 ... i'm not volunteering to do it but it's doable 17:06:24 Claes: so it should be a separate spec? 17:06:43 marcosc_: yes, I can actually link to the extension point part of the spec 17:06:54 http://manifest.sysapps.org/#dfn-extension-point 17:07:15 [any packaged app specific features are out of scope for the core spec, should use the extension point] 17:07:42 marcosc_: any spec can use that extension point to hook in new features 17:07:54 ... it should be little work and pretty trivial 17:08:02 q? 17:08:17 Claes: we can have a look at that and see how that goes based on the needs we have 17:08:25 marcosc_: take a look at firefox os manifest 17:09:20 https://developer.mozilla.org/en-US/Apps/Build/Manifest#origin 17:10:03 marcosc_: it is tried and tested and used in the wild 17:10:26 Claes: why have a separate specification? 17:10:33 marcosc_: it doesn't make sense for web pages 17:10:43 ... it is something that only packaged applications would use 17:11:17 ack jungkees 17:11:21 Claes: we will look at that 17:11:48 https://github.com/w3c/manifest/issues/161https://github.com/w3c/manifest/issues/161 17:11:55 marcosc_: bug related to servige worker ^ 17:12:02 q+ 17:12:14 https://github.com/w3c/manifest/issues/161 17:12:30 ack cdumez 17:12:38 marcosc_: datastore defines its own model 17:12:54 q- 17:13:25 Topic: Service Worker 17:13:27 genelian_ has joined #sysapps 17:13:57 https://github.com/slightlyoff/ServiceWorker/ 17:14:01 jungkees: we are working on service worker, it is now in the charter of the webapps wg 17:14:03 present+ Gene_Lian 17:14:11 ... the actual work is made on GitHub 17:14:25 ... Mozilla, Google and Samsung are working on this 17:14:32 ... We are done with the v1 features 17:15:06 meeting: System Applications Face to Face - 8 April 2014 17:15:11 http://slightlyoff.github.io/ServiceWorker/spec/service_worker/index.html 17:15:31 jungkees: the spec is still being drafted 17:16:09 jungkees: a servece worker can fetch the resources 17:17:09 terri has joined #sysapps 17:17:36 jungkees is describing the service worker specification/features to the group 17:26:45 -Claes 17:28:50 q+ 17:30:00 ? 17:30:05 q? 17:30:37 genelian_: the goal of the task scheduler is to open the app when it is no longer running 17:30:45 ... how would service worker do that? 17:31:23 jungkees describes how task scheduler works 17:31:57 jungkees: the idea is to launch a service worker and run the script 17:32:03 ... we don't need to open any tab 17:32:24 ... within the worker code, the developer can create a notification, for example 17:32:42 cdumez: so every app using task scheduler will have to create a service worker? 17:32:45 jungkees: yes 17:33:22 q- 17:34:17 jungkees explains how a service worker gets woken up by an event after the developer registered for it 17:37:03 q+ 17:37:27 q+ to ask which companies are implementing ServiceWorker and whether this includes mobile devices? 17:37:29 jungkees shows example from the service worker GitHub repository 17:37:40 Push integration example with ServiceWorker: https://github.com/slightlyoff/ServiceWorker/issues/177 17:38:44 17:38:47 ack opoto 17:38:48 ack opoto 17:39:10 opoto: when a web page register a service worker, is there a spec explaining how this is hapenning? 17:39:18 ... because this is a service and it is persistent 17:39:40 jungkees: for the initial version, to install the service worker, we should do https only 17:39:53 opoto: it's good to require https but we should inform the user about what's hapenning 17:40:11 ... and about the registration, is there any requirement about the display? 17:40:20 bhill2 has joined #sysapps 17:40:26 jungkees: no 17:41:30 wonsuk: there would be a problem if the web application uses memory uses without the user knowledge 17:41:31 ack dsr 17:41:31 dsr, you wanted to ask which companies are implementing ServiceWorker and whether this includes mobile devices? 17:41:32 q+ to note Chrome Canary has an experimental UI for unregistering SWs meant for debugging purposes only: chrome://serviceworker-internals/ 17:41:55 dsr: what companies are implementing service worker? what about mobile device? 17:42:16 jungkees: Mozilla and Google are implementing 17:42:25 jungkees: it should be implemented in 2-3 for a beta version 17:43:29 s/2-3/2-3 months/ 17:44:35 q? 17:45:03 mounir: on Mobile, the problem is more complicated than desktop because waking up the service would take memory and cpu... 17:45:11 ack anssik 17:45:11 anssik, you wanted to note Chrome Canary has an experimental UI for unregistering SWs meant for debugging purposes only: chrome://serviceworker-internals/ 17:45:29 anssik: there is a UI for Canary 17:45:39 ... is Google working on a better UI? 17:45:42 mounir: don't know 17:45:51 anssik: developers might want to be in control of that UI 17:46:10 jungkees: we might want to talk about service worker integration with manifest 17:46:52 s/developers/developers as well as users/ 17:47:34 s/the user knowledge/the user permission/ 17:48:02 mounir: we should keep manifest/service worker integration to the webapps meeting so we don't repeat ourselves 17:49:59 q+ 17:51:14 http://status.modern.ie/ says Service Workers is Under Consideration 17:51:57 mounir: we might want to move task sceduler to webapps because it will reach a broader audience 17:52:00 q+ to ask about the plan for extension points in the SW spec for future events, if not deemed out of scope for this session 17:52:20 ack gma 17:52:38 q? 17:53:16 ack anssik 17:53:16 anssik, you wanted to ask about the plan for extension points in the SW spec for future events, if not deemed out of scope for this session 17:53:38 anssik: i remember talking to alex about extensions point for the spec 17:53:51 ... is there an issue I should follow to track the progress on this? 17:54:02 jungkees: you are talking of application lifecycle events? 17:54:37 anssik: no 17:54:58 jungkees: let's talk about that offline 17:55:08 anssik: it would be good for people that want to build on top of SW 17:55:20 jungkees: yes 17:55:26 q? 18:07:01 +Claes 18:08:08 dsr has changed the topic to: zakim code is 26631 18:08:31 .... coffee break for 15 minutes .... 18:08:38 rrsagent, make minutes 18:08:38 I have made the request to generate http://www.w3.org/2014/04/08-sysapps-minutes.html dsr 18:11:30 chair: Wonsuk, Mounir 18:11:33 rrsagent, make minutes 18:11:33 I have made the request to generate http://www.w3.org/2014/04/08-sysapps-minutes.html dsr 18:11:43 Topic: Brain storming and discussion about the direction of security and privacy model 18:12:16 scribe: dsr 18:12:20 scribenick: dsr 18:13:39 Opoto: the web security model today is mostly based upon the document origin, but we now need to consider system applications. 18:14:39 ... There could be access to sensitive data including credential stores. We need some form of access control for sensitive APIs, and to identify that an application can be trusted. This is missing today. 18:14:47 dsr: is that really the zakim code? I'm not able to join. 18:15:14 +terri 18:15:22 Wonsuk: we need to use existing mechanisms or we need to look for new ways based upon the principles of the Web 18:16:01 ... in my opinion package signing would not be good, as it doesn't work well with hyperlinking 18:16:35 ... hosted apps gets you the latest version, but this isn't the case for packaged apps. 18:17:22 ... we can have security mechanisms for packaged and hosted apps, but my focus is on hosted apps, and to cover packaged apps as corner cases. 18:18:13 ... Vendors are using their own signed package schemes 18:18:39 opoto: we should try to find a common security/trust model for packaged and hosted apps. 18:19:12 Mounir: this has proven to be hard in practice, you can't trust websites much 18:19:27 -zolkis 18:20:08 Marcos: I am not sure agree. It is a very challenging problem. The web security model is deeply embedded into the browser code, so we need to align with the origin model. 18:21:22 ... I am optimistic that we will eventually be able to address, but it will take more than the people in this room. 18:21:58 opoto: do we agree that there is a need for this? 18:22:08 Marcos: absolutely, yes! 18:23:22 ... The Node community are also interested in this. However, there are huge UX challenges. 18:23:44 ... normal users won't want to see technical permission dialogs 18:24:08 ... people are using iOS and Android and the World hasn't collapsed. 18:24:16 +??P1 18:24:41 Mournir: there is a difference due to the ease of following a link. There isn't the same curated app store model. 18:24:55 opoto: do you see this being done in SysApps? 18:25:00 zakim, ??P1 is me 18:25:00 +zolkis; got it 18:26:00 Marcos: we need to deal with this in a broader community. The HTML WG is still some way to go before addressing this. 18:26:51 ... current focus is on extending the markup, HTML6 primarily about web components, and further work on expanding scope of CSS. 18:27:22 q+ 18:28:17 ack gma 18:28:18 ack gma 18:28:25 ... we don't have all of the major players here in SysApps. Previous efforts e.g. Bondi didn't work out as they didn't involve sufficient range of stakeholders. 18:29:23 Giri: it is about how apps are distributed and it has proven hard to reconcile different approaches. 18:30:46 Marcos: the packaged app approach hasn't worked out, so we should focus more on hosted apps and approach matters from the web security model perspective and try to embrace packaged apps as there is a clear demand for them. 18:31:02 Slight modification: I think BONDI didn't solve the security/permission/signing problem was because the platforms that existed at the time were so different i ntheir approaches that it was difficult to commonalize. 18:32:12 Marcos talks about phonegap experience. 18:32:43 Dave: automotive domain where web apps are starting to appear in cars, these folks are seeking guidance 18:33:31 Marcos: suggest looking at best commercial experience and experiment, but trying to experiment in a standards body isn't a recipe for success 18:33:51 q+ 18:33:58 ... there are lots of things you can look at e.g. widgets 18:34:43 Wonsuk: I had a private meeting last week with Mozilla and Google, and they are also interested in moving this forward. 18:35:26 ... What things can we progress within the existing web security model (same origin), and what things would break that e.g. raw sockets. 18:36:14 ... We should clarify which APIs can fit within the existing model 18:36:48 ... We need to go step by step 18:36:55 q+ 18:37:04 ack lgombas 18:37:10 ack lgombos 18:37:41 lgombos: it is likely that many of the SysApps APIs will break the same origin model 18:37:42 bhill2 has joined #sysapps 18:38:01 Mounir: perhaps all of them except task scheduler 18:39:23 -anssik 18:39:38 -zolkis 18:39:44 ServiceWorker is interesting in how it relates to the security model 18:39:51 Jungkee: maybe we can try to come up with a solution for APIs that break the sandbox model 18:40:40 Wonsuk: I attended the W3C TAG meeting last week, one idea that came up was to use the website's reputation 18:40:48 +??P1 18:40:52 zakim, ??P1 is me 18:40:52 +anssik; got it 18:41:37 Marcos: Alex has been throwing around the idea that if a site meets sufficient criteria, e.g. uses SSL, has been used so many times etc. then it is more likely to be trusted. 18:42:12 Mounir: some APIs should be limited to https, e.g. geolocation 18:42:42 ... for apps that include a manifest, that in its own merits some trust 18:42:53 q+ to note https://developer.mozilla.org/en/docs/The_Places_frecency_algorithm et al. 18:43:22 ... the push API is not about sensitive data 18:43:29 ack jinsong 18:44:26 jinsong: my understanding is that there is 2 levels of security for the web -- hosted and packaged 18:45:38 ... I have been learning about work relating to this in China. They want to protect user's privacy/security. They didn't accept the use of pop-ups 18:45:52 +??P6 18:46:22 zakim, ??P6 is me 18:46:22 +zolkis; got it 18:46:37 ... They have the notion of certified apps, and they require explicit user confirmation for sensitive APIs e.g, access to camera or microphone. 18:47:03 ... They also need a means to allow users to switch on and off app permissions. 18:48:11 Marcos: iOS allows you to alter privacy settings in an app specific way. 18:48:29 q? 18:49:05 opoto: this relies on users to control security which isn't very effective for everyone 18:50:31 Marcos: on iOS this can be many levels deep in the settings 18:50:31 opto: it is also unclear how changing the settings effect the application 18:51:56 Dave: maybe there is a market for 3rd party tools for monitoring and managing your security as a way to get around individual users level of technical savvy 18:52:57 ack anssi 18:52:57 anssik, you wanted to note https://developer.mozilla.org/en/docs/The_Places_frecency_algorithm et al. 18:53:04 Jinsong: there are indeed tools for monitoring what apps are doing, but there is a need for such tools to update the security settings for apps. 18:53:46 another interesting research-y area is http://en.wikipedia.org/wiki/Reputation_system 18:54:27 Anssi: I've droped a link to work that looks at the frequency at which you've visited a site, and it would be interesting to combine with reputation. This still feels like a research areas for innovation before we start on standardization. 18:54:52 q? 18:55:09 s/frequency/frecency/ 18:55:23 The word "frecency" itself is a combination of the words "frequency" and "recency." 18:55:47 Dave: is there any work on being able to sign hosted apps? 18:56:39 Marcos: for FirefoxOS you can only sign packaged apps 18:57:02 [ The frecency algorithm https://developer.mozilla.org/en/docs/The_Places_frecency_algorithm ] 18:57:05 Wonsuk: hosted apps keep changing which creates challenges for signing 18:57:30 Dave: you can make signing dynamic as a work around when needed 18:57:40 Maros: Anders R. has some ideas 18:57:51 slightly related work - http://w3c.github.io/webappsec/specs/subresourceintegrity/ 18:58:47 Brad: scaling issues, e.g. with certificate expiry, competing approaches, but these generally haven't mapped well into the Web space. 18:59:41 Marco talks about the experience during work on the widget spec 19:00:09 Packaging on the web discussed last week: http://oksoclap.com/p/packaging-on-the-web 19:00:09 opoto: most of the sysapps APIs require a solution so we are faced with a real challenge! 19:01:09 Marcos: yes, Adam B. insisted we work on the security model for SysApps, but we have not lived up to that 19:02:45 ... we break for lunch and will resume at 1pm PST ... 19:02:54 rrsagent, make minutes 19:02:54 I have made the request to generate http://www.w3.org/2014/04/08-sysapps-minutes.html dsr 19:03:26 -terri 19:03:29 -zolkis 19:03:31 -anssik 19:03:35 -Claes 19:24:22 jmajnert has left #sysapps 19:30:42 jmajnert has joined #sysapps 19:42:56 Github has joined #sysapps 19:42:56 [13tcp-udp-sockets] 15ClaesNilsson pushed 3 new commits to 06gh-pages: 02http://git.io/QS_55g 19:42:56 13tcp-udp-sockets/06gh-pages 14d1d6956 15Claes Nilsson: interface UDPSocket rewritten to be based on Streams API 19:42:56 13tcp-udp-sockets/06gh-pages 140600e85 15Claes Nilsson: Updates according to comments bt Domenic. 19:42:56 13tcp-udp-sockets/06gh-pages 14690a29c 15Claes Nilsson: Merge pull request #64 from ClaesNilsson/gh-pages... 19:42:56 Github has left #sysapps 19:46:57 Github has joined #sysapps 19:46:57 [13tcp-udp-sockets] 15ClaesNilsson opened pull request #65: Corrections (06gh-pages...06gh-pages) 02http://git.io/Bk2ykQ 19:46:57 Github has left #sysapps 19:47:05 Github has joined #sysapps 19:47:05 [13tcp-udp-sockets] 15ClaesNilsson closed pull request #65: Corrections (06gh-pages...06gh-pages) 02http://git.io/Bk2ykQ 19:47:05 Github has left #sysapps 19:47:06 Github has joined #sysapps 19:47:06 [13tcp-udp-sockets] 15ClaesNilsson pushed 2 new commits to 06gh-pages: 02http://git.io/_8Dd2w 19:47:06 13tcp-udp-sockets/06gh-pages 14834186c 15Claes Nilsson: Corrections 19:47:06 13tcp-udp-sockets/06gh-pages 14afcbf90 15Claes Nilsson: Merge pull request #65 from ClaesNilsson/gh-pages... 19:47:06 Github has left #sysapps 19:56:48 zqzhang_ has joined #sysapps 19:59:03 +Claes 20:06:29 Topic: Raw Socket API 20:07:06 http://lists.w3.org/Archives/Public/public-sysapps/2014Apr/att-0035/TCP_UDP_Socket_API_based_on_Streams_-_San_Jose_April_2014.pdf 20:07:43 marcosc has joined #sysapps 20:07:48 bhill2 has joined #sysapps 20:07:54 lgombos has joined #sysapps 20:07:59 Claes: I sent the presentation to the list 20:08:45 [Claes will walk through his presentations ... slide link forthcoming ] 20:09:26 scribe: mounir 20:09:28 scribenick: mounir 20:09:31 http://lists.w3.org/Archives/Public/public-sysapps/2014Apr/att-0035/TCP_UDP_Socket_API_based_on_Streams_-_San_Jose_April_2014.pdf 20:09:35 +terri 20:10:35 Claes is going trough the slides 20:11:00 Claes: the api name is "TCP and UDP Socket API" because "Raw Sockets" wasn't very clear 20:11:06 opoto has joined #sysapps 20:11:26 Claes: the API is being re-written to be based on Streams API 20:11:43 ... the motivation is to handle the complexity of sending, receiving, buffering the backpressure 20:12:28 Claes: there are two Streams API being aligned 20:12:53 ... the rebasing work is done on top of WHATWG API instead of W3C Streams API 20:13:12 marcosc: the WHATWG Streams is going to be the primitive Streams API for the platform 20:13:18 which is going to be moved te ECMAScript 20:13:28 s/which is/... which is/ 20:13:34 ... the W3C spec is going to be on top of that 20:13:52 ... this is a great primitive for a ton of API using Streams 20:13:58 Claes: what's the Streams API? 20:14:11 ... it provides an interface for creating, composing and consuming streams of data 20:14:26 Claes read the slides 20:14:37 s/Cleas read /Claes reads / 20:16:48 I can hear Claes on the bridge fine, so it might be on your end 20:17:06 -Claes 20:17:45 +Claes 20:17:59 Claes, I think it might be us 20:18:08 -[Paypal] 20:18:14 Claes: we are dialing in again 20:18:20 ok 20:18:47 +[Paypal] 20:19:25 Claes continues reading the slides after some phone connectivity issues 20:21:29 Claes: slide 11 is the previous version that is not Stream based 20:22:06 ... if we look at the next slide, we have two attributes, one is ReadableStream and the other one is WritableStream 20:22:46 http://lists.w3.org/Archives/Public/public-sysapps/2014Apr/att-0035/TCP_UDP_Socket_API_based_on_Streams_-_San_Jose_April_2014.pdf 20:23:17 Claes continues reading the slides 20:24:49 +??P5 20:24:54 zakim, ??P5 is me 20:24:54 +anssik; got it 20:26:34 Claes: the example in slides 16 is using the new TCP interface based on Streams 20:26:55 ... input is the writable Stream 20:27:24 ... so you are write a text and then if the promise return resolve, you wait for the readable side (output.wait()) 20:27:28 ... then you receive data 20:27:32 ... and read out the data 20:28:29 cdumez: why are we calling the method socketClose() and socketHalfClose()? 20:29:07 Claes: I have actually changed that 20:29:09 ... 10 mins ago 20:29:41 opoto: so halfClose() is for closing the input? 20:29:50 Claes: it's for closing the writable side indeed 20:30:03 opoto: shouldn't the close() be on the writable stream interface? 20:30:27 Claes: input.close() is a possibility 20:30:27 q+ 20:30:42 Claes: ppl familiar with TCP Socket are familiar with halfClose() term 20:31:03 ack gmandyam 20:31:25 gmandyam: is server socket stable or do you plan similar changes on that? 20:31:37 Claes: yes 20:31:52 marcosc: what are your plans from here wrt this? 20:32:17 Claes: finish the specification and have a prototype implementation 20:32:45 Claes: I can't promise that I will have time to do the implementation 20:32:52 ... but I hope that it could be done by someone else 20:33:01 ... any voluntary resource would be appreciated 20:33:30 q+ to ask whether one could wrap the previous iteration of the API? 20:33:57 marcosc: as a reference it might be possible to wrap the Firefox OS API as a reference 20:34:29 s/Firefox OS API as a reference/Firefox OS API/ 20:35:45 anssik: we have some persons interested in this and could write a reference API 20:36:10 marcosc: you go to the whatwg streams repo, you can find a reference implementation there 20:36:29 marcosc is looking for a link 20:36:42 https://github.com/whatwg/streams/tree/master/reference-implementation 20:36:46 s/a reference API/an experimental implementation/ 20:37:06 ack anssik 20:37:06 anssik, you wanted to ask whether one could wrap the previous iteration of the API? 20:37:59 Claes: we should see if it could be implemented on top of Firefox OS TCP API 20:38:05 ... I will check some alternatives and come back on that 20:39:17 mounir: implementation status? 20:39:25 anssik: we are interested but we implement the previous one 20:39:31 marcosc: we are watching and seeing 20:39:59 lgombos: what's the story regarding permission for TCP/UDP? 20:40:20 Claes: this relates to the discussion we had before lunch 20:40:38 ... it has to be a store security model, we can't do a simple security model 20:40:43 ... it opens up too much stuff 20:41:02 Claes: we have to relate to the discussion for security/privacy 20:41:28 lgombos: are you saying that it belongs to the spec but we can't spec it out? 20:41:35 ... or do you mean that it's outside of the specification? 20:42:04 Claes: it's a sensitive api like other apis 20:44:52 mounir: to answer lgombos' question, I think this is bigger than the spec 20:45:17 jungkees: I think lgombos' question was more that we currently have a specification but no permission model for it, so what should we do with it? 20:45:32 genelian_ has joined #sysapps 20:46:10 Topic: Application Management API 20:48:08 http://lists.w3.org/Archives/Public/public-sysapps/2014Apr/att-0041/AppManagementAPI.pdf 20:48:17 slide: https://mail-attachment.googleusercontent.com/attachment/u/0/?ui=2&ik=53293ca563&view=att&th=1454160492b8137f&attid=0.1&disp=inline&safe=1&zw&saduie=AG9B_P_9ZyqSId_uZvO2K-Bes8iX&sadet=1396990101753&sads=g8k7O62q8uIis8Xvs13F4IwtVHo 20:49:50 Claes reads the slides 20:52:20 Claes: so that's the proposal, any comment? 20:52:23 q? 20:52:57 mounir: I don't think we should work on that 20:53:09 marcosc: I will send my comments to the list and give my rational on that 20:53:21 ... on firefox os there is an alternative screen homescreen 20:55:04 scribe: marcosc 20:55:09 scribenick: marcosc 20:56:30 mounir: I also wanted to point out that this API is very closly tied to the permission and security model. So moving it forward might complicate things further with regards security. The APIs are very very different and they have very limited interop. It might be too optimistic/early to try to standardize this. 20:56:32 q+ 20:57:42 ack lgombos 20:58:33 lgombos: is the entire set of use cases related to security - or can there be a subset that is more limited that we all have agreement on? 20:58:51 Claes: maybe that would be good 20:59:10 mounir: I don't know if we can find such a baseline 20:59:11 +q 20:59:57 we had an API in the Manifest to "install" an app, but dropped it based on feedback 21:00:00 mounir: there is complexity with regards to the kinds of apps your can launch (priveliged vs hosted, etc.) 21:01:38 Claes has joined #sysapps 21:02:35 lgombos: the thing that we hate on the web is getting a bunch of install buttons for native apps 21:03:20 mounir: as anssik said, we had an API, but now we dropped it because it's better to let the browser handle it. 21:03:42 mounir: I'm not saying this is the final thing, but we should experiment in the browsers first 21:04:19 lgombos: the initial intent of this API was to allow people to create a store, but I agree that that is very ambitious 21:04:41 scribe: marcosc 21:04:45 scribenick: marcosc 21:04:49 scribe: mounir 21:04:54 scribenick: mounir 21:05:04 marcosc: I personally wouldn't want to have us work on this 21:05:22 ... like Mounir said earlier, it goes back to the manifest 21:05:34 ... that could be used as a start, using that metadata 21:05:48 ... to build a store site and share half the metadata with 21:05:54 ... the store and the application itself 21:07:30 mounir and marcosc chats about things and how the web could be better 21:07:45 marcosc: it's complicated 21:07:54 ... that's my perspective 21:08:11 marcosc: I'm not in favour in working on this or bringing this to the group 21:10:18 RESOLUTION: the group believes it is not ready to start working on that deliverable 21:10:40 break - 10 mins - 14:20 21:11:03 -Claes 21:23:53 http://www.w3.org/2012/sysapps/web-alarms/ 21:24:10 Topic: Task Scheduler 21:24:22 http://www.w3.org/2012/sysapps/web-alarms/ 21:25:05 cdumez: let's review the requirements section 21:25:20 ... an application can only access its own scheduled tasks 21:25:46 ... a task id must be unique within its origin 21:25:55 ... a scheduled task must be restorted at restart 21:26:36 ... a scheduled task must make the system 21:27:03 s/make the system/wake the system/ 21:28:02 ... a scheduled task that was supposed to run when the system was shutdown must run at startup 21:28:15 mounir: I think we sholud say that if you miss a task you should run it ASAP 21:28:51 i.e. instead of "must" use "should"? 21:30:45 cdumez continues reading the list of requirements 21:30:54 cdumez: but there is uninstalled mentions here 21:31:01 ... which doesn't really exist anymore 21:31:15 say if you leave the phone off for two weeks, then you switch on, and get all missed daily alarms? 21:31:29 q+ to ask about plans to expose TaskScheduler in ServiceWorkerGlobalScope 21:31:39 marcosc: what owns the tasks? what is an application? should that be the service worker? the origin? the document? 21:33:36 jungkees: we might want to use the service worker scope 21:33:50 marcosc: we could go further and make this only apply in the context of service worker 21:34:02 cdumez: but we should be able to register from the page 21:35:41 marcosc: but then you need to pass a service worker when you register the task 21:35:47 cdumez: I didn't understand that was needed 21:36:38 genelian: so the timezone issue is covered by item #6, right? 21:36:41 q? 21:36:46 cdumez: timezone change is indeed 21:36:54 ack marcosc 21:37:02 ack anssik 21:37:02 anssik, you wanted to ask about plans to expose TaskScheduler in ServiceWorkerGlobalScope 21:37:29 anssik: it seems that we reach a consensus here 21:38:19 marcosc: we need to ask the service worker people 21:39:19 ACTION: cdumez will change the requirements to specify that a missing task must be restored (regardless of why it was missed) 21:39:50 ACTION: cdumez will investigate how to correctly plug the API to Service Worker - probably using the Thursday session 21:44:40 discussions about service worker and how it works 21:45:29 ACTION: make the task scheduler task not aware of application install/uninstall - use SW unregistration instead of uninstall 21:47:23 mounir: is Mozilla implementing the spec? 21:47:32 genelian: no, we are still using our old version 21:47:47 cdumez: there is an open bug about adding a privacy and security issue section 21:48:19 marcosc: I believe Jonas sent an email about that a year ago 21:48:25 cdumez: okay 21:48:51 ACTION: cdumez should write a privacy and security issues 21:49:06 q? 21:49:26 Topic: App-URI 21:49:47 marcosc makes odd sounds 21:50:01 marcosc: after not looking at this for a couple of months, I read it again 21:50:06 ... and layered it on top of fetch 21:50:17 http://www.w3.org/2012/sysapps/app-uri/ 21:50:20 ... the result of doing that is that the spec reduced quite a lot 21:50:22 ... as hoped 21:50:35 marcosc: there is like no spec now, it's like five sentences 21:50:47 ... all I need to do is to handle the scheme 21:50:54 ... the URL spec handles all the parsing 21:50:59 ... and the fetch spec all the parsing 21:52:08 marcosc: I sent a pull request to Anne to plug 'app' in the fetch spec 21:52:39 marcosc: anne might tell me to take a hike 21:52:52 genelian: aren't you guys in the same team? 21:52:55 marcosc: literally, yes 21:54:31 opoto: regarding the instance identifier, you said that it could be provided by the developer, do you have any more information? 21:54:51 marcosc: in the manifest, we spake about the 'origin' thing, in that case we would use that component 21:57:56 brad: does that mean that I can access an app's resources if I set 'origin'? 21:58:15 mounir: no because you will be http vs app, so the domain/sub-domain would be the same but not the protocal wrt origin 21:58:33 brad: it would be interesting to discuss that in the context of subresourceintegrity from webappssec 21:58:54 marcosc: that's the current status, still waiting for anne's answer 21:58:58 q? 21:59:07 gmandyam: what would be the handle? 21:59:18 ... would the entire spec move in fetch? 21:59:33 marcosc: no, just a part of it 21:59:36 http://w3c.github.io/webappsec/specs/subresourceintegrity/ 22:00:03 mounir: implementation status? 22:00:09 marcosc: firefox os implements it 22:00:28 ... not exactly the same but could be changed to match 22:00:32 ... if there is interest 22:00:36 lgombos: and crosswalk too 22:00:45 I can confirm Crosswalk implements the spec 22:00:45 marcosc: it would be interested to see how it's done in crosswalk 22:01:27 q+ to ask whether there is a test suite (planned) for the Fetch spec? 22:01:39 ack anssik 22:01:39 anssik, you wanted to ask whether there is a test suite (planned) for the Fetch spec? 22:02:12 anssik: is there a test suite for the fetch spec? 22:02:39 marcosc: I imagine that there will be but fetch just captures what the web currently does 22:02:54 ... in term of test suite, there will be an actual api for fetch 22:03:10 ... Look at fetch as a meta spec that describes the behaviour of the web 22:03:33 q+ to ask what's the added value of that spec 22:03:57 marcosc: however, there is a test suite for the app uri that Marta has build - she did a very nice job there 22:04:08 we can look at that if there's something to improve 22:04:26 marcosc: that spec is sitting on the w3c web platform test repo waiting review 22:04:33 ... and I've been too lazy to review it 22:04:34 pointer? 22:05:29 https://github.com/w3c/web-platform-tests/pull/325 22:05:52 ok, we're already looking at that then :) 22:06:20 ack 22:06:21 ack me 22:06:21 mounir, you wanted to ask what's the added value of that spec 22:06:32 mounir: what's the added value of that spec? 22:06:53 marcosc: given that the platform does not define how to deal with local resources 22:07:08 ... given the security and privacy issues of using the file:// 22:07:18 ... (like iOS will show the username) 22:07:22 ... we avoid some of those issues 22:07:36 marcosc: we also get the added benefit of using the web platform technology 22:07:42 ... without that you can't use xhr 22:07:45 ... localstorage 22:08:01 ... (because of missing origin) 22:08:25 mounir: this is the value of having a scheme, but not an interoperable one 22:10:46 marcosc: the hole purpose is having the same behaviour, not the name 22:11:08 q? 22:11:49 Topci: Task Scheduler API 22:12:06 genelian: I just recall why we kept the respect-timezone part of the api 22:12:15 s/Topci/Topic/ 22:12:28 genelian: it seems that your api only need the absolute change 22:12:45 ... how can you get the new timezone? 22:14:25 -anssik 22:29:13 ACTION: cdumez will look at how native platforms handle the alarms wrt timezone 22:29:40 ACTION: mounir will look at how Android handle the alarm clock features like week-ends and week days and what API is used for alarms 22:29:55 Android's alarm clock distinguishes weekends from weekdays, what do they rely on to achieve that? 22:31:50 marcosc has joined #sysapps 22:41:37 we are done for today 22:41:40 thank you all 22:41:44 jmajnert has left #sysapps 22:42:08 -terri 22:44:14 rrsagent, make minutes 22:44:14 I have made the request to generate http://www.w3.org/2014/04/08-sysapps-minutes.html dsr 22:47:18 -[Paypal] 22:47:19 Team_(sysapps)16:33Z has ended 22:47:19 Attendees were zolkis, anssik, [Paypal], +46.7.03.79.aaaa, Claes, terri 23:45:09 dsr has joined #sysapps 23:56:52 zakim, room for 5 tomorrow at 12:00 for 480m? 23:56:54 ok, dsr; conference Team_(sysapps)16:00Z scheduled with code 26632 (CONF2) tomorrow at 12:00 for 480 minutes until 0000Z; however, please note that capacity is now overbooked 23:57:11 dsr has changed the topic to: zakim code 26632 23:59:59 dsr has changed the topic to: zakim code 26632 for San Jose F2F day 2