Intent to Prototype: AbortSignal in addEventListener

177 views
Skip to first unread message

Joey Arhar

unread,
Nov 10, 2020, 1:25:25 PM11/10/20
to blink-dev

Contact emails

jar...@chromium.org

Explainer

None

Specification

None

Summary

This feature adds a new AbortSignal option, named "signal", to the options parameter of addEventListener. This new option can be used to remove the event listener with an AbortController by calling abort(). More context: https://github.com/whatwg/dom/issues/911



Blink component

Blink>DOM

Motivation

This feature has been implemented in NodeJS and has developer interest as seen in this issue: https://github.com/whatwg/dom/issues/911



Initial public proposal

https://github.com/whatwg/dom/issues/911

TAG review

None

TAG review status

Pending

Risks



Interoperability and Compatibility

None



Gecko: No signal

WebKit: No signal

Web developers: No signals


Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?

Yes



Is this feature fully tested by web-platform-tests?

Yes, in this patch: https://chromium-review.googlesource.com/c/chromium/src/+/2527343

Tracking bug

https://bugs.chromium.org/p/chromium/issues/detail?id=1146467

Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/5658622220566528

This intent message was generated by Chrome Platform Status.

Yoav Weiss

unread,
Nov 11, 2020, 6:02:54 AM11/11/20
to Joey Arhar, blink-dev
On Tue, Nov 10, 2020 at 7:25 PM Joey Arhar <jar...@chromium.org> wrote:

Contact emails

jar...@chromium.org

Explainer

None

Specification

None

Summary

This feature adds a new AbortSignal option, named "signal", to the options parameter of addEventListener. This new option can be used to remove the event listener with an AbortController by calling abort(). More context: https://github.com/whatwg/dom/issues/911


Interesting proposal! 
 



Blink component

Blink>DOM

Motivation

This feature has been implemented in NodeJS and has developer interest as seen in this issue: https://github.com/whatwg/dom/issues/911



Initial public proposal

https://github.com/whatwg/dom/issues/911

TAG review

None


Seems worthwhile to kick off a TAG review at some point, to avoid being blocked on one later on. This sounds like something that would require a review.
 



TAG review status

Pending

Risks



Interoperability and Compatibility

None



Gecko: No signal

WebKit: No signal

Web developers: No signals


Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?

Yes



Is this feature fully tested by web-platform-tests?

Yes, in this patch: https://chromium-review.googlesource.com/c/chromium/src/+/2527343

Tracking bug

https://bugs.chromium.org/p/chromium/issues/detail?id=1146467

Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/5658622220566528

This 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/CAK6btwJRgowxq_tPAbHbJ6GGAD%3DEESzJPsuQPmyvW4OVoRRBow%40mail.gmail.com.

Joey Arhar

unread,
Nov 12, 2020, 11:17:25 AM11/12/20
to Yoav Weiss, blink-dev
> Seems worthwhile to kick off a TAG review at some point, to avoid being blocked on one later on. This sounds like something that would require a review.
Reply all
Reply to author
Forward
0 new messages