Description[webnfc] Reject promise if passed timeout value is invalid
According to latest changes in specification [1,2], when invalid
NFCPushOptions.timeout is provided to nfc.push function, promise
must be rejected with TypeError.
[1] https://w3c.github.io/web-nfc/#dom-nfc-push
[2] https://github.com/w3c/web-nfc/issues/112
BUG=714035
Review-Url: https://codereview.chromium.org/2836813007
Cr-Commit-Position: refs/heads/master@{#467265}
Committed: https://chromium.googlesource.com/chromium/src/+/d5514f4cd0a146298f52a96ac5f75b58f95b2980
Patch Set 1 #
Messages
Total messages: 13 (8 generated)
|