request-headers.any.html
Details
- Test
/fetch/api/basic/request-headers.any.html- Harness
- OK
Subtests
| Status | Subtest |
|---|---|
| PASS | Fetch with GET |
| PASS | Fetch with HEAD |
| PASS | Fetch with PUT without body |
| PASS | Fetch with PUT with body |
| PASS | Fetch with POST without body |
| PASS | Fetch with POST with text body |
| PASS | Fetch with POST with FormData body |
| PASS | Fetch with POST with URLSearchParams body |
| PASS | Fetch with POST with Blob body |
| PASS | Fetch with POST with ArrayBuffer body |
| PASS | Fetch with POST with Uint8Array body |
| PASS | Fetch with POST with Int8Array body |
| PASS | Fetch with POST with Float16Array body |
| PASS | Fetch with POST with Float32Array body |
| PASS | Fetch with POST with Float64Array body |
| PASS | Fetch with POST with DataView body |
| PASS | Fetch with POST with Blob body with mime type |
| FAIL | Fetch with Chicken promise_test: Unhandled rejection with value: object "TypeError: Invalid HTTP method string: Chicken" |
| FAIL | Fetch with Chicken with body promise_test: Unhandled rejection with value: object "TypeError: Invalid HTTP method string: Chicken" |
| PASS | Fetch with GET and mode "cors" does not need an Origin header |
| PASS | Fetch with POST and mode "same-origin" needs an Origin header |
| PASS | Fetch with POST and mode "no-cors" needs an Origin header |
| PASS | Fetch with PUT and mode "same-origin" needs an Origin header |
| FAIL | Fetch with TacO and mode "same-origin" needs an Origin header promise_test: Unhandled rejection with value: object "TypeError: Invalid HTTP method string: TacO" |
| FAIL | Fetch with TacO and mode "cors" needs an Origin header promise_test: Unhandled rejection with value: object "TypeError: Invalid HTTP method string: TacO" |