# Device APIs and Policy Working Group Teleconference ## 23 Jun 2010 [Agenda][3] See also: [IRC log][4] ## Attendees Present Alissa_Cooper, Dominique_Hazael-Massieux, Erica_Newland, Frederick_Hirsch, Ilkka_Oksanen, James_Salsman, John_Morris, LauraA, Paddy_Byers, Richard_Tibbett, Robin_Berjon, Suresh_Chitturi, Wonsuk_Lee Regrets Claes_Nilsson, Maria_Oteo, Dzung_Tran Chair Robin_Berjon, Frederick_Hirsch Scribe richt ## Contents * [Topics][5] 1. [Agenda Review and Administrative][6] 2. [Minutes Approval][7] 3. [Policy Framework Updates][8] 4. [Policy Profile][9] 5. [Features and Capabilities][10] 6. [FPWD Policy Framework][11] 7. [APIs][12] 8. [Implied Auth Model for Sys Info][13] * [Summary of Action Items][14] * * * Date: 23 June 2010 ### Agenda Review and Administrative Agenda additions a. XACML IPR at beginning of policy section b. F2F planning during administrative c. additional API from Richard [http://lists.w3.org/Archives/Public /public-device-apis/2010Jun/0254.html][15] d additional API from James [http://lists.w3.org/Archives/Public/public- device-apis/2010Jun/0253.html][16] ScribeNick: richt [regrets from me for the call next week] fjh: Need to have stuff in place before the f2f. ... Need some publications. Need actions to be looked at and completed for the f2f ... Any suggestions for the F2F agenda, please send them ahead of time ... F2F agenda items before the next conference call (29th July) would be good. Is there going to be a dial-in facility at F2F? The F2F is coming soon, after the next two calls. Suresh, we haven't planned for it, but I can investigate if that's an option To make the F2F productive we should have material for review in advance, so please complete actions and make proposals before the 7 July call, preferably for next week thanks Dom, it will be appreciated! Input on the agenda in advance would be useful, especially topics or proposals **ACTION:** Dom to look into calling-in possibilities for London F2F [recorded in [http://www.w3.org/2010/06/23-dap-minutes.html#action01][17]] Created ACTION-199 - Look into calling-in possibilities for London F2F [on Dominique Hazaƫl-Massieux - due 2010-06-30]. Please remember to register DAP registration form [http://www.w3.org/2002/09/wbs/43696/london2010/][18] TPAC in November, 2nd F2F [http://lists.w3.org/Archives/Member/member-device- apis/2010Jun/0001.html][19] ### Minutes Approval [http://lists.w3.org/Archives/Public/public-device- apis/2010Jun/att-0177/minutes-2010-06-16.html][20] **RESOLUTION: 16th June Minutes approved** ### Policy Framework Updates [http://lists.w3.org/Archives/Public/public-device- apis/2010Jun/0204.html][21] [http://lists.w3.org/Archives/Public/public-device- apis/2010Jun/0216.html][22] fjh: Laura did a few updates based on Dom's comments. FJH made a few updates also. [http://lists.w3.org/Archives/Public/public-device- apis/2010Jun/0235.html][23] fjh: Additional comments on the framework received on the list. [http://lists.w3.org/Archives/Public/public-device- apis/2010Jun/0238.html][24] fjh: Where are we at with this? paddy: Based on how the document has been put together (from input spec sources) ... Need to go back and make sure references/terminology is clear. fjh: For the doc, if we make the changes can we publish paddy: yes -1 on rushing the publication for next week +1 to Dom fjh: Would like to publish next week dom: Still a lot of clarification required before we go to FPWD fjh: we have never published. Would like to get something out there. Although we have a lot of feedback to get through dom: For FPWD we must agree on the scope of the work ... It's not clear we're all clear on the scope at this stage FWIW, the API docs took a long time to get to FPWD dom: spec is difficult to understand. perhaps not clear enough on the scope at this stage fjh: let's make the changes and hope we can publish soon. **ACTION:** paddy to provide clarifications to framework document as well as to address concerns raised by Suresh [http://lists.w3.org/Archives/Public/public-device-apis/2010Jun/0235.html][23] [recorded in [http://www.w3.org/2010/06/23-dap-minutes.html#action02][25]] Sorry, amibiguous username (more than one match) - paddy Try using a different identifier, such as family name or username (eg. pbyers, pbyers2) **ACTION:** pbyers2 to provide clarifications to framework document as well as to address concerns raised by Suresh [http://lists.w3.org/Archives/Public/public-device-apis/2010Jun/0235.html][23] [recorded in [http://www.w3.org/2010/06/23-dap-minutes.html#action03][26]] Created ACTION-200 - Provide clarifications to framework document as well as to address concerns raised by Suresh [http://lists.w3.org/Archives/Public/public-device-apis/2010Jun/0235.html][23] [on Paddy Byers - due 2010-06-30]. fjh: will defer this decision for another time (ACTION-200) suresh: agrees with Dom. having a good draft is better than going through feedback fjh: understands that rationale. will wait on ACTION-200 ### Policy Profile [http://lists.w3.org/Archives/Public/public-device- apis/2010Jun/0216.html][22] [http://lists.w3.org/Archives/Public/public-device- apis/2010Jun/0237.html][27] fjh: fixed validation problems and attributes have been merged to a single set of definitions. ... doc is in better shape. Dom has done some edits also. ... XACML works under the Royalty Free mode on Limited Terms ACTION-185? ACTION-185 -- Frederick Hirsch to investigate IP status for XACML -- due 2010-06-16 -- PENDINGREVIEW [http://www.w3.org/2009/dap/track/actions/185][28] fjh: XACML 1.0 and 2.0 done under original policy. Latest spec is under RAND policy re the impact of the IPR policy of XACML 2.0 on our work: [http://www.w3.org/2003/12/22-pp-faq.html#outside-normative-ref][29] says "W3C Recommendations may include normative references to standards or technologies developed outside of W3C. However, the Working Group should keep in mind the importance of royalty-free implementations of Web standards. In the event it becomes clear that the licensing status of those externally-developed technologies could become a barrier to implementation of the technology according to the W3C Royalty-Free (RF) Licensing Requirements, W3C may choose not to publish the document or may launch a PAG." fjh: Questions whether XACML 3.0 will be appropriate depending on the timelines of the WG suresh: Had a look at XACML IPR. Initially looked RF. Originally RAND. Unclear if RAND commitments will carry on in to RF domain ... unclear if they have a Patent Exclusion Policy like W3C fjh: there was a transition period. Originally RAND. Now there are new modes and there is a transition period. ... TCs that existed before the transition operated under the old mode. Obligations during transition are still under original obligations i.e. RAND (not necessarily RF) ... new stuff will be under RF terms ... Looking at XACML 3.0. Will feedback how that may relate to all this. suresh: If we make references to XACML we need to be careful. At this point, perhaps we should make it an informative reference. fjh: that's what we have now ... rather than discussing this complex IPR, let's focus on the technology for now. ... If you do something similar it may still be subject to patents. It's not necessarily just a XACML issue. ... we may end up doing something different but perhaps premature to get so deep in to this IPR discussion we need to be consicous on the implications upfront [http://lists.w3.org/Archives/Public/public-device- apis/2010Jun/0228.html][30] (the schema was actually mostly duplicated effort) fjh: {goes through Dom's email} [http://lists.w3.org/Archives/Public/public-device- apis/2010Jun/0232.htm][31] [http://lists.w3.org/Archives/Public/public-device- apis/2010Jun/0236.html][32] dom: I went through the documents last week in some detail. I now have an understanding of how it is supposed to work. [http://lists.w3.org/Archives/Public/public-device- apis/2010Jun/0257.html][33] dom: we have a lot of things to work through before it is useful for both web apps and widgets ... led me to renew the focus on a smaller scope to begin with. [http://lists.w3.org/Archives/Public/public-device- apis/2010Jun/0257.html][33] dom: and perhaps look at interchange afterwards. fjh: I'm not clear on why a profile wasn't done rather than a copy/paste/modify. ... Do we need the power of XACML for our purposes? A lot dealing with the trust domain (e.g. from a certificate) in XACML ... perhaps that is not necessary for our purposes ... Nokia input did something much simpler than this (I think the point of that XACML modification is precisely because the full power of XACML wasn't needed) fjh: what do we lose with some more simplicity? Do we need all the complexity e.g. combining algorithms, policy sets, etc. Will help when we get to testing dom: If we are going to allow for external policy providers change the way user agents react to API calls, we need to understand the current situation for .e.g browser for API calls. ... e.g. a current browser may prompt user for a specific API call. For other interfaces there is no JS interface. e.g. cannot access a file object via JS..only available through input file element ... perhaps not clear that we can reduce this to a set of all/deny permits in a XACML profile. ... we need to first understand the current detail in user agents interacting with existing APIs ... It's not a case of browsers/widgets. Used browser as the starting point. A lot of experience in defining policies. Points on list should also apply to widgets cases. [using browsers as a benchmark makes a lot of sense to me] dom: Interested in figuring out the scope of this work. Not planning on editing at this stage. fjh: If you can help answer some of the questions you raised on the mailing list, that would be helpful. paddy: Agree with Dom's comment. Sounds like we need to further define the model. We were going to break model in two parts: ... trust domain and permissions given to those trust domains. ... not done yet. That may take us away from XACML. ... when we did the BONDI docs we put text to further explain what 'prompt' actually meant. ... roughly it meant that there is explicit user interaction although there are other requirements. e.g. User revocation was not definable in (XACML) policy ... the best user experience is unclear. Worst thing would be to take away the best user experience in the absence of a best current practice on user experience. ... a lot of that context was lost in transition to the W3C document fjh: Paddy, can you write down a list of the key points considered in BONDI? ... Makes sense to seperate trust domain from access control decision ... how do we proceed? Brainstorm on the mailing list? fjh, you wanted to discuss next steps suresh: important to have some level of access control. do we want to go down to granular details. Will be difficult to enforce as it is currently just a logical model fjh: model doesn't change so much if we change the underlying technology. Need to determine trust domain and be explicit about trust domains dom, you wanted to say we should start with WARP+ **ACTION:** fjh to review WARP from perspective of use for DAP [recorded in [http://www.w3.org/2010/06/23-dap-minutes.html#action04][34]] Created ACTION-201 - Review WARP from perspective of use for DAP [on Frederick Hirsch - due 2010-06-30]. dom: instead of focusing on interchangable policies, instead look at what WARP currently allows for Widgets. Look what is missing for more detailed policies to be built around them. ... once that is clarified, look at thow we can make these policies insterchangable flowcharts could be good. This might be an opportunity to simplify behaviors and add representation later what is WARP? [WARP][35] suresh: agree with Dom. ... Looking at WARP, more than declaring intent. It talks about UA policy allow/deny. proposed RESOLUTION: WG agrees to focus on policy model before details **RESOLUTION: WG agrees to focus on policy model before details** ### Features and Capabilities [http://lists.w3.org/Archives/Public/public-device- apis/2010Jun/0205.html][36] fjh: Discussion on the list. ... Can we automate WebIDL wrt/ features and capabilities dom, you wanted to leave the tooling for later, note that WebIDL option only works for our own APIs dom: ther emay be ways for automation but we are a long way from talking about tooling at this point. ... for features and capabilities, we need to really focus on how it applies ... policy framework is not only intended to apply to our APIs, but to other APIs (e.g. Geolocation?) [I don't want to get into tooling right now, but I'd like to point out that it's easy to create "Web IDL Component Designators" in order to add extended attributes to parts of a Web IDL] dom: and to other groups/APIs to which we have no link at all. ... when we reach last call I think we should approach this. Right now it may be too early. fjh: so I understand, we shouldn't build a decision on the current APIs until the policy model is better scoped/defined. ... any simplifications we can do will help the WG. If we can simplify we should do so. [http://lists.w3.org/Archives/Public/public-device- apis/2010Jun/0212.html][37] [e.g. { **ACTION:** "addExtAttr", path: "/interface:Unicorn/operation:neigh(float)", content: "[RestID=name]" }] ### FPWD Policy Framework fjh: If we don't publish in the next couple of weeks we will publish at the F2F dom: we will be publishing 2 or 3 specs next week. ... no pressure to publish in the next couple of weeks ### APIs Was ACTION-191 approved? darobin: perhaps we can't get througg the agenda as published in the remaining time for the call today yes darobin: James, you wanted to bring up your action items? ACTION-191? ACTION-191 -- James Salsman to send pre-LC editorial comments on system-info and camera/Media Capture -- due 2010-06-16 -- CLOSED [http://www.w3.org/2009/dap/track/actions/191][38] jsalsman: Action has been approved. Just wanted to check if it has been included in the spec. darobin: any opinions on this? jsalsman: hope this is correct as per the action item suresh: obviously free-form is not great but when specifying the properties are we specifying the formats? ... MIME type needs to be a certain format jslasman: included a format for speex (sp?) jsalsman: unencumbered format audio/x-speex **ACTION:** Roll in changes from the outcome of ACTION-191 [recorded in [http://www.w3.org/2010/06/23-dap-minutes.html#action05][39]] Sorry, couldn't find user - Roll **ACTION:** Dzung to include changes from ACTION-191 [http://lists.w3.org/Archives/Public/public-device-apis/2010Jun/0253.html][16] [recorded in [http://www.w3.org/2010/06/23-dap-minutes.html#action06][40]] Created ACTION-202 - Include changes from ACTION-191 [http://lists.w3.org/Archives/Public/public-device-apis/2010Jun/0253.html][16] [on Dzung Tran - due 2010-06-30]. darobin: do we need to seperate each media type per entry? suresh: yes, otherwise we need to parse the whole string attribute DOMString[] compFormats; "audio/x-speex;quality=7;bitrate=16000, audio/ogg" ["audio/x-speex;quality=7;bitrate=16000", "audio/ogg"] darobin: issue in the provided code snippet should be amended. ... Sticking to strings is common enough at this point ... Let's stick to strings. If it's a problem we can revisit this illka: jsalman's last comment about Media Capture API. Proposal for impl to choose the audio format to use? suresh: aid to check which formats are supported by the system. darobin: example gives 'audio/x-wav' as an example...proposal is to change to another format? ... idea is not to refer too much to proprietary formats. even if impl choose to support them. yes, use good examples, especially when union types can be replaced with open standards ### Implied Auth Model for Sys Info sysinfo.authfor("Power", "Light", "Network") is this an optimization , box car of requests sysinfo.get({ Network: function (res, err) {...}, Power: function (res, err) {....}); the second is possibly more interesting: variadic sysinfo.get attributes. that's my understanding, darobin. one prompt is too little, prompt per sysinfo property is too much. let's take it back to the list jmorris suggests could have groupings for environmental vs device capabilities etc sysinfo not to be published right now, still being discussed +1 to publish snapshot of contacts suresh asks how to tell where data comes from richard talks about mozilla implementation, provides dashboard to identify sources richard notes, not exposed to api PROPOSED RESOLUTION: Publish WD of Contacts with note indicating that some parts, including schema, are still in flux disagree with the resolution. An intermediate draft is in flux by default RESOLUTION: Publish WD of Contacts with note indicating that some parts, including schema, are still in flux [I'll note that there won't be staff contacts to help through the publication process, hopes that's ok] ## Summary of Action Items **[NEW]** **ACTION:** Dom to look into calling-in possibilities for London F2F [recorded in [http://www.w3.org/2010/06/23-dap-minutes.html#action01][17]] **[NEW]** **ACTION:** Dzung to include changes from ACTION-191 [http://lists.w3.org/Archives/Public/public-device-apis/2010Jun/0253.html][16] [recorded in [http://www.w3.org/2010/06/23-dap-minutes.html#action06][40]] **[NEW]** **ACTION:** fjh to review WARP from perspective of use for DAP [recorded in [http://www.w3.org/2010/06/23-dap-minutes.html#action04][34]] **[NEW]** **ACTION:** paddy to provide clarifications to framework document as well as to address concerns raised by Suresh [http://lists.w3.org/Archives/Public/public-device-apis/2010Jun/0235.html][23] [recorded in [http://www.w3.org/2010/06/23-dap-minutes.html#action02][25]] **[NEW]** **ACTION:** pbyers2 to provide clarifications to framework document as well as to address concerns raised by Suresh [http://lists.w3.org/Archives/Public/public-device-apis/2010Jun/0235.html][23] [recorded in [http://www.w3.org/2010/06/23-dap-minutes.html#action03][26]] **[NEW]** **ACTION:** Roll in changes from the outcome of ACTION-191 [recorded in [http://www.w3.org/2010/06/23-dap-minutes.html#action05][39]] [End of minutes] * * * Minutes formatted by David Booth's [scribe.perl][41] version 1.135 ([CVS log][42]) $Date: 2009-03-02 03:52:20 $ [1]: http://www.w3.org/Icons/w3c_home [2]: http://www.w3.org/ [3]: http://lists.w3.org/Archives/Public/public-device- apis/2010Jun/0239.html [4]: http://www.w3.org/2010/06/23-dap-irc [5]: #agenda [6]: #item01 [7]: #item02 [8]: #item03 [9]: #item04 [10]: #item05 [11]: #item06 [12]: #item07 [13]: #item08 [14]: #ActionSummary [15]: http://lists.w3.org/Archives/Public/public-device- apis/2010Jun/0254.html [16]: http://lists.w3.org/Archives/Public/public-device- apis/2010Jun/0253.html [17]: http://www.w3.org/2010/06/23-dap-minutes.html#action01 [18]: http://www.w3.org/2002/09/wbs/43696/london2010/ [19]: http://lists.w3.org/Archives/Member/member-device- apis/2010Jun/0001.html [20]: http://lists.w3.org/Archives/Public/public-device- apis/2010Jun/att-0177/minutes-2010-06-16.html [21]: http://lists.w3.org/Archives/Public/public-device- apis/2010Jun/0204.html [22]: http://lists.w3.org/Archives/Public/public-device- apis/2010Jun/0216.html [23]: http://lists.w3.org/Archives/Public/public-device- apis/2010Jun/0235.html [24]: http://lists.w3.org/Archives/Public/public-device- apis/2010Jun/0238.html [25]: http://www.w3.org/2010/06/23-dap-minutes.html#action02 [26]: http://www.w3.org/2010/06/23-dap-minutes.html#action03 [27]: http://lists.w3.org/Archives/Public/public-device- apis/2010Jun/0237.html [28]: http://www.w3.org/2009/dap/track/actions/185 [29]: http://www.w3.org/2003/12/22-pp-faq.html#outside-normative-ref [30]: http://lists.w3.org/Archives/Public/public-device- apis/2010Jun/0228.html [31]: http://lists.w3.org/Archives/Public/public-device- apis/2010Jun/0232.htm [32]: http://lists.w3.org/Archives/Public/public-device- apis/2010Jun/0236.html [33]: http://lists.w3.org/Archives/Public/public-device- apis/2010Jun/0257.html [34]: http://www.w3.org/2010/06/23-dap-minutes.html#action04 [35]: http://www.w3.org/TR/widgets-access/ [36]: http://lists.w3.org/Archives/Public/public-device- apis/2010Jun/0205.html [37]: http://lists.w3.org/Archives/Public/public-device- apis/2010Jun/0212.html [38]: http://www.w3.org/2009/dap/track/actions/191 [39]: http://www.w3.org/2010/06/23-dap-minutes.html#action05 [40]: http://www.w3.org/2010/06/23-dap-minutes.html#action06 [41]: http://dev.w3.org/cvsweb/~checkout~/2002/scribe/scribedoc.htm [42]: http://dev.w3.org/cvsweb/2002/scribe/