Skip to content

Commit fdef20c

Browse files
authored
NEL reports are not observable (#77)
State this explicitly (even though it's the default), and add a note explaining why, to help ensure that we don't accidentally remove this restriction in the future.
1 parent e707a78 commit fdef20c

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

index.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ <h2>Dependencies</h2>
212212
<li><dfn data-cite="!REPORTING#report" data-lt="reports">report</dfn></li>
213213
<li><dfn data-cite="!REPORTING#report-body">report body</dfn></li>
214214
<li><dfn data-cite="!REPORTING#report-type">report type</dfn></li>
215+
<li><dfn data-cite="!REPORTING#visible-to-reporting-observers">visible to <code>ReportingObserver</code>s</dfn></li>
215216
</ul>
216217
</dd>
217218
<dt>Resource Timing</dt>
@@ -336,6 +337,21 @@ <h2>Network requests</h2>
336337
A <a>network request</a> is <dfn data-lt="fail">failed</dfn> if it is not
337338
<a>successful</a>.
338339
</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>
339355
</section>
340356

341357
<section>

0 commit comments

Comments
 (0)