Uncaught TypeError: existingElement.details is undefined - unified-toolbar.mjs:393
Categories
(Thunderbird :: Toolbars and Tabs, defect)
Tracking
(thunderbird_esr115 fixed, thunderbird115 affected, thunderbird116 fixed)
People
(Reporter: betterbird.project+5, Assigned: freaktechnik)
References
(Regression)
Details
(Keywords: regression, Whiteboard: [Supernova3p])
Attachments
(1 file)
48 bytes,
text/x-phabricator-request
|
wsmwk
:
approval-comm-esr115+
|
Details | Review |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.67
Steps to reproduce:
Started TB with the icon of the add-on "Signature Switch" in the unified toolbar.
Uncaught TypeError: existingElement.details is undefined
wantedElements chrome://messenger/content/unifiedtoolbar/unified-toolbar.mjs:393
#showToolbarForSpace chrome://messenger/content/unifiedtoolbar/unified-toolbar.mjs:381
#handleSpaceChange chrome://messenger/content/unifiedtoolbar/unified-toolbar.mjs:237
onTabSwitched chrome://messenger/content/spacesToolbar.js:163
registerTabMonitor chrome://messenger/content/tabmail.js:694
onLoad chrome://messenger/content/spacesToolbar.js:314
loadPostAccountWizard chrome://messenger/content/messenger.js:614
loadStylesheets jar:file:///D:/MAIL-THUNDERBIRD/jorgk.default/extensions/lightningcalendartabs@jlx.84.xpi!/experiments.js:18
addWindowListener jar:file:///D:/MAIL-THUNDERBIRD/jorgk.default/extensions/lightningcalendartabs@jlx.84.xpi!/experiments.js:51
result resource://gre/modules/ExtensionParent.sys.mjs:1144
withCallContextData resource://gre/modules/ExtensionParent.sys.mjs:627
result resource://gre/modules/ExtensionParent.sys.mjs:1143
withPendingBrowser resource://gre/modules/ExtensionParent.sys.mjs:637
result resource://gre/modules/ExtensionParent.sys.mjs:1142
callAndLog resource://gre/modules/ExtensionParent.sys.mjs:1095
recvAPICall resource://gre/modules/ExtensionParent.sys.mjs:1141
unified-toolbar.mjs:393:11
It appears that for toolbar entries which come from add-ons, existingElement.details
isn't set:
https://searchfox.org/comm-central/rev/78245f927ad4c32e6896f5ceee7483083f90bf59/mail/components/unifiedtoolbar/content/unified-toolbar.mjs#393
The issue was observed on a large profile. It happens at random, seems like a timing issue.
Reporter | ||
Updated•1 year ago
|
Reporter | ||
Updated•1 year ago
|
Assignee | ||
Comment 1•1 year ago
|
||
Updated•1 year ago
|
Pushed by kaie@kuix.de:
https://hg.mozilla.org/comm-central/rev/51129f50e3e2
Don't expect details to be set on customizable-element. r=kaie
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Comment 3•1 year ago
|
||
Comment on attachment 9342072 [details]
Bug 1841410 - Don't expect details to be set on customizable-element. r=#thunderbird-front-end-reviewers
[Approval Request Comment]
Regression caused by (bug #): bug 1817911
User impact if declined: Unified toolbar keyboard navigation might misbehave with extensions.
Testing completed (on c-c, etc.): Manual testing only.
Risk to taking this patch (and alternatives if risky): Low risk, increases resilience and very little changes.
Updated•1 year ago
|
Comment 4•1 year ago
|
||
Comment on attachment 9342072 [details]
Bug 1841410 - Don't expect details to be set on customizable-element. r=#thunderbird-front-end-reviewers
[Triage Comment]
Approved for esr115
Comment 5•1 year ago
|
||
bugherder uplift |
Thunderbird 115.0:
https://hg.mozilla.org/releases/comm-esr115/rev/73998d98c0fb
Description
•