Closed Bug 1216254 Opened 9 years ago Closed 9 years ago

"TypeError: _structuredFormatter[message.action] is not a function" when running some mochitests under the debugger

Categories

(Testing :: Mochitest, defect)

defect
Not set
normal

Tracking

(firefox44 fixed)

RESOLVED FIXED
mozilla44
Tracking Status
firefox44 --- fixed

People

(Reporter: ehsan.akhgari, Assigned: ahal)

References

Details

(Keywords: regression)

Attachments

(1 file)

STR:

$ ./mach mochitest dom/workers/test/serviceworkers/test_fetch_event.html --debugger=lldb
...
TEST-UNEXPECTED-FAIL | /tests/dom/workers/test/serviceworkers/test_fetch_event.html | uncaught exception | TypeError: _structuredFormatter[message.action] is not a function at http://mochi.test:8888/tests/SimpleTest/TestRunner.js:229 - expected: PASS
JavaScript error: http://mochi.test:8888/tests/SimpleTest/TestRunner.js, line 229: TypeError: _structuredFormatter[message.action] is not a function
RyanVM focuses only on Firefox desktop.

chmanchester, perhaps you know what broke this?  This is going to make it difficult to debug various tests (ironically including the mochitests for Firefox desktop!)
Flags: needinfo?(cmanchester)
This is fallout from bug 1042998. The formatter used when a debugger is present doesn't implement the "buffering_on" and "buffering_off" actions.
Blocks: 1042998
Flags: needinfo?(cmanchester) → needinfo?(ahalberstadt)
Bug 1216254 - [mochitest] Ignore unknown log actions when interactive debugger enabled, r=chmanchester
Attachment #8675905 - Flags: review?(cmanchester)
Flags: needinfo?(ahalberstadt)
Comment on attachment 8675905 [details]
MozReview Request: Bug 1216254 - [mochitest] Ignore unknown log actions when interactive debugger enabled, r=chmanchester

https://reviewboard.mozilla.org/r/22493/#review20053
Attachment #8675905 - Flags: review?(cmanchester) → review+
Here's a nominal try run:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=08fc944cfddc

I also tested locally with --debugger=gdb and confirmed the fix. Sorry about that.
Assignee: nobody → ahalberstadt
Status: NEW → ASSIGNED
https://hg.mozilla.org/mozilla-central/rev/debc5269aeac
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: