Re: [web-nfc] Clamp NFCPushOptions.timeout and provide default values

timeout: 0; means 0 ms, timer will be created and push operation would
 be cancelled in 0 ms.

I have to represent "infinity" value somehow in implementation, at the
 moment I use "unrestricted double timeout;" in the idl, which is 
mapped to "double".
```javascript
std::numeric_limits<double>::has_infinity => true
std::numeric_limits<unsigned long long>::has_infinity => false
std::numeric_limits<unsigned long>::has_infinity => false
```

-- 
GitHub Notif of comment by alexshalamov
See https://github.com/w3c/web-nfc/issues/81#issuecomment-153373967

Received on Tuesday, 3 November 2015 14:37:44 UTC