Open
Bug 1274005
Opened 8 years ago
Updated 2 years ago
Add telemetry for Errors.msg errors
Categories
(Core :: DOM: Core & HTML, defect, P3)
Core
DOM: Core & HTML
Tracking
()
NEW
People
(Reporter: ehsan.akhgari, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: btpp-fixlater)
There are a set of DOM errors that we emit using ErrorResult::ThrowTypeError(). The list is here: <https://dxr.mozilla.org/mozilla-central/source/dom/bindings/Errors.msg>
We should be able to add telemetry probes for these errors to get an idea of the relative frequency of them in the wild, so that we can prioritize the work on adding documentation for the errors to MDN.
Updated•8 years ago
|
Whiteboard: btpp-fixlater
Comment 1•8 years ago
|
||
Do we want to document those errors? Why?
Comment 2•8 years ago
|
||
(In reply to :Ms2ger from comment #1)
> Do we want to document those errors? Why?
Some motivation is written down in bug 1179876. This is really helpful for beginners. Also, see Rust's error help :-)
Morgan has implemented the telemetry probe for JS errors in bug 1255133. Might be useful here.
There is also https://dxr.mozilla.org/mozilla-central/source/dom/base/domerr.msg and https://dxr.mozilla.org/mozilla-central/source/dom/locales/en-US/chrome/dom/dom.properties (which Kit mentioned in bug 1261877)
Feature in action: http://imgur.com/EOztwbI
There are many different errors and warnings thrown at people. Telemetry might tell us a lot about them, and I think it is not only useful for MDN.
Comment 3•8 years ago
|
||
Florian mentioned prioritizing the error message documentation would be helped by having telemetry data so I'll make this block bug 1261877.
Blocks: 1261877
Updated•6 years ago
|
Priority: -- → P3
See Also: → 1337383
Assignee | ||
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•