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.
Contact emails
jar...@chromium.orgExplainer
NoneSpecification
https://github.com/whatwg/dom/pull/919Summary
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.
Blink component
Blink>DOMTAG review
https://github.com/w3ctag/design-reviews/issues/569TAG review status
PendingRisks
Web developers: No signals
Is this feature fully tested by web-platform-tests?
Yes
https://wpt.fyi/results/dom/events/AddEventListenerOptions-signal.any.htmlTracking bug
https://bugs.chromium.org/p/chromium/issues/detail?id=1146467Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/5658622220566528Links to previous Intent discussions
Intent to prototype: https://groups.google.com/a/chromium.org/g/blink-dev/c/9396JedBBOM/m/OfeJ4z1OAQAJThis intent message was generated by Chrome Platform Status.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAK6btwJz-dRuFqXQWKzBrn0-z68GcDpphG6pf--DZPsBzPEymg%40mail.gmail.com.