Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions fetch.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1832,6 +1832,7 @@ the empty string,
"<code>serviceworker</code>",
"<code>sharedworker</code>",
"<code>style</code>",
"<code>text</code>",
"<code>track</code>",
"<code>video</code>",
"<code>webidentity</code>",
Expand Down Expand Up @@ -1872,7 +1873,7 @@ not always relevant and might require different behavior.
<th>CSP directive
<th>Features
<tr>
<td rowspan=21>""
<td rowspan=22>""
<td>"<code>report</code>"
<td rowspan=2>&mdash;
<td>CSP, NEL reports.
Expand Down Expand Up @@ -1952,6 +1953,10 @@ not always relevant and might require different behavior.
<td>"<code>style</code>"
<td><code>style-src</code>
<td>HTML's <code>&lt;link rel=stylesheet></code>, CSS' <code>@import</code>, <code>import "..." with { type: "css" }</code>
<tr>
<td>"<code>text</code>"
<td><code>connect-src</code>
<td><code>import "..." with { type: "text" }</code>
<tr>
<td>"<code>track</code>"
<td><code>media-src</code>
Expand Down Expand Up @@ -2289,8 +2294,8 @@ bookkeeping details by the <a for=/>fetch</a> algorithm.
<p>A <dfn export>subresource request</dfn> is a <a for=/>request</a>
whose <a for=request>destination</a> is "<code>audio</code>", "<code>audioworklet</code>",
"<code>font</code>", "<code>image</code>", "<code>json</code>", "<code>manifest</code>",
"<code>paintworklet</code>", "<code>script</code>", "<code>style</code>", "<code>track</code>",
"<code>video</code>", "<code>xslt</code>", or the empty string.
"<code>paintworklet</code>", "<code>script</code>", "<code>style</code>", "<code>text</code>",
"<code>track</code>", "<code>video</code>", "<code>xslt</code>", or the empty string.

<p>A <dfn export>non-subresource request</dfn> is a <a for=/>request</a>
whose <a for=request>destination</a> is "<code>document</code>", "<code>embed</code>",
Expand Down Expand Up @@ -4660,6 +4665,9 @@ the response. [[!HTTP-CACHING]]

<dt>"<code>style</code>"
<dd>`<code>text/css,*/*;q=0.1</code>`

<dt>"<code>text</code>"
<dd>`<code>text/plain,*/*;q=0.5</code>`
</dl>

<li><p><a for="header list">Append</a> (`<code>Accept</code>`, <var>value</var>) to
Expand Down Expand Up @@ -8387,7 +8395,7 @@ dictionary RequestInit {
any window; // can only be set to null
};

enum RequestDestination { "", "audio", "audioworklet", "document", "embed", "font", "frame", "iframe", "image", "json", "manifest", "object", "paintworklet", "report", "script", "sharedworker", "style", "track", "video", "worker", "xslt" };
enum RequestDestination { "", "audio", "audioworklet", "document", "embed", "font", "frame", "iframe", "image", "json", "manifest", "object", "paintworklet", "report", "script", "sharedworker", "style", "text", "track", "video", "worker", "xslt" };
enum RequestMode { "navigate", "same-origin", "no-cors", "cors" };
enum RequestCredentials { "omit", "same-origin", "include" };
enum RequestCache { "default", "no-store", "reload", "no-cache", "force-cache", "only-if-cached" };
Expand Down