Closed Bug 1798238 Opened 2 years ago Closed 2 years ago

FolderDisplayHelpers.jsm:3320 - TypeError: testHelperModule.dump_view_state is not a function

Categories

(Thunderbird :: Testing Infrastructure, defect)

defect

Tracking

(thunderbird_esr102 unaffected)

RESOLVED FIXED
108 Branch
Tracking Status
thunderbird_esr102 --- unaffected

People

(Reporter: mkmelin, Assigned: mkmelin)

Details

Attachments

(1 file)

In case of test failure, like https://treeherder.mozilla.org/logviewer?job_id=394873612&repo=comm-central we fail out trying to display details about the failure.

TEST-UNEXPECTED-FAIL | comm/mail/test/browser/quick-filter-bar/browser_filterLogic.js | Uncaught exception in test - at resource://testing-common/mozmill/FolderDisplayHelpers.jsm:3320 - TypeError: testHelperModule.dump_view_state is not a function

viewWrapperTestUtils.js which has dump_view_state is not loaded in FolderDisplayHelpers.jsm

Probably best to move that function into FolderDisplayHelpers.jsm, or at least into a module. Or drop it completely...

Assignee: nobody → mkmelin+mozilla
Status: NEW → ASSIGNED
Target Milestone: --- → 108 Branch
Attachment #9301722 - Attachment description: Bug 1798238 - move dump_view_state and friends to FolderDisplayHelpers.jsm. r=#thunderbird-reviewers → Bug 1798238 - move dump_view_state and friends to FolderDisplayHelpers.jsm. r=aleca

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/6a6b2c6ba5e5
move dump_view_state and friends to FolderDisplayHelpers.jsm. r=aleca

Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Backout by mkmelin@iki.fi: https://hg.mozilla.org/comm-central/rev/a0cddf6aa7c2 Backed out changeset 6a6b2c6ba5e5 for test failures
Status: RESOLVED → REOPENED
Resolution: FIXED → ---

Tests crashing since FolderDisplayHelpers.jsm imports controller.jsm. Very odd.

Attachment #9301722 - Attachment description: Bug 1798238 - move dump_view_state and friends to FolderDisplayHelpers.jsm. r=aleca → Bug 1798238 - move dump_view_state and friends to ViewHelpers.jsm. r=#thunderbird-reviewers

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/ae91a2ac4a28
move dump_view_state and friends to ViewHelpers.jsm. r=aleca

Status: REOPENED → RESOLVED
Closed: 2 years ago2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: