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

@zolkis 
http://www.ecma-international.org/ecma-262/5.1/#sec-8.5
http://www.w3.org/TR/WebIDL/#es-unsigned-long
If x > 2^32 − 1, then throw a TypeError

I wonder why other specs (MSE, WebAudio, Battery, DeviceLight) use 
"unrestricted double" for Infinity values? Should we also use:
```javascript
dictionary NFCPushOptions {
    NFCPushTarget target = "any";
    unrestricted double timeout; // default value +Infinity
};
```


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

Received on Tuesday, 3 November 2015 12:05:29 UTC