- From: Marcos Cáceres <notifications@github.com>
- Date: Fri, 20 Nov 2026 20:50:48 -0800
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Saturday, 21 November 2026 04:50:52 UTC
Add guidance on validating arguments before checking an AbortSignal
Reading an argument can run script that aborts the signal, so an API
should validate its arguments first and check the signal last. The
example algorithm now does this.
- [ ] At least two implementers are interested (and none opposed):
* n/a, guidance only
- [ ] Tests are written and can be reviewed and commented upon at:
* n/a, guidance only
- [ ] Implementation bugs are filed:
* n/a, guidance only
- [ ] MDN issue is filed: n/a, guidance only
- [ ] The top of this comment includes a clear commit message to use.
You can view, comment on, or merge this pull request online at:
https://github.com/whatwg/dom/pull/1533
-- Commit Summary --
* Add guidance on validating arguments before checking an AbortSignal
-- File Changes --
M dom.bs (19)
-- Patch Links --
https://github.com/whatwg/dom/pull/1533.patch
https://github.com/whatwg/dom/pull/1533.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/1533
You are receiving this because you are subscribed to this thread.
Message ID: <whatwg/dom/pull/1533@github.com>
Received on Saturday, 21 November 2026 04:50:52 UTC