Re: [whatwg/webidl] New error name: OptOutError (Issue #1168)

[AbortController & AbortSignal](https://dom.spec.whatwg.org/#aborting-ongoing-activities) are the web platform’s generic cancellation primitives. Some examples of their use in other specs:

- [Eyedropper](https://wicg.github.io/eyedropper-api/#ref-for-dom-colorselectionoptions-signal-1)
- [Fetch](https://fetch.spec.whatwg.org/#request-signal)
- [Geolocation Sensor](https://w3c.github.io/geolocation-sensor/#dictdef-readoptions)
- [Scheduler](https://wicg.github.io/scheduling-apis/#sec-scheduler)
- [Web Locks](https://w3c.github.io/web-locks/#lock-request-signal)
- [WebAuthn](https://w3c.github.io/webauthn/#sctn-sample-aborting)
- _(maybe ~9 others, only went through the first few pages of matches)_

I don’t know if they’re appropriate here, but I’d figured you were already using them because I’d (perhaps mistakenly) believed new platform APIs were only producing AbortError DOMExceptions now when leveraging those APIs.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/webidl/issues/1168#issuecomment-1183621413

You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/webidl/issues/1168/1183621413@github.com>

Received on Wednesday, 13 July 2022 19:59:02 UTC