- From: Anne van Kesteren <notifications@github.com>
- Date: Thu, 04 Feb 2021 08:42:21 -0800
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 4 February 2021 16:42:33 UTC
If you replace this with a promise you would no longer be able to synchronously act on it already being aborted, right? I think we do have this pattern, e.g., https://fetch.spec.whatwg.org/#dom-global-fetch first does a synchronous check and then adds a listener. And https://dom.spec.whatwg.org/#aborting-ongoing-activities-spec-example recommends it. But it seems to me that changing it to await a promise might change the runtime semantics. -- 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/issues/946#issuecomment-773445644
Received on Thursday, 4 February 2021 16:42:33 UTC