()
| 33 | |
| 34 | // Creates network error Response. |
| 35 | static error () { |
| 36 | // The static error() method steps are to return the result of creating a |
| 37 | // Response object, given a new network error, "immutable", and this’s |
| 38 | // relevant Realm. |
| 39 | const responseObject = fromInnerResponse(makeNetworkError(), 'immutable') |
| 40 | |
| 41 | return responseObject |
| 42 | } |
| 43 | |
| 44 | // https://fetch.spec.whatwg.org/#dom-response-json |
| 45 | static json (data, init = undefined) { |
no test coverage detected