This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 25766 - Problem with constraints failure when there is no constraint.
Summary: Problem with constraints failure when there is no constraint.
Status: RESOLVED INVALID
Alias: None
Product: WebRTC Working Group
Classification: Unclassified
Component: Media Capture and Streams (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: public-media-capture@w3.org
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-18 12:59 UTC by Cullen Jennings
Modified: 2014-07-01 08:18 UTC (History)
2 users (show)

See Also:


Attachments

Description Cullen Jennings 2014-05-18 12:59:25 UTC
The way require works now means that 

var constraints = 
 { 
   require: ["width", "height"], 
   width: {min: 640}, 
 }; 

will always fail because there is no hight attribute. This seems wacky. If there is not constraint, it should not fail.
Comment 1 Harald Alvestrand 2014-07-01 08:18:42 UTC
No longer relevant with the new constraints format; "require" no longer exists.