()
| 1946 | |
| 1947 | // 2. Let processEndOfBody be these steps: |
| 1948 | const processEndOfBody = () => { |
| 1949 | // 1. If fetchParams is canceled, then abort these steps. |
| 1950 | if (isCancelled(fetchParams)) { |
| 1951 | return |
| 1952 | } |
| 1953 | |
| 1954 | // 2. If fetchParams’s process request end-of-body is non-null, |
| 1955 | // then run fetchParams’s process request end-of-body. |
| 1956 | if (fetchParams.processRequestEndOfBody) { |
| 1957 | fetchParams.processRequestEndOfBody() |
| 1958 | } |
| 1959 | } |
| 1960 | |
| 1961 | // 3. Let processBodyError given e be these steps: |
| 1962 | const processBodyError = (e) => { |
no test coverage detected