-
Notifications
You must be signed in to change notification settings - Fork 549
Conversation
@@ -490,7 +496,9 @@ | |||
<var>url</var> and <var>corsAttributeState</var>. | |||
5. Set <var>request</var>'s <a>client</a> to the <{link}> element's <a>node document</a>'s | |||
{{Window}} object's <a>environment settings object</a>. | |||
6. <a>Fetch</a> <var>request</var>. | |||
6. Set <var>request</var>'s <span>cryptographic | |||
nonce metadata</span> to the current state of the <{link}> element's <a>nonce</a> content attribute. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You'll need to declare what kind of nonce
you're looking for. Probably something like <a element-attr for="link">
, or the shortcut <{link/nonce}>
(which will produce prettier output).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
@@ -667,6 +675,7 @@ | |||
<dfn attribute for="HTMLLinkElement"><code>rel</code></dfn>, | |||
<dfn attribute for="HTMLLinkElement"><code>rev</code></dfn>, | |||
<dfn attribute for="HTMLLinkElement"><code>media</code></dfn>, | |||
<dfn attribute for="HTMLLinkElement"><code>nonce</code></dfn>, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: Spacing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
@@ -334,6 +334,7 @@ | |||
<dd><{link/rel}> — Relationship of this document (or subsection/topic) to the destination resource</dd> | |||
<dd><{link/rev}> — <a>Reverse link</a> relationship of the destination resource to this document (or subsection/topic)</dd> | |||
<dd><code>media</code> — Applicable media</dd> | |||
<dd><code>nonce</code> — Cryptographic nonce used in Content Security Policy checks [[CSP3]]</dd> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: Spacing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
@@ -542,7 +542,7 @@ | |||
</tr> | |||
<tr> | |||
<th><code>nonce</code></th> | |||
<td><{script}>; <{style}></td> | |||
<td><{link}>; <{script}>; <{style}></td> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are two indices in the WHATWG spec: one for attribute -> element, and one for the inverse. I don't know if the W3C doc follows that model.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yup, found it and added, thanks
@@ -334,6 +334,7 @@ | |||
<dd><{link/rel}> — Relationship of this document (or subsection/topic) to the destination resource</dd> | |||
<dd><{link/rev}> — <a>Reverse link</a> relationship of the destination resource to this document (or subsection/topic)</dd> | |||
<dd><code>media</code> — Applicable media</dd> | |||
<dd><code>nonce</code> — Cryptographic nonce used in Content Security Policy checks [[CSP3]]</dd> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: The leading whitespace here still seems incorrect.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It'll render the same... noted, thanks
Thanks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* ported nonce on link refer to whatwg/html#1820 * fixed link/nonce dfn * code error forgot to close <a> * updated nonce after mw review w3c#604 (review)
ports nonce on link to w3c html as per #599
2 issues with build:
LINK ERROR: No 'dfn' refs found for 'nonce'.
LINK ERROR: No 'idl-name' refs found for 'boolean'.
can't work out why these are occuring...
please review @adanilo, @travisleithead @arronei