Without this patch applied we would print one empty line before every other line in the structured log output. On Android every one of these lines is prepended with a timestamp and pushed to the logcat, making it measurably larger. With this patch applied a single batch of XPCShell tests (roughly half the tests) results in a 205 MiB logcat file instead of a 220 MiB one. Differential Revision: https://phabricator.services.mozilla.com/D245213
Simple xpcshell-based test harness converted from netwerk/test/unit Some documentation at https://developer.mozilla.org/en-US/docs/Mozilla/QA/Writing_xpcshell-based_unit_tests See also http://wiki.mozilla.org/SoftwareTesting:Tools:Simple_xpcshell_test_harness