()
| 190 | |
| 191 | // Returns whether response’s status is an ok status. |
| 192 | get ok () { |
| 193 | webidl.brandCheck(this, Response) |
| 194 | |
| 195 | // The ok getter steps are to return true if this’s response’s status is an |
| 196 | // ok status; otherwise false. |
| 197 | return this.#state.status >= 200 && this.#state.status <= 299 |
| 198 | } |
| 199 | |
| 200 | // Returns response’s status message. |
| 201 | get statusText () { |
no test coverage detected