Skip to content

Commit 22c0512

Browse files
author
Francois Marier
committed
SRI: add a comma after all uses of "e.g."
1 parent 9255225 commit 22c0512

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

specs/subresourceintegrity/spec.markdown

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -328,12 +328,12 @@ resources accessed over a `file` scheme URL are unlikely to be
328328
eligible for integrity checks.
329329
{:.note}
330330

331-
One should note that being a [secure document][] (e.g. a document delivered
331+
One should note that being a [secure document][] (e.g., a document delivered
332332
over HTTPS) is not necessary for the use of integrity validation. Because
333333
resource integrity is only an application level security tool, and it does not
334334
change the security state of the user agent, a [secure document] is
335335
unnecessary. However, if integrity is used in something other than a [secure document][]
336-
(e.g. a document delivered over HTTP), authors should be aware that the integrity
336+
(e.g., a document delivered over HTTP), authors should be aware that the integrity
337337
provides <em>no security guarantees at all</em>. For this reason, authors should
338338
only deliver integrity metadata on a [potentially secure origin][]. See
339339
[Non-secure contexts remain non-secure][] for more discussion.
@@ -598,7 +598,7 @@ integrity check <em>and</em> MUST return a network error, as described in
598598
[Modifications to Fetch][].
599599

600600
On a failed integrity check, an <code>error</code> event is thrown. Developers
601-
wishing to provide a canonical fallback resource (e.g. a resource not served
601+
wishing to provide a canonical fallback resource (e.g., a resource not served
602602
from a CDN, perhaps from a secondary, trusted, but slower source) can catch this
603603
<code>error</code> event and provide an appropriate handler to replace the
604604
failed resource with a different one.

0 commit comments

Comments
 (0)