Re: [mediacapture-main] Should we use [EnforceRange] on min/max in constraints?

The TAG advice at 
https://w3ctag.github.io/design-principles/#numeric-types suggests 
using [EnforceRange] long long.
I don't see a powerful reason to change the interface type, but it's a
 nudge towards preferring [EnforceRange] over [Clamp].

(Amusement: WebIDL "double" throws TypeError on being passed infinity.
 WebIDL "long" doesn't.)

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

Received on Thursday, 1 September 2016 09:24:57 UTC