-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace start/stop with scan/AbortController #300
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How is the AbortError event dispatched? Shouldn't it be?
@kenchris I thought it was done automatically like |
Ah maybe it is... If you could verify that would be great |
Looks good. |
According to https://dom.spec.whatwg.org/#abortsignal-abort-algorithms,
|
This CL uses AbortController to replace the stop() method of NFCReader interface. The corresponding spec change is from: w3c/web-nfc#300 BUG=520391 Change-Id: Ia28bfb283a7ad66fb9c4cb0fc744582671a62fa0
This CL uses AbortController to replace the stop() method of NFCReader interface. The corresponding spec change is from: w3c/web-nfc#300 BUG=520391 Change-Id: Ia28bfb283a7ad66fb9c4cb0fc744582671a62fa0
This CL uses AbortController to replace the stop() method of NFCReader interface. The corresponding spec change is from: w3c/web-nfc#300 BUG=520391 Change-Id: Ia28bfb283a7ad66fb9c4cb0fc744582671a62fa0
This CL uses AbortController to replace the stop() method of NFCReader interface. The corresponding spec change is from: w3c/web-nfc#300 BUG=520391 Change-Id: Ia28bfb283a7ad66fb9c4cb0fc744582671a62fa0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1769245 Reviewed-by: Daniel Cheng <[email protected]> Reviewed-by: Reilly Grant <[email protected]> Reviewed-by: Rijubrata Bhaumik <[email protected]> Commit-Queue: Leon Han <[email protected]> Cr-Commit-Position: refs/heads/master@{#691988}
This CL uses AbortController to replace the stop() method of NFCReader interface. The corresponding spec change is from: w3c/web-nfc#300 BUG=520391 Change-Id: Ia28bfb283a7ad66fb9c4cb0fc744582671a62fa0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1769245 Reviewed-by: Daniel Cheng <[email protected]> Reviewed-by: Reilly Grant <[email protected]> Reviewed-by: Rijubrata Bhaumik <[email protected]> Commit-Queue: Leon Han <[email protected]> Cr-Commit-Position: refs/heads/master@{#691988}
This CL uses AbortController to replace the stop() method of NFCReader interface. The corresponding spec change is from: w3c/web-nfc#300 BUG=520391 Change-Id: Ia28bfb283a7ad66fb9c4cb0fc744582671a62fa0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1769245 Reviewed-by: Daniel Cheng <[email protected]> Reviewed-by: Reilly Grant <[email protected]> Reviewed-by: Rijubrata Bhaumik <[email protected]> Commit-Queue: Leon Han <[email protected]> Cr-Commit-Position: refs/heads/master@{#691988}
…er, a=testonly Automatic update from web-platform-tests [webnfc] Use AbortController for NFCReader This CL uses AbortController to replace the stop() method of NFCReader interface. The corresponding spec change is from: w3c/web-nfc#300 BUG=520391 Change-Id: Ia28bfb283a7ad66fb9c4cb0fc744582671a62fa0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1769245 Reviewed-by: Daniel Cheng <[email protected]> Reviewed-by: Reilly Grant <[email protected]> Reviewed-by: Rijubrata Bhaumik <[email protected]> Commit-Queue: Leon Han <[email protected]> Cr-Commit-Position: refs/heads/master@{#691988} -- wpt-commits: fb898b46adaf656c9807ed0b8adb39d84162cb98 wpt-pr: 18689
…er, a=testonly Automatic update from web-platform-tests [webnfc] Use AbortController for NFCReader This CL uses AbortController to replace the stop() method of NFCReader interface. The corresponding spec change is from: w3c/web-nfc#300 BUG=520391 Change-Id: Ia28bfb283a7ad66fb9c4cb0fc744582671a62fa0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1769245 Reviewed-by: Daniel Cheng <[email protected]> Reviewed-by: Reilly Grant <[email protected]> Reviewed-by: Rijubrata Bhaumik <[email protected]> Commit-Queue: Leon Han <[email protected]> Cr-Commit-Position: refs/heads/master@{#691988} -- wpt-commits: fb898b46adaf656c9807ed0b8adb39d84162cb98 wpt-pr: 18689
…er, a=testonly Automatic update from web-platform-tests [webnfc] Use AbortController for NFCReader This CL uses AbortController to replace the stop() method of NFCReader interface. The corresponding spec change is from: w3c/web-nfc#300 BUG=520391 Change-Id: Ia28bfb283a7ad66fb9c4cb0fc744582671a62fa0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1769245 Reviewed-by: Daniel Cheng <dchengchromium.org> Reviewed-by: Reilly Grant <reillygchromium.org> Reviewed-by: Rijubrata Bhaumik <rijubrata.bhaumikintel.com> Commit-Queue: Leon Han <leon.hanintel.com> Cr-Commit-Position: refs/heads/master{#691988} -- wpt-commits: fb898b46adaf656c9807ed0b8adb39d84162cb98 wpt-pr: 18689 UltraBlame original commit: fad16189ee2b34bbc164f69971e44c04d5eb1018
…er, a=testonly Automatic update from web-platform-tests [webnfc] Use AbortController for NFCReader This CL uses AbortController to replace the stop() method of NFCReader interface. The corresponding spec change is from: w3c/web-nfc#300 BUG=520391 Change-Id: Ia28bfb283a7ad66fb9c4cb0fc744582671a62fa0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1769245 Reviewed-by: Daniel Cheng <dchengchromium.org> Reviewed-by: Reilly Grant <reillygchromium.org> Reviewed-by: Rijubrata Bhaumik <rijubrata.bhaumikintel.com> Commit-Queue: Leon Han <leon.hanintel.com> Cr-Commit-Position: refs/heads/master{#691988} -- wpt-commits: fb898b46adaf656c9807ed0b8adb39d84162cb98 wpt-pr: 18689 UltraBlame original commit: fad16189ee2b34bbc164f69971e44c04d5eb1018
…er, a=testonly Automatic update from web-platform-tests [webnfc] Use AbortController for NFCReader This CL uses AbortController to replace the stop() method of NFCReader interface. The corresponding spec change is from: w3c/web-nfc#300 BUG=520391 Change-Id: Ia28bfb283a7ad66fb9c4cb0fc744582671a62fa0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1769245 Reviewed-by: Daniel Cheng <dchengchromium.org> Reviewed-by: Reilly Grant <reillygchromium.org> Reviewed-by: Rijubrata Bhaumik <rijubrata.bhaumikintel.com> Commit-Queue: Leon Han <leon.hanintel.com> Cr-Commit-Position: refs/heads/master{#691988} -- wpt-commits: fb898b46adaf656c9807ed0b8adb39d84162cb98 wpt-pr: 18689 UltraBlame original commit: fad16189ee2b34bbc164f69971e44c04d5eb1018
This is a first draft to see if I'm heading in the right direction.
Let me know what you think.
Fix #225
Preview | Diff