Re: [Bug 24015] Add callback to indicate when available media devices change

On 2014-05-26 15:33, Harald Alvestrand wrote:
> (opinionating = list not bugzilla)
>
> This is pure bikeshedding, but I don't like "user" as a prefix either.
> And "Media" is confusing by itself, since much media is handled without
> being relevant to this item.
>
> What about Devices, attribute devices?

Why not mediaDevices then? It would not have "media" on it's own, but it 
limits the general "devices" a bit to only deal with devices related to 
media.

> Nit: I think it's "partial interface Navigator" - it extends the
> Navigator interface, there isn't an interface called NavigatorUserMedia.

The way to extend Navigator seem to be to create new interfaces called 
SomethingNavigator and have Navigator implement them [1]. But it was a 
mistake of mine to use the partial keyword in this proposal when the 
complete interface is listed. (In the spec we build this interface with 
"partial" by adding stuff to it in different sections.)

> Since current deviceInfo call is async, I think I'd like to keep it
> async. Not strongly, but do feel it.
>

[1] http://www.w3.org/TR/2013/CR-html5-20130806/webappapis.html#navigator

Received on Monday, 26 May 2014 14:20:31 UTC