Re: [webkit-dev] Proposed feature: Network Service Discovery

2013-09-09 Thread youenn fablet
Hi Anders, The JS object extension hooks you are mentioning looks interesting. Do you know where I can get some more information about it? IHMO, this feature is not yet mature and stable enough to be added into WebKit right now. I hope it gets improved further so that the functionality can be act

Re: [webkit-dev] Proposed feature: Network Service Discovery

2013-09-08 Thread Maciej Stachowiak
I also don't think it should be added to WebKit. In addition to other reasons stated, the spec has obvious severe security risks which are not adequately addressed by a permissions dialog. Section 7 of the spec allows a webpage to bypass the same-origin security model to communicate with "dis

Re: [webkit-dev] Proposed feature: Network Service Discovery

2013-09-06 Thread Oliver Hunt
On Sep 6, 2013, at 9:44 AM, youenn fablet wrote: > Hi Ryosuke, > > The two points you are mentioning make sense to me. > > > For starters, most of users wouldn't even know what a local network is; let > alone what discovering media sources, etc... mean. > > Most users may not be able to un

Re: [webkit-dev] Proposed feature: Network Service Discovery

2013-09-06 Thread Benjamin Poulain
+1 After the concerns raised, I am not convinced the feature fits into the engine. I am also not convinced this needs WebKit support to be implemented. Benjamin On 9/6/13 10:39 AM, Anders Carlsson wrote: I agree. This also seems like it’s something that could be implemented by a client ap

Re: [webkit-dev] Proposed feature: Network Service Discovery

2013-09-06 Thread Brendan Long
On 09/06/2013 10:59 AM, Oliver Hunt wrote: > On Sep 6, 2013, at 9:44 AM, youenn fablet > wrote: >> >> For starters, most of users wouldn't even know what a local >> network is; let alone what discovering media sources, etc... mean. >> >> Most users may not be able

Re: [webkit-dev] Proposed feature: Network Service Discovery

2013-09-06 Thread Anders Carlsson
I agree. This also seems like it’s something that could be implemented by a client application using our JS object extension hooks without touching WebKit at all. - Anders On Sep 6, 2013, at 10:30 AM, Simon Fraser wrote: > Perhaps before we spend any more time discussing the security implicat

Re: [webkit-dev] Proposed feature: Network Service Discovery

2013-09-06 Thread Simon Fraser
Perhaps before we spend any more time discussing the security implications of Network Service Discovery, we should decide whether it fits with the goals of the WebKit project: https://www.webkit.org/projects/goals.html It’s not at all clear to me that it does. Simon On Sep 6, 2013, at 9:59 AM

Re: [webkit-dev] Proposed feature: Network Service Discovery

2013-09-06 Thread youenn fablet
Hi Ryosuke, The two points you are mentioning make sense to me. > ** > > For starters, most of users wouldn't even know what a local network is; > let alone what discovering media sources, etc... mean. > Most users may not be able to understand what means “discover local network DACP servers”. B

Re: [webkit-dev] Proposed feature: Network Service Discovery

2013-09-06 Thread youenn fablet
Hi Brendan, I am also interested in that feature and am actually working on an implementation of it. The implementation, which is behind a specific flag, is currently usable for simple demos on linux environment. My initial plan was to publish it in a couple of weeks when being stabilized, probabl

Re: [webkit-dev] Proposed feature: Network Service Discovery

2013-08-31 Thread Ryosuke Niwa
As far as I read the spec, websites can't probe the local network. The UAs are supposed to do that periodically and expose the list of media services they maintain when asked. Having said that, I agree that I don't think asking the user whether it's okay for a website to discover media sources or

Re: [webkit-dev] Proposed feature: Network Service Discovery

2013-08-31 Thread Alexey Proskuryakov
30.08.2013, в 15:53, Dirk Pranke написал(а): >> The draft does contain the sentence "Web pages should not be able to >> communicate with Local-networked Services that have not been authorized by >> the user thereby maintaining the user's privacy" in the use cases section; >> this should defin

Re: [webkit-dev] Proposed feature: Network Service Discovery

2013-08-30 Thread Dirk Pranke
On Fri, Aug 30, 2013 at 3:48 PM, Oliver Hunt wrote: > > On Aug 30, 2013, at 12:44 PM, Dirk Pranke wrote: > > On Fri, Aug 30, 2013 at 10:06 AM, Oliver Hunt wrote: > >> >> On Aug 30, 2013, at 9:15 AM, Brendan Long wrote: >> >> > On 08/29/2013 05:45 PM, Benjamin Poulain wrote: >> >> Can you expla

Re: [webkit-dev] Proposed feature: Network Service Discovery

2013-08-30 Thread Oliver Hunt
On Aug 30, 2013, at 12:44 PM, Dirk Pranke wrote: > On Fri, Aug 30, 2013 at 10:06 AM, Oliver Hunt wrote: > > On Aug 30, 2013, at 9:15 AM, Brendan Long wrote: > > > On 08/29/2013 05:45 PM, Benjamin Poulain wrote: > >> Can you explain a bit what it is for? What are the common use cases? > > Thi

Re: [webkit-dev] Proposed feature: Network Service Discovery

2013-08-30 Thread Dirk Pranke
On Fri, Aug 30, 2013 at 10:06 AM, Oliver Hunt wrote: > > On Aug 30, 2013, at 9:15 AM, Brendan Long wrote: > > > On 08/29/2013 05:45 PM, Benjamin Poulain wrote: > >> Can you explain a bit what it is for? What are the common use cases? > > This would be useful for certain kinds of web apps. For ex

Re: [webkit-dev] Proposed feature: Network Service Discovery

2013-08-30 Thread Brendan Long
On 08/30/2013 11:06 AM, Oliver Hunt wrote: > Here's my concern - if you say "a service like " might want to > search for something, that is better described as "a random website". > That may be something the user wants, alternatively it could be > something evil. It could also be something evil emb

Re: [webkit-dev] Proposed feature: Network Service Discovery

2013-08-30 Thread Brendan Long
On 08/29/2013 09:37 PM, Sam Weinig wrote: > I don't think this belongs in WebKit, as this doesn't seem like it > would ever be appropriate to expose to the Web at large. I recommend > trying to find a way to layer this on top of WebKit if it is something > you need to support. While our use-case i

Re: [webkit-dev] Proposed feature: Network Service Discovery

2013-08-30 Thread Brendan Long
On 08/29/2013 05:45 PM, Benjamin Poulain wrote: > Can you explain a bit what it is for? What are the common use cases? This would be useful for certain kinds of web apps. For example,a music website like Pandora or Spotify could allow users to include music on their local network. Or a service like

Re: [webkit-dev] Proposed feature: Network Service Discovery

2013-08-30 Thread Oliver Hunt
On Aug 30, 2013, at 9:15 AM, Brendan Long wrote: > On 08/29/2013 05:45 PM, Benjamin Poulain wrote: >> Can you explain a bit what it is for? What are the common use cases? > This would be useful for certain kinds of web apps. For example,a music > website like Pandora or Spotify could allow user

Re: [webkit-dev] Proposed feature: Network Service Discovery

2013-08-29 Thread Sam Weinig
I don’t think this belongs in WebKit, as this doesn’t seem like it would ever be appropriate to expose to the Web at large. I recommend trying to find a way to layer this on top of WebKit if it is something you need to support. -Sam On Aug 29, 2013, at 4:19 PM, Brendan Long wrote: > We would

Re: [webkit-dev] Proposed feature: Network Service Discovery

2013-08-29 Thread Benjamin Poulain
On 8/29/13 4:19 PM, Brendan Long wrote: We would like to implement the Network Service Discovery spec in WebKIt. There's an existing bug (with a basic patch to show the API) in the bug tracker. This is usef

[webkit-dev] Proposed feature: Network Service Discovery

2013-08-29 Thread Brendan Long
We would like to implement the Network Service Discovery spec in WebKIt. There's an existing bug (with a basic patch to show the API) in the bug tracker. This is useful to allow media applications to discover ne