- From: jan-ivar via GitHub <sysbot+gh@w3.org>
- Date: Wed, 10 Jun 2015 22:42:03 +0000
- To: public-media-capture-logs@w3.org
jan-ivar has just created a new issue for
https://github.com/w3c/mediacapture-main:
== getUserMedia({ }) should be a TypeError ==
In hindsight, I think it's clear that `getUserMedia({ })` should be a
`TypeError` rather than a `NotSupportedError`.
Having `{ lasers: true }` throw `NotSupportedError` may sound good,
but gives the wrong impression, and it might surprise people to learn
that `{ lasers: true, audio: true }` succeeds without error.
More importantly, the arrival of `requiredwe should perhaps even have
considered TypeError instead of NotSupportedError, since the latter is
somehwat misleading.
See https://github.com/w3c/mediacapture-main/issues/189
Received on Wednesday, 10 June 2015 22:42:05 UTC