(bytes)
| 14165 | } |
| 14166 | var markResourceTiming = performance.markResourceTiming; |
| 14167 | function abortFetch(p, request, responseObject, error) { |
| 14168 | var _a, _b; |
| 14169 | if (p) { |
| 14170 | p.reject(error); |
| 14171 | } |
| 14172 | if (request.body != null && isReadable((_a = request.body) == null ? void 0 : _a.stream)) { |
| 14173 | request.body.stream.cancel(error).catch((err) => { |
| 14174 | if (err.code === "ERR_INVALID_STATE") { |
| 14175 | return; |
| 14176 | } |
| 14177 | throw err; |
nothing calls this directly
no test coverage detected