1 | 1 | This is a testharness.js-based test.
2 | 2 | PASS initialize global state
3 | 3 | FAIL event.request has the expected headers for same-origin GET. promise_test: Unhandled rejection with value: object "Error: assert_array_equals: event.request has the expected headers for same-origin GET. lengths differ, expected 1 got 2"
4 | 4 | FAIL event.request has the expected headers for same-origin POST. promise_test: Unhandled rejection with value: object "Error: assert_array_equals: event.request has the expected headers for same-origin POST. lengths differ, expected 2 got 4"
5 |  | FAIL event.request has the expected headers for cross-origin GET. promise_test: Unhandled rejection with value: object "Error: assert_array_equals: event.request has the expected headers for cross-origin GET. lengths differ, expected 1 got 2"
6 |  | FAIL event.request has the expected headers for cross-origin POST. promise_test: Unhandled rejection with value: object "Error: assert_array_equals: event.request has the expected headers for cross-origin POST. lengths differ, expected 2 got 4"
| 5 | FAIL event.request has the expected headers for cross-origin GET. promise_test: Unhandled rejection with value: "XHR should succeed."
| 6 | FAIL event.request has the expected headers for cross-origin POST. promise_test: Unhandled rejection with value: "XHR should succeed."
7 | 7 | PASS FetchEvent#request.body contains XHR request data (string)
8 | 8 | PASS FetchEvent#request.body contains XHR request data (blob)
9 | 9 | PASS FetchEvent#request.method is set to XHR method
10 | 10 | PASS XHR using OPTIONS method
11 | 11 | PASS XHR with form data
12 |  | PASS XHR with mode/credentials set
| 12 | FAIL XHR with mode/credentials set promise_test: Unhandled rejection with value: "XHR should succeed."
13 | 13 | PASS XHR to data URL
14 | 14 | PASS restore global state
15 | 15 | Harness: the test ran to completion.
16 | 16 |