Open Bug 1374327 Opened 9 years ago Updated 2 years ago

It's too easy to break about:support with JS mistakes

Categories

(Toolkit :: General, defect, P3)

defect

Tracking

()

Tracking Status
firefox57 --- fix-optional

People

(Reporter: jld, Unassigned, NeedInfo)

References

Details

If one of the snapshotFormatters in aboutSupport.js throws an exception, none of the formatters after it are run, and the exception is reported via Cu.reportError, which is easy to miss if you're not looking at it. There have been a few bugs where something that depends on a particular OS or feature worked fine in the configuration it was meant for, but threw an exception in other situations because something was undefined or null. For example, bug 1368797 was broken for 5 months before someone happened to notice the error logging, and I only noticed bug 1374319 because I looked at about:support#sandbox on Linux and it was completely blank. I suggest having an automated test for this: load about:support and check that the exception handler at the top of aboutSupport.js wasn't used. That should at least catch simple problems like OS dependencies before they reach mozilla-central.
See Also: → 1334016
Severity: normal → S3

The severity field for this bug is relatively low, S3. However, the bug has 5 See Also bugs.
:mossop, could you consider increasing the bug severity?

For more information, please visit auto_nag documentation.

Flags: needinfo?(dtownsend)

The last needinfo from me was triggered in error by recent activity on the bug. I'm clearing the needinfo since this is a very old bug and I don't know if it's still relevant.

Flags: needinfo?(dtownsend)
Flags: needinfo?(gijskruitbosch+bugs)
You need to log in before you can comment on or make changes to this bug.