Closed Bug 1096526 Opened 10 years ago Closed 10 years ago

mach mochitest-plain -d lldb causes test to throw error about structuredFormatter

Categories

(Testing :: Mochitest, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla36

People

(Reporter: bholley, Assigned: bholley)

Details

Attachments

(1 file)

I get:

failed | uncaught exception - TypeError: this.structuredFormatter[message.action] is not a function at http://mochi.test:8888/tests/SimpleTest/TestRunner.js:263

Looks like the harness is trying to do something debugger friendly, but it isn't really working: http://mxr.mozilla.org/mozilla-central/source/testing/mochitest/runtests.py#563

This makes it really annoying to debug locally. jmaher, can you find someone to take a look?
Flags: needinfo?(jmaher)
Ok, this is about buffering_on and buffering_off, which appear to be special commands making their way to _dumpMessage.
Comment on attachment 8520127 [details] [diff] [review]
Don't look for a structured formatter for buffering_on/buffering_off. v1

Review of attachment 8520127 [details] [diff] [review]:
-----------------------------------------------------------------

good find!
Attachment #8520127 - Flags: review?(jmaher) → review+
Flags: needinfo?(jmaher)
https://hg.mozilla.org/mozilla-central/rev/d2b2a625da82
Assignee: nobody → bobbyholley
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla36
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: