Re: [whatwg/dom] Consider adding a timeout parameter to the AbortController constructor (Issue #1110)

Ah good point. I wonder here though if using [EnforceRange](https://webidl.spec.whatwg.org/#EnforceRange) solves that? If  `timeout` was defined as unsigned w/ EnforceRange, which it is for [`AbortSignal.timeout()`](https://dom.spec.whatwg.org/#abortsignal), I think `new AbortController({timeout: -1})` would throw if the option is supported and wouldn't otherwise.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/1110#issuecomment-1242340864
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/dom/issues/1110/1242340864@github.com>

Received on Friday, 9 September 2022 18:42:50 UTC