Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a prefetch initiator #659

Merged
merged 3 commits into from
Apr 27, 2018
Merged
Changes from 2 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
14 changes: 13 additions & 1 deletion fetch.bs
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,9 @@ is "<code>all</code>" or "<code>none</code>". Unless stated otherwise it is "<co
the empty string,
"<code>download</code>",
"<code>imageset</code>",
"<code>manifest</code>", or
"<code>manifest</code>",
"<code>prefetch</code>",
"<code>prerender</code>", or
"<code>xslt</code>". Unless stated otherwise it is the empty string.

<p class="note no-backref">A <a for=/>request</a>'s
Expand Down Expand Up @@ -917,6 +919,16 @@ not always relevant and might require different behavior.
<td>"<code>manifest</code>"
<td><code>manifest-src</code>
<td>HTML's <code>&lt;link rel=manifest></code>
<tr>
<td>"<code>prefetch</code>"
<td>""
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rowspan=2 for this td and the next? And then remove the from the next row?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated. Let me know if this is what you had in mind

<td><code>prefetch-src</code>
<td>HTML's <code>&lt;link rel=prefetch></code>
<tr>
<td>"<code>prerender</code>"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reading through w3c/webappsec-csp@91adc4a, prefetch-src should also be listed for prerender?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is (that's what the "rowspan=2" is all about)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, right. Nevermind me, all good!

<td>""
<td><code>prefetch-src</code>
<td>HTML's <code>&lt;link rel=prerender></code>
<tr>
<td>"<code>xslt</code>"
<td>"<code>xslt</code>"
Expand Down