Abortable fetchBaseline · Widely available
If you construct a fetch request with an AbortSignal, you can cancel the request.
Supported in all major browsers for at least 30 months — safe to use without fallbacks. Baseline since Mar 25, 2019. Widely available since Sep 25, 2021.
Browser support
DesktopChrome
1–65Not supported
66+Supportedsince Apr 17, 2018
Current: 155Edge
12–15Not supported
16+Supportedsince Oct 17, 2017
Current: 154Firefox
1–56Not supported
57+Supportedsince Nov 14, 2017
Current: 157Safari
1–12Not supported
12.1+Supportedsince Mar 25, 2019
Current: 27MobileChrome Android
18–65Not supported
66+Supportedsince Apr 17, 2018
Current: 155Firefox Android
4–56Not supported
57+Supportedsince Nov 28, 2017
Current: 157Safari iOS
1–12Not supported
12.2+Supportedsince Mar 25, 2019
Current: 27How to use
This feature is Baseline widely available — use it freely, no fallback needed.
Example
Full syntax and examples are on MDN: signal.
Feature detection
JS · check before using
if ("fetch" in globalThis && "options_parameter" in fetch.prototype) {
// fetch.options_parameter is available
}Documentation (MDN)
Sub-features
Support for each part of the feature (2). The overall table above shows when the whole feature works.
| Sub-feature | Chrome | Edge | Firefox | Safari | Chrome Android | Firefox Android | Safari iOS |
|---|---|---|---|---|---|---|---|
| Request.signal | 66 | 16 | 57 | 12.1 | 66 | 57 | 12.2 |
| fetch.options_parameter.signal | 66 | 16 | 57 | 11.1 | 66 | 57 | 11.3 |