blob: 262978bb6f550a0db5116c5f335f796779d06db1 [file] [log] [blame]
This is a testharness.js-based test.
PASS CORS that succeeds with credentials: false; method: GET (allowed: get); header: X-Test,1 (allowed: x-test)
PASS CORS that succeeds with credentials: false; method: SUPER (allowed: *); header: X-Test,1 (allowed: x-test)
FAIL CORS that succeeds with credentials: false; method: OK (allowed: *); header: X-Test,1 (allowed: *) promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch"
PASS CORS that fails with credentials: true; method: OK (allowed: *); header: X-Test,1 (allowed: *)
PASS CORS that fails with credentials: true; method: PUT (allowed: *); header: (allowed: )
PASS CORS that succeeds with credentials: true; method: PUT (allowed: PUT); header: (allowed: *)
PASS CORS that fails with credentials: true; method: PUT (allowed: put); header: (allowed: *)
PASS CORS that fails with credentials: true; method: GET (allowed: get); header: X-Test,1 (allowed: *)
PASS CORS that fails with credentials: true; method: GET (allowed: *); header: X-Test,1 (allowed: *)
PASS CORS that succeeds with credentials: true; method: * (allowed: *); header: *,1 (allowed: *)
Harness: the test ran to completion.