This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Specification: http://www.whatwg.org/specs/web-apps/current-work/ Section: http://www.whatwg.org/specs/web-apps/current-work/complete.html#devices Comment: I think an optional subtype should filter the presented list; like subtype="video/*" for media, or "7" for usb (http://en.wikipedia.org/wiki/Universal_Serial_Bus#Device_classes). This would improve usability for the end-user Posted from: 89.150.163.209
I think we're probably better off going even more fine-grained than USB device classes, if we go down this path. After all, each device probably needs its own hard-coded API "personal healthcare" isn't going to be detailed enough for a page to know how to use a pulse monitor vs an oxygen monitor vs an injection controller.
I ended up moving away from <device> as a generic mechanism, because I couldn't work out how to make it work. If you have any concrete proposals, please don't hesitate to reopen the bug and post them here (or on one of the lists). See also this entry in the FAQ: http://wiki.whatwg.org/wiki/FAQ#Is_there_a_process_for_adding_new_features_to_a_specification.3F For media, the replacement solution (getUserMedia) does handle a filter as suggested.