[Bug 25766] New: Problem with constraints failure when there is no constraint.

https://www.w3.org/Bugs/Public/show_bug.cgi?id=25766

            Bug ID: 25766
           Summary: Problem with constraints failure when there is no
                    constraint.
           Product: WebRTC Working Group
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Media Capture and Streams
          Assignee: public-media-capture@w3.org
          Reporter: fluffy@cisco.com
                CC: public-media-capture@w3.org

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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

Received on Sunday, 18 May 2014 12:59:26 UTC