Closed
Bug 1645361
Opened 5 years ago
Closed 4 years ago
browser.contacts.quickSearch fails when address books are invalid.
Categories
(Thunderbird :: Add-Ons: Extensions API, defect)
Thunderbird
Add-Ons: Extensions API
Tracking
(thunderbird_esr68?)
RESOLVED
DUPLICATE
of bug 1679464
Tracking | Status | |
---|---|---|
thunderbird_esr68 | ? | --- |
People
(Reporter: standard8, Unassigned)
References
Details
We've just started using browser.contacts.quickSearch
in Conversations. I've just received two reports that this is busting Conversations when users have Exquilla installed. One of those had Exquilla with an out-of-date license.
The exception that gets thrown is:
[Exception... "JavaScript component does not have a method named: "Symbol.iterator"'JavaScript component does not have a method named: "Symbol.iterator"' when calling method: [nsISimpleEnumerator::Symbol.iterator]" nsresult: "0x80570030 (NS_ERROR_XPC_JSOBJECT_HAS_NO_FUNCTION_NAMED)" location: "JS frame :: chrome://messenger/content/parent/ext-addressBook.js :: quickSearch :: line 556" data: no] ext-addressBook.js:556:49
quickSearch chrome://messenger/content/parent/ext-addressBook.js:556
quickSearch self-hosted:1005
result resource://gre/modules/ExtensionParent.jsm:1139
withPendingBrowser resource://gre/modules/ExtensionParent.jsm:770
result resource://gre/modules/ExtensionParent.jsm:1139
withTiming resource://gre/modules/ExtensionParent.jsm:1100
call resource://gre/modules/ExtensionParent.jsm:1138
InterpretGeneratorResume self-hosted:1284
AsyncFunctionNext self-hosted:839
{…}
That comes from here:
Whilst I've implemented a try/catch work around in Conversations, that stops the API working completely, so some functionality would be lost.
I think this just affects the 68 branch, the latest code seems different assuming that wouldn't throw on an error:
Reporter | ||
Comment 2•4 years ago
|
||
Hmm, I think we actually ended up fixing this in bug 1679464, and in Exquilla itself. I haven't had any more reports since then.
Status: NEW → RESOLVED
Closed: 4 years ago
Flags: needinfo?(standard8)
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•