Lines Matching defs:abort

97   // https://fetch.spec.whatwg.org/#fetch-controller-abort
98 abort (error) {
116 // 5. Set controller’s serialized abort reason to serializedError.
149 // requestObject’s signal’s abort reason.
177 // 11. Add the following abort steps to requestObject’s signal:
187 // 3. Abort controller with requestObject’s signal’s abort reason.
188 controller.abort(requestObject.signal.reason)
191 // and requestObject’s signal’s abort reason.
214 // abort reason given controller’s serialized abort reason and
327 // https://fetch.spec.whatwg.org/#abort-fetch
748 // then run processBodyError and abort these steps.
757 // then run processBodyError and abort these steps. [SRI]
1274 // 8. Run these steps, but abort when the ongoing fetch is terminated:
1586 abort: null,
1591 this.abort?.(err ?? new DOMException('The operation was aborted.', 'AbortError'))
1635 // 9. Run these steps, but abort when the ongoing fetch is terminated:
1699 // 1. If the ongoing fetch is terminated, then abort these steps.
1714 // 1. If fetchParams is canceled, then abort these steps.
1728 // 1. If fetchParams is canceled, then abort these steps.
1733 // 2. If e is an "AbortError" DOMException, then abort fetchParams’s controller.
1735 fetchParams.controller.abort()
1789 fetchParams.controller.abort(reason)
1828 // 17. Run these steps, but abort when the ongoing fetch is terminated:
1849 // 1. Run these steps, but abort when fetchParams is canceled:
1885 // abort these in-parallel steps.
1928 // deserialize a serialized abort reason given fetchParams’s
1929 // controller’s serialized abort reason and an
1970 abort: null,
1972 onConnect (abort) {
1977 abort(new DOMException('The operation was aborted.', 'AbortError'))
1979 fetchParams.controller.on('terminated', abort)
1980 this.abort = connection.abort = abort
2094 if (this.abort) {
2095 fetchParams.controller.off('terminated', this.abort)
2104 if (this.abort) {
2105 fetchParams.controller.off('terminated', this.abort)