Skip to content

Commit 0f64adc

Browse files
committed
Integrity-Policy integration
1 parent 41185ac commit 0f64adc

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

fetch.bs

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1763,8 +1763,9 @@ the empty string,
17631763
the time being as other specifications do not require it to be. It is primarily a specification
17641764
device to assist defining CSP and Mixed Content. It is not exposed to JavaScript. [[!CSP]] [[!MIX]]
17651765

1766-
<p>A <a for=/>request</a> has an associated
1767-
<dfn export for=request id=concept-request-destination>destination</dfn>, which is
1766+
<p>A <dfn export for=request id=concept-request-destination-type>destination type</dfn> is a string,
1767+
which can be one of the following values:
1768+
17681769
the empty string,
17691770
"<code>audio</code>",
17701771
"<code>audioworklet</code>",
@@ -1787,7 +1788,11 @@ the empty string,
17871788
"<code>video</code>",
17881789
"<code>webidentity</code>",
17891790
"<code>worker</code>", or
1790-
"<code>xslt</code>". Unless stated otherwise it is the empty string.
1791+
"<code>xslt</code>".
1792+
1793+
<p>A <a for=/>request</a> has an associated
1794+
<dfn export for=request id=concept-request-destination>destination</dfn>, which is
1795+
<a for=request>destination type</a>. Unless stated otherwise it is the empty string.
17911796

17921797
<p class=note>These are reflected on {{RequestDestination}} except for "<code>serviceworker</code>"
17931798
and "<code>webidentity</code>" as fetches with those destinations skip service workers.
@@ -4533,7 +4538,8 @@ steps:
45334538

45344539
<li><p>If <a lt="block bad port">should <var>request</var> be blocked due to a bad port</a>,
45354540
<a lt="should fetching request be blocked as mixed content?">should fetching <var>request</var> be blocked as mixed content</a>, or
4536-
<a lt="should request be blocked by Content Security Policy?">should <var>request</var> be blocked by Content Security Policy</a>
4541+
<a lt="should request be blocked by Content Security Policy?">should <var>request</var> be blocked by Content Security Policy</a>, or
4542+
<a lt="should request be blocked by Integrity Policy">should <var>request</var> be blocked by Integrity Policy Policy</a>
45374543
returns <b>blocked</b>, then set <var>response</var> to a <a>network error</a>.
45384544

45394545
<li><p>If <var>request</var>'s <a for=request>referrer policy</a> is the empty string, then set

0 commit comments

Comments
 (0)