cors-preflight.any.html
Details
- Test
/fetch/api/cors/cors-preflight.any.html- Harness
- OK
Subtests
| Status | Subtest |
|---|---|
| PASS | CORS [DELETE], server allows |
| PASS | CORS [DELETE], server refuses |
| PASS | CORS [PUT], server allows |
| PASS | CORS [PUT], server allows, check preflight has user agent |
| PASS | CORS [PUT], server refuses |
| PASS | CORS [PATCH], server allows |
| PASS | CORS [PATCH], server refuses |
| FAIL | CORS [patcH], server allows promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" |
| PASS | CORS [patcH], server refuses |
| FAIL | CORS [NEW], server allows promise_test: Unhandled rejection with value: object "TypeError: Invalid HTTP method string: NEW" |
| PASS | CORS [NEW], server refuses |
| FAIL | CORS [chicken], server allows promise_test: Unhandled rejection with value: object "TypeError: Invalid HTTP method string: chicken" |
| PASS | CORS [chicken], server refuses |
| PASS | CORS [GET] [x-test-header: allowed], server allows |
| PASS | CORS [GET] [x-test-header: refused], server refuses |
| PASS | CORS [GET] [several headers], server allows |
| PASS | CORS [GET] [several headers], server refuses |
| PASS | CORS [PUT] [several headers], server allows |
| PASS | CORS [PUT] [several headers], server refuses |
| PASS | CORS [PUT] [only safe headers], server allows |
| PASS | "authorization" should not be covered by the wildcard symbol |
| PASS | "authorization" should be covered by "authorization" |