W3C home > Mailing lists > Public > public-media-capture@w3.org > October 2014

OverconstrainedError == ConstraintNotSatisfiedError?

From: Jan-Ivar Bruaroey <jib@mozilla.com>
Date: Mon, 20 Oct 2014 13:45:44 -0400
Message-ID: <54454A48.4060909@mozilla.com>
To: "public-media-capture@w3.org" <public-media-capture@w3.org>
As far as I can tell, the only difference between 
ConstraintNotSatisfiedError and OverconstrainedError is when they happen.

The former only happens in getUserMedia, while the latter only in the 
overconstrained event. The latter seems to me like the runtime 
equivalent of the former, so in the interest of reducing the 
proliferation of errors I propose we remove the OverconstrainedError 
name and use ConstraintNotSatisfiedError in both places.

.: Jan-Ivar :.
Received on Monday, 20 October 2014 17:46:13 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:26:31 UTC