Skip to content

Commit

Permalink
REFERRER: Ignore empty strings.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikewest committed Oct 20, 2014
1 parent 5d32821 commit 58d5d78
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions specs/referrer-policy/index.src.html
Expand Up @@ -428,8 +428,8 @@ <h3 id="referrer-policy-delivery-meta">Delivery via <a element>meta</a></h3>

<li>
If the <code><a element>meta</a></code> element lacks a
<code><a element-attr>content</a></code> attribute, or if that
attribute's value is the empty string, then abort these steps.
<code><a element-attr>content</a></code> attribute then abort these
steps.
</li>

<li>
Expand All @@ -444,6 +444,10 @@ <h3 id="referrer-policy-delivery-meta">Delivery via <a element>meta</a></h3>
leading and trailing whitespace</a>.
</li>

<li>
If <var>meta-value</var> is the empty string, then abort these steps.
</li>

<li>
Let <var>policy</var> be the result of executing the
[[#determine-policy-for-token]] algorithm on <var>meta-value</var>.
Expand Down

0 comments on commit 58d5d78

Please sign in to comment.