Skip to content

Subresource Integrity check on Request instance with integrity property #33356

Closed
@juandelacruz23

Description

@juandelacruz23

MDN URL

https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity

What specific section or headline is this issue about?

How browsers handle Subresource Integrity

What information was incorrect, unhelpful, or incomplete?

Checking the article for the integrity property in the Request interface, it links to the article for Subresource Integrity.

While reading that article, I was left wondering if, when using the Fetch api, passing a Request instance with an integrity value would be validated by the browser, just as if the property was set on the attribute of a script tag.

What did you expect to see?

If this check also applied to requests that have an integrity check set in JavaScript, through Request's constructor.

Do you have any supporting links, references, or citations?

No response

Do you have anything more you want to share?

No response

MDN metadata

Page report details

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions