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

RESOLVED FIXED in Firefox 44

Status

Testing
Mochitest
RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: Away for a while, Assigned: ahal)

Tracking

({regression})

Trunk
mozilla44
regression
Points:
---

Firefox Tracking Flags

(firefox44 fixed)

Details

MozReview Requests

Submitter Diff Changes Open Issues Last Updated
Loading...
Error loading review requests:

Attachments

(1 attachment)

(Reporter)

Description

2 years ago
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
(Reporter)

Updated

2 years ago
Keywords: regressionwindow-wanted
(Reporter)

Comment 1

2 years ago
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)
Keywords: regressionwindow-wanted
(Assignee)

Comment 3

2 years ago
Created attachment 8675905 [details]
MozReview Request: Bug 1216254 - [mochitest] Ignore unknown log actions when interactive debugger enabled, r=chmanchester

Bug 1216254 - [mochitest] Ignore unknown log actions when interactive debugger enabled, r=chmanchester
Attachment #8675905 - Flags: review?(cmanchester)
(Assignee)

Updated

2 years ago
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+
(Assignee)

Comment 5

2 years ago
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)

Updated

2 years ago
Assignee: nobody → ahalberstadt
Status: NEW → ASSIGNED

Comment 6

2 years ago
https://hg.mozilla.org/integration/mozilla-inbound/rev/debc5269aeac

Comment 7

2 years ago
backoutbugherdermerge
https://hg.mozilla.org/mozilla-central/rev/debc5269aeac
Status: ASSIGNED → RESOLVED
Last Resolved: 2 years ago
status-firefox44: affected → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
You need to log in before you can comment on or make changes to this bug.