Closed Bug 927387 Opened 11 years ago Closed 11 years ago

Make xpc::SystemErrorReporter() system JS exception fprintf()s not split the error across two lines

Categories

(Core :: XPConnect, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla27

People

(Reporter: emorley, Assigned: emorley)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Until bug 920191 is fixed, there are a fair number of spammy JS exceptions in our automation logs, that get picked up by the TBPL parser regexp, but yet don't cause the run to fail. These cause confusion in non-green runs, since they appear in the brief log summary on TBPL, often hiding the real failure for that run. Bug 910614 will presumably make these failures (and other chrome js exceptions) output fail the run & output a TBPL compatible failure line, but for now they are unhelpful. To avoid the false positives, let's remove the newline midway through: http://hg.mozilla.org/mozilla-central/file/febfe3c7732b/js/xpconnect/src/nsXPConnect.cpp#l261 ...so we don't match TBPL's regexp for Python exceptions: https://hg.mozilla.org/webtools/tbpl/file/16e6a0cc29c0/php/inc/GeneralErrorFilter.php#l47
Attached patch Patch v1Splinter Review
Output is currently of form: 05:56:52 INFO - System JS : ERROR resource://gre/modules/DataStore.jsm:38 05:56:52 INFO - TypeError: can't access dead object This change will avoid the TBPL parser false positives against the 2nd line, until bug 920191 is fixed.
Attachment #817815 - Flags: review?(bobbyholley+bmo)
Attachment #817815 - Flags: review?(bobbyholley+bmo) → review+
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla27
Blocks: 1023988
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: