This feature adds a new AbortSignal option, named "signal", to the options parameter of addEventListener(). The "signal" option must first be created by an AbortController by accessing the "signal" property on an AbortController instance. Once the signal is passed in to addEventListener, calling "abort()" on the AbortController will remove the event listener added with addEventListener. For more context, see https://github.com/whatwg/dom/issues/911.
Motivation
This feature has been implemented in NodeJS and has developer interest as seen in this issue: https://github.com/whatwg/dom/issues/911
Specification
Status in Chromium
In developer trial (Behind a flag) (tracking bug) in:
- Chrome for desktop release 88
- Chrome for iOS release 88
- Android WebView release 88
Consensus & Standardization
After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.
- No signal
- No signal
- No signal
- No signals
Owner
Intent to Prototype url
Intent to Prototype threadLast updated on 2021-01-26