- From: Domenic Denicola <notifications@github.com>
- Date: Wed, 17 May 2017 09:43:41 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 17 May 2017 16:44:25 UTC
domenic commented on this pull request.
> @@ -1564,9 +1564,17 @@ them. For instance, if the operation has already completed.
<h3 id=abortcontroller-api-integration>Using {{AbortController}} and {{AbortSignal}} objects in
APIs</h3>
-<p>Any web platform API using promises that to represent operations that can be aborted must accept
-{{AbortSignal}} objects, use the [=AbortSignal/abort algorithms=] mechanism, and convey that the
-operation got aborted by rejecting the promise with the "{{AbortError}}" {{DOMException}}.
+<p>Any web platform API using promises to represent operations that can be aborted must adhere to
+the following:
+
+<ul class=brief>
+ <li>Accept {{AbortSignal}} objects through a <code>signal</code> dictionary member.
+ <li>Use the [=AbortSignal/abort algorithms=] mechanism.
+ <li>Convey that the operation got aborted by rejecting the promise with the "{{AbortError}}"
Nit: an "AbortError" DOMException, not the "AbortError" DOMException.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/437#pullrequestreview-38725224
Received on Wednesday, 17 May 2017 16:44:25 UTC