const controller = new AbortController();
controller.abort();
return controller.signal;
return AbortSignal.abort();
Interoperability and Compatibility
Gecko: Shipped/Shipping (https://bugzilla.mozilla.org/show_bug.cgi?id=1698468)
WebKit: Shipped/Shipping (https://bugs.webkit.org/show_bug.cgi?id=223071)
Web developers: Positive (https://github.com/whatwg/dom/issues/959)
This intent message was generated by Chrome Platform Status.
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/a94ad2d8-a153-8d11-0449-591a51709c54%40igalia.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAKXHy%3DeBCnn_GoCwBJkL_7VXFpd4QA779OKp8JXKrb3zgTtV3g%40mail.gmail.com.
That said, I only see one test explicitly exercising `AbortSignal.abort()`: https://wpt.fyi/results/dom/abort/event.any.html?label=master&label=experimental&aligned. It's pretty simple, but is it that simple? Are there corner cases we might be missing?