Skip to content

Commit c649784

Browse files
committed
Add the "speculationrules" destination
Part of whatwg/html#11426, for requests initiated by the `Speculation-Rules` HTTP header.
1 parent 5261b51 commit c649784

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

fetch.bs

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1780,6 +1780,7 @@ the empty string,
17801780
"<code>script</code>",
17811781
"<code>serviceworker</code>",
17821782
"<code>sharedworker</code>",
1783+
"<code>speculationrules</code>",
17831784
"<code>style</code>",
17841785
"<code>track</code>",
17851786
"<code>video</code>",
@@ -1821,13 +1822,16 @@ not always relevant and might require different behavior.
18211822
<th>CSP directive
18221823
<th>Features
18231824
<tr>
1824-
<td rowspan=21>""
1825+
<td rowspan=22>""
18251826
<td>"<code>report</code>"
1826-
<td rowspan=2>&mdash;
1827+
<td rowspan=3>&mdash;
18271828
<td>CSP, NEL reports.
18281829
<tr>
18291830
<td>"<code>document</code>"
18301831
<td>HTML's navigate algorithm (top-level only).
1832+
<tr>
1833+
<td>"<code>speculationrules</code>"
1834+
<td>The [:Speculation-Rules:] header
18311835
<tr>
18321836
<td>"<code>frame</code>"
18331837
<td><code>child-src</code>
@@ -1887,7 +1891,7 @@ not always relevant and might require different behavior.
18871891
<tr>
18881892
<td>"<code>webidentity</code>"
18891893
<td><code>connect-src</code>
1890-
<td><code>Federated Credential Management requests</code>
1894+
<td>Federated Credential Management requests
18911895
<tr>
18921896
<td>"<code>worker</code>"
18931897
<td><code>child-src</code>, <code>script-src</code>, <code>worker-src</code>
@@ -7560,7 +7564,7 @@ dictionary RequestInit {
75607564
any window; // can only be set to null
75617565
};
75627566

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

0 commit comments

Comments
 (0)