response-error.any.html
Details
- Test
/fetch/api/response/response-error.any.html- Harness
- OK
Subtests
| Status | Subtest |
|---|---|
| PASS | Throws RangeError when responseInit's status is 0 |
| PASS | Throws RangeError when responseInit's status is 100 |
| PASS | Throws RangeError when responseInit's status is 199 |
| PASS | Throws RangeError when responseInit's status is 600 |
| PASS | Throws RangeError when responseInit's status is 1000 |
| PASS | Throws TypeError when responseInit's statusText is |
| FAIL | Throws TypeError when responseInit's statusText is Ā assert_throws_js: Expect TypeError exception Ā function "function() { new Response("", { "statusText" : statusText }); }" did not throw |
| PASS | Throws TypeError when building a response with body and a body status of 204 |
| PASS | Throws TypeError when building a response with body and a body status of 205 |
| PASS | Throws TypeError when building a response with body and a body status of 304 |