[webnfc] Cancel nfc.push operation when timeout expires
This CL adds missing timeout handling functionality [1]. When user provides timeout value for the push operation, and NFC tag is not in proximity for the duration of timeout value, operation must be rejected with timeout error. Unit test is added to test new functionality. https://w3c.github.io/web-nfc/#the-push-method (Step 14). BUG=714037 Review-Url: https://codereview.chromium.org/2851453004 Cr-Commit-Position: refs/heads/master@{#469294}
Showing
This diff is collapsed.
Please register or sign in to comment