Re: [fetch-tests] Update fetch tests for more lenient Request constructor (#4341)

# Chrome (unstable channel) #
Testing web-platform-tests at revision 1809d530b2c9924e10334e7de5f8145ddb744fa9
Using browser at version 57.0.2987.19 dev
Starting 10 test iterations
All results were stable

## All results ##

<details>

<summary><a href="http://w3c-test.org/submissions/4341/fetch/api/request/request-init-001.sub.html">/fetch/api/request/request-init-001.sub.html</a></summary>


|                                                          Subtest                                                          | Results |
|---------------------------------------------------------------------------------------------------------------------------|---------|
|                                                                                                                           | OK      |
| `Check mode init value of no-cors and associated getter`                                                                  | PASS    |
| `Check referrerPolicy init value of origin-when-cross-origin and associated getter`                                       | PASS    |
| `Check window init value of null and associated getter`                                                                   | PASS    |
| `Check method init value of HEAD and associated getter`                                                                   | PASS    |
| `Check integrity init value of AZERTYUIOP1234567890 and associated getter`                                                | PASS    |
| `Check redirect init value of follow and associated getter`                                                               | PASS    |
| `Check redirect init value of error and associated getter`                                                                | PASS    |
| `Check mode init value of cors and associated getter`                                                                     | PASS    |
| `Check referrer init value of /relative/ressource and associated getter`                                                  | PASS    |
| `Check credentials init value of same-origin and associated getter`                                                       | PASS    |
| `Check integrity init value of  and associated getter`                                                                    | PASS    |
| `Check referrer init value of http://web-platform.test:8000/relative/ressource?query=true#fragment and associated getter` | PASS    |
| `Check referrer init value of  and associated getter`                                                                     | PASS    |
| `Check referrerPolicy init value of unsafe-url and associated getter`                                                     | PASS    |
| `Check mode init value of navigate and associated getter`                                                                 | FAIL    |
| `Check method init value of DELETE and associated getter`                                                                 | PASS    |
| `Check method init value of GET and associated getter`                                                                    | PASS    |
| `Check redirect init value of manual and associated getter`                                                               | PASS    |
| `Check method init value of head and associated getter`                                                                   | PASS    |
| `Check method init value of POST and associated getter`                                                                   | PASS    |
| `Check referrerPolicy init value of no-referrer and associated getter`                                                    | PASS    |
| `Check referrerPolicy init value of same-origin and associated getter`                                                    | FAIL    |
| `Check credentials init value of omit and associated getter`                                                              | PASS    |
| `Check referrerPolicy init value of no-referrer-when-downgrade and associated getter`                                     | PASS    |
| `Check referrerPolicy init value of strict-origin-when-cross-origin and associated getter`                                | FAIL    |
| `Check referrerPolicy init value of strict-origin and associated getter`                                                  | FAIL    |
| `Check referrer init value of http://test.url and associated getter`                                                      | FAIL    |
| `Check credentials init value of include and associated getter`                                                           | PASS    |
| `Check method init value of OPTIONS and associated getter`                                                                | PASS    |
| `Check referrer init value of http://web-platform.test:8000/ and associated getter`                                       | PASS    |
| `Check referrer init value of about:client and associated getter`                                                         | PASS    |
| `Check referrerPolicy init value of origin and associated getter`                                                         | PASS    |
| `Check referrerPolicy init value of  and associated getter`                                                               | PASS    |
| `Check mode init value of same-origin and associated getter`                                                              | PASS    |
| `Check method init value of PUT and associated getter`                                                                    | PASS    |

</details>

<details>

<summary><a href="http://w3c-test.org/submissions/4341/fetch/api/policies/referrer-origin-worker.html">/fetch/api/policies/referrer-origin-worker.html</a></summary>


|                        Subtest                         | Results |
|--------------------------------------------------------|---------|
|                                                        | OK      |
| `Request's referrer is origin`                         | PASS    |
| `Cross-origin referrer is overridden by client origin` | FAIL    |

</details>

<details>

<summary><a href="http://w3c-test.org/submissions/4341/fetch/api/policies/referrer-origin.html">/fetch/api/policies/referrer-origin.html</a></summary>


|                        Subtest                         | Results |
|--------------------------------------------------------|---------|
|                                                        | OK      |
| `Request's referrer is origin`                         | PASS    |
| `Cross-origin referrer is overridden by client origin` | FAIL    |

</details>

<details>

<summary><a href="http://w3c-test.org/submissions/4341/fetch/api/request/request-error.html">/fetch/api/request/request-error.html</a></summary>


|                                           Subtest                                            | Results |
|----------------------------------------------------------------------------------------------|---------|
|                                                                                              | OK      |
| `Bad credentials init parameter value`                                                       | FAIL    |
| `Request should get its content-type from the init request`                                  | PASS    |
| `Request should get its content-type from init headers if one is provided`                   | PASS    |
| `RequestInit's cache mode is only-if-cached and mode is not same-origin`                     | FAIL    |
| `RequestInit's method is forbidden`                                                          | PASS    |
| `Request should get its content-type from the body if none is provided`                      | PASS    |
| `Bad cache init parameter value`                                                             | FAIL    |
| `RequestInit's referrer is invalid`                                                          | PASS    |
| `Bad referrerPolicy init parameter value`                                                    | PASS    |
| `Bad redirect init parameter value`                                                          | FAIL    |
| `RequestInit's window is not null`                                                           | FAIL    |
| `RequestInit's mode is no-cors and integrity is not empty`                                   | PASS    |
| `Request with cache mode: only-if-cached and fetch mode: same-origin`                        | PASS    |
| `Request with cache mode: only-if-cached and fetch mode: cors`                               | FAIL    |
| `Input URL has credentials`                                                                  | PASS    |
| `Request should not get its content-type from the init request if init headers are provided` | PASS    |
| `RequestInit's method is invalid`                                                            | PASS    |
| `Input URL is not valid`                                                                     | PASS    |
| `Request with cache mode: only-if-cached and fetch mode: no-cors`                            | FAIL    |
| `Bad mode init parameter value`                                                              | FAIL    |
| `RequestInit's mode is no-cors and method is not simple`                                     | PASS    |

</details>


View on GitHub: https://github.com/w3c/web-platform-tests/pull/4341#issuecomment-276760793

Received on Wednesday, 1 February 2017 19:45:44 UTC