Skip to content

Commit

Permalink
Fix a typo and grammatical error in prefetch-src (#288)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryandel8834 authored and ryandel8834 committed Jan 19, 2018
1 parent 222ae08 commit 6f49f01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.src.html
Original file line number Diff line number Diff line change
Expand Up @@ -2442,7 +2442,7 @@ <h5 algorithm id="media-src-post-request">

<h4 id="directive-prefetch-src">`prefetch-src`</h4>

The <dfn export>prefetch-src</dfn> directive restrictes the URLs from which resources may be
The <dfn export>prefetch-src</dfn> directive restricts the URLs from which resources may be
prefetched or prerendered. The syntax for the directive's name and value is described by the
following ABNF:

Expand All @@ -2458,7 +2458,7 @@ <h4 id="directive-prefetch-src">`prefetch-src`</h4>
Content-Security-Policy: <a>prefetch-src</a> https://example.com/
</pre>

Fetches for the following code will return network errors, as the URLs provided does not match
Fetches for the following code will return network errors, as the URLs provided do not match
`prefetch-src`'s <a>source list</a>:

<pre highlight="html">
Expand Down

0 comments on commit 6f49f01

Please sign in to comment.