[whatwg/fetch] Define preconnect and dns-prefetch with CSP (PR #1620)

Preconnect & dns-prefetch test a fake prefetch request for CSP, and then obtain a connection/resolve an origin.

See whatwg/html#9035

<!--
Thank you for contributing to the Fetch Standard! Please describe the change you are making and complete the checklist below if your change is not editorial.
-->

- [ ] At least two implementers are interested (and none opposed):
   * …
   * …
- [ ] [Tests](https://github.com/web-platform-tests/wpt) are written and can be reviewed and commented upon at:
   * …
- [ ] [Implementation bugs](https://github.com/whatwg/meta/blob/main/MAINTAINERS.md#handling-pull-requests) are filed:
   * Chromium: …
   * Gecko: …
   * WebKit: …
   * Deno (not for CORS changes): …
- [ ] [MDN issue](https://github.com/whatwg/meta/blob/main/MAINTAINERS.md#handling-pull-requests) is filed: …

(See [WHATWG Working Mode: Changes](https://whatwg.org/working-mode#changes) for more details.)

You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/fetch/pull/1620

-- Commit Summary --

  * Define preconnect and dns-prefetch with CSP

-- File Changes --

    M fetch.bs (74)

-- Patch Links --

https://github.com/whatwg/fetch/pull/1620.patch
https://github.com/whatwg/fetch/pull/1620.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/1620
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/fetch/pull/1620@github.com>

Received on Monday, 20 March 2023 17:11:02 UTC