Closed Bug 1712535 Opened 3 years ago Closed 3 years ago

After opening contacts sidebar: Uncaught ReferenceError: ToolbarIconColor is not defined

Categories

(Thunderbird :: Theme, defect)

Thunderbird 90
defect

Tracking

(thunderbird_esr78 unaffected, thunderbird89 unaffected)

RESOLVED FIXED
90 Branch
Tracking Status
thunderbird_esr78 --- unaffected
thunderbird89 --- unaffected

People

(Reporter: thomas8, Assigned: mkmelin)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

90.0a1 (2021-05-20) (64-bit), Win10

Uncaught ReferenceError: ToolbarIconColor is not defined
OnLoadAddressBook chrome://messenger/content/addressbook/addressbook.js:143
<anonymous> chrome://messenger/content/addressbook/addressbook.js:65

Looks like a regression from bug 1703164. Magnus, can you look if abContactsPanel.xhtml also needs this conversion or if it needs the addition of all the JS files like <script src="chrome://messenger/content/toolbarIconColor.js"/> etc?

I tried to add this file and the error goes away but then I get the an error about the following function AutoHideMenubar.init();

Keywords: regression

The contact sidebar shouldn't be loading addressbook.js to begin with. Some untangling will help.

Assignee: nobody → mkmelin+mozilla
Status: NEW → ASSIGNED
Regressed by: 1703164
Target Milestone: --- → 90 Branch

gPreviousDirTreeIndex was only used in SelectFirstAddressBook(), which is itself not used.

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/0c1cded455c8
contacts sidebar shouldn't load addressbook.js. r=Paenglab

Status: ASSIGNED → RESOLVED
Closed: 3 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: