File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
specs/subresourceintegrity Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -29,9 +29,9 @@ impunity. Ideally, authors would not only be able to pin the keys of a
29
29
server, but also pin the _ content_ , ensuring that an exact representation of
30
30
a resource, and _ only_ that representation, loads and executes.
31
31
32
- This document specifies such a validation scheme, extending two HTML
33
- elements with an ` integrity ` attribute that contains a cryptographic hash of
34
- the representation of the resource the author expects to load. For instance,
32
+ This document specifies such a validation scheme, extending two HTML elements
33
+ and the ` fetch() ` API with an ` integrity ` attribute that contains a cryptographic hash
34
+ of the representation of the resource the author expects to load. For instance,
35
35
an author may wish to load some framework from a shared server rather than hosting it
36
36
on their own origin. Specifying that the _ expected_ SHA-256 hash of
37
37
` https://example.com/example-framework.js `
You can’t perform that action at this time.
0 commit comments