Skip to content

Commit 16c54c9

Browse files
authored
Clean up network error reports section (#89)
It got removed during a recent cleanup PR, and we need it to be able to say that they're not observable.
1 parent fdef20c commit 16c54c9

File tree

1 file changed

+29
-15
lines changed

1 file changed

+29
-15
lines changed

index.html

Lines changed: 29 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -337,21 +337,6 @@ <h2>Network requests</h2>
337337
A <a>network request</a> is <dfn data-lt="fail">failed</dfn> if it is not
338338
<a>successful</a>.
339339
</p>
340-
341-
<p>
342-
<a>Network error reports</a> are <strong>NOT</strong> <a>visible to
343-
<code>ReportingObserver</code>s</a>.
344-
</p>
345-
346-
<p class="note">
347-
<a>Network error reports</a> are not <a>visible to
348-
<code>ReportingObserver</code>s</a> because they are only intended to be
349-
visible to the administrator or owner of the server <em>receiving</em> the
350-
requests. If they were <a>visible to <code>ReportingObserver</code>s</a>,
351-
then the reports would also be visible to the <em>originator</em> of the
352-
request. For cross-origin requests, this could leak information about the
353-
server's network configuration to parties outside of its control.
354-
</p>
355340
</section>
356341

357342
<section>
@@ -395,6 +380,35 @@ <h2>Network errors</h2>
395380
</p>
396381
</section>
397382

383+
<section>
384+
<h2>Network error reports</h2>
385+
386+
<p>
387+
A <dfn data-lt="network error reports">network error report</dfn> is a <a
388+
data-cite="!REPORTING">Reporting API</a> <a>report</a> that describes a
389+
<a>network error</a>.
390+
</p>
391+
392+
<p>
393+
<a>Network error reports</a> have a <a>report type</a> of
394+
<code>network-error</code>.
395+
</p>
396+
<p>
397+
<a>Network error reports</a> are <strong>NOT</strong> <a>visible to
398+
<code>ReportingObserver</code>s</a>.
399+
</p>
400+
401+
<p class="note">
402+
<a>Network error reports</a> are not <a>visible to
403+
<code>ReportingObserver</code>s</a> because they are only intended to be
404+
visible to the administrator or owner of the server <em>receiving</em> the
405+
requests. If they were <a>visible to <code>ReportingObserver</code>s</a>,
406+
then the reports would also be visible to the <em>originator</em> of the
407+
request. For cross-origin requests, this could leak information about the
408+
server's network configuration to parties outside of its control.
409+
</p>
410+
</section>
411+
398412
<section>
399413
<h2>NEL policies</h2>
400414

0 commit comments

Comments
 (0)