[whatwg/fetch] Integrity-Policy integration (PR #1828)

This is a followup on https://github.com/w3c/webappsec-subresource-integrity/pull/133:
* Integrating the algorithms there into Main Fetch
* Defining request destination as a type, so it can be used there.

- [x] At least two implementers are interested (and none opposed):
   * Chromium has [shipped](https://groups.google.com/a/chromium.org/g/blink-dev/c/Q304_OkDAZA/m/GDdr27kSDwAJ)
   * WebKit is likely [supportive](https://github.com/WebKit/standards-positions/issues/458#issuecomment-2879100268)
- [x] [Tests](https://github.com/web-platform-tests/wpt) are written and can be reviewed and commented upon at:
   https://wpt.fyi/results/subresource-integrity/integrity-policy?label=experimental&label=master&aligned
- [x] [Implementation bugs](https://github.com/whatwg/meta/blob/main/MAINTAINERS.md#handling-pull-requests) are filed:
   * Chromium: https://issues.chromium.org/issues/412588111
   * Gecko: …
   * WebKit: https://bugs.webkit.org/show_bug.cgi?id=293433
   * Deno (not for CORS changes): …
- [ ] [MDN issue](https://github.com/whatwg/meta/blob/main/MAINTAINERS.md#handling-pull-requests) is filed: …
- [ ] The top of this comment includes a [clear commit message](https://github.com/whatwg/meta/blob/main/COMMITTING.md) to use. <!-- If you created this PR from a single commit, Github copied its message. Otherwise, you need to add a commit message yourself. -->

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


<!--
    This comment and the below content is programmatically generated.
    You may add a comma-separated list of anchors you'd like a
    direct link to below (e.g. #idl-serializers, #idl-sequence):

    Don't remove this comment or modify anything below this line.
    If you don't want a preview generated for this pull request,
    just replace the whole of this comment's content by "no preview"
    and remove what's below.
-->
***
<a href="https://whatpr.org/fetch/1828.html" title="Last updated on May 23, 2025, 10:31 AM UTC (0f64adc)">Preview</a> | <a href="https://whatpr.org/fetch/1828/41185ac...0f64adc.html" title="Last updated on May 23, 2025, 10:31 AM UTC (0f64adc)">Diff</a>
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Integrity-Policy integration

-- File Changes --

    M fetch.bs (14)

-- Patch Links --

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

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

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

Received on Friday, 23 May 2025 10:32:16 UTC