Skip to content

Commit a6d04ea

Browse files
committed
Report errors to developer consoles, not users
In #224 we had a brief discussion which concluded that these statements about error reporting really referred to a developer console. Alternately, maybe they are holdovers from the early days of the web when browsers did in fact show popups with every JavaScript error. Regardless, this uniformly updates all script error reporting to be to a developer console, instead of to the user.
1 parent cc0a94c commit a6d04ea

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

source

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86275,8 +86275,8 @@ interface <dfn>NavigatorOnLine</dfn> {
8627586275
data-x="concept-script">script</span>, with the problematic position (line number and column
8627686276
number) in the resource containing the script, using the <span>global object</span> specified by
8627786277
the script's <span>settings object</span> as the target. If the error is still <i
86278-
data-x="concept-error-nothandled">not handled</i> after this, then the error may be reported to
86279-
the user.</p>
86278+
data-x="concept-error-nothandled">not handled</i> after this, then the error may be reported to a
86279+
developer console.</p>
8628086280

8628186281

8628286282
<h6>The <code>ErrorEvent</code> interface</h6>
@@ -87323,7 +87323,7 @@ typedef <span>OnBeforeUnloadEventHandlerNonNull</span>? <dfn>OnBeforeUnloadEvent
8732387323
column number) given by <var>location</var>, using the <span>global object</span>
8732487324
specified by <var>script settings</var> as the target. If the error is still <i
8732587325
data-x="concept-error-nothandled">not handled</i> after this, then the error may be reported
87326-
to the user.</p></li>
87326+
to a developer console.</p></li>
8732787327

8732887328
<li><p>Return null.</p></li>
8732987329

@@ -95162,7 +95162,7 @@ interface <dfn>WorkerGlobalScope</dfn> : <span>EventTarget</span> {
9516295162
the target.</p>
9516395163

9516495164
<p>For shared workers, if the error is still <i data-x="concept-error-nothandled">not handled</i>
95165-
afterwards, the error may be reported to the user.</p>
95165+
afterwards, the error may be reported to a developer console.</p>
9516695166

9516795167
<p>For dedicated workers, if the error is still <i data-x="concept-error-nothandled">not
9516895168
handled</i> afterwards, the user agent must <span>queue a task</span> to <span

0 commit comments

Comments
 (0)