(reason)
| 2031 | // 12. Let cancelAlgorithm be an algorithm that aborts fetchParams’s |
| 2032 | // controller with reason, given reason. |
| 2033 | const cancelAlgorithm = (reason) => { |
| 2034 | // If the aborted fetch was already terminated, then we do not |
| 2035 | // need to do anything. |
| 2036 | if (!isCancelled(fetchParams)) { |
| 2037 | fetchParams.controller.abort(reason) |
| 2038 | } |
| 2039 | } |
| 2040 | |
| 2041 | // 13. Let highWaterMark be a non-negative, non-NaN number, chosen by |
| 2042 | // the user agent. |
nothing calls this directly
no test coverage detected