Re: [mediacapture-main] Remove unions in MediaTrackCapabilities

> ```js
let maxHeight = height.max || height; // works in some cases, not 
booleans though
```

And that doesn't even work. Need tricks like `let maxHeight = 
height.max || height > 0 && height`

-- 
GitHub Notification of comment by jan-ivar
Please view or discuss this issue at 
https://github.com/w3c/mediacapture-main/issues/408#issuecomment-252441804
 using your GitHub account

Received on Saturday, 8 October 2016 18:55:39 UTC