During Thunderbird 66.0a1 (BuildID 20181221092739) startup the following error is reported in console: > TypeError: class heritage customElements.get(...) is not an object or null > mailWidgets.js:270:31 The error is reported for class MozTreecolImage: https://searchfox.org/comm-central/rev/ffaaa034245811ec92643f967733a39649f3b13c/mail/base/content/mailWidgets.js#270
Yes, I also see this constantly. Started in TB 65.
OS: Unspecified → All
Hardware: Unspecified → All
Version: 66 → 65
Assignee: nobody → arshdkhn1
This is a racing issue. The mailWidgets custom elements are being loaded before the firefox custom elements are loaded so there is an error when treecolimage tries to extend treecol(fx custom element).
using setElementCreationCb so that the class code is executed only when the treecol-image tag is encountered.. since this was a racing issue, this fixes the problem..
Assignee: arshdkhn1 → mkmelin+mozilla
Status: NEW → ASSIGNED
Attachment #9039075 - Flags: review?(arshdkhn1) → review+
Status: ASSIGNED → RESOLVED
Last Resolved: 4 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.