(response)
| 13928 | } |
| 13929 | this.state = "aborted"; |
| 13930 | if (!error) { |
| 13931 | error = new DOMException("The operation was aborted.", "AbortError"); |
| 13932 | } |
| 13933 | this.serializedAbortReason = error; |
| 13934 | (_a = this.connection) == null ? void 0 : _a.destroy(error); |
| 13935 | this.emit("terminated", error); |
| 13936 | } |
| 13937 | }; |
| 13938 | function handleFetchDone(response) { |
| 13939 | finalizeAndReportTiming(response, "fetch"); |
| 13940 | } |
| 13941 | function fetch(input, init = void 0) { |
| 13942 | var _a; |
| 13943 | webidl.argumentLengthCheck(arguments, 1, "globalThis.fetch"); |
| 13944 | let p = createDeferredPromise(); |
| 13945 | let requestObject; |
| 13946 | try { |
| 13947 | requestObject = new Request(input, init); |
| 13948 | } catch (e) { |
nothing calls this directly
no test coverage detected