Skip to content

Commit

Permalink
Split document destination for top-level and nested contexts.
Browse files Browse the repository at this point in the history
Partially addresses #755.
  • Loading branch information
mikewest committed Oct 26, 2018
1 parent daca6a8 commit f51d26c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions fetch.bs
Original file line number Diff line number Diff line change
Expand Up @@ -884,6 +884,7 @@ the empty string,
"<code>font</code>",
"<code>image</code>",
"<code>manifest</code>",
"<code>nested-document</code>",
"<code>object</code>",
"<code>paintworklet</code>",
"<code>report</code>",
Expand Down Expand Up @@ -933,7 +934,7 @@ not always relevant and might require different behavior.
<td>"<code>document</code>"
<td>HTML's navigate algorithm.
<tr>
<td>"<code>document</code>"
<td>"<code>nested-document</code>"
<td><code>child-src</code>
<td>HTML's <code>&lt;iframe></code> and <code>&lt;frame></code>
<tr>
Expand Down Expand Up @@ -1304,13 +1305,13 @@ whose <a for=request>destination</a> is "<code>audio</code>", "<code>audioworkle
"<code>object</code>" or "<code>embed</code>".

<p>A <dfn export>non-subresource request</dfn> is a <a for=/>request</a>
whose <a for=request>destination</a> is "<code>document</code>",
whose <a for=request>destination</a> is "<code>document</code>", "<code>nested-document</code>",
"<code>report</code>", "<code>serviceworker</code>", "<code>sharedworker</code>",
or "<code>worker</code>".

<p>A <dfn export>navigation request</dfn> is a <a for=/>request</a> whose
<a for=request>destination</a> is
"<code>document</code>".
"<code>document</code>" or "<code>nested-document</code>".

<p class=note>See <a for=/>handle fetch</a> for usage of these terms.
[[!SW]]
Expand Down Expand Up @@ -5283,7 +5284,7 @@ dictionary RequestInit {
any window; // can only be set to null
};

enum RequestDestination { "", "audio", "audioworklet", "document", "embed", "font", "image", "manifest", "object", "paintworklet", "report", "script", "sharedworker", "style", "track", "video", "worker", "xslt" };
enum RequestDestination { "", "audio", "audioworklet", "document", "embed", "font", "image", "manifest", "nested-document", "object", "paintworklet", "report", "script", "sharedworker", "style", "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

0 comments on commit f51d26c

Please sign in to comment.