Closed Bug 1717348 Opened 3 years ago Closed 3 years ago

WebExtensions API regression in menus.onShown due to landing of Bug 1716022 (Return pages in the messages API as soon as they are ready)

Categories

(Thunderbird :: Add-Ons: Extensions API, defect)

Thunderbird 91
defect

Tracking

(thunderbird_esr78 unaffected, thunderbird90 unaffected)

VERIFIED FIXED
91 Branch
Tracking Status
thunderbird_esr78 --- unaffected
thunderbird90 --- unaffected

People

(Reporter: Thunderbird_Mail_DE, Assigned: TbSync)

References

(Regression)

Details

Attachments

(3 files)

Summary: WebExtensions partially broken after daily update-from-15-06-2021-to-16-06-2021 → WebExtensions partially broken after daily update from 15-06-2021 to 16-06-2021

Example MailExtension to reproduce the described bug

Be warned: Only en-US and de locales are working in this development version of this addon.

STR:

  1. Install the provided MailExtensions (in development)
  2. Open the error console
  3. Right click in the thread pane

You will see the reported bug with the error console report, which is generated by the menus.onShown listener, when opening the context menu:

DataCloneError: The object could not be cloned. ExtensionParent.jsm:991

The MailExtension fails completely at this point.

The same MailExtension code works flawless in Thunderbird 90 Beta 2 and in Dailies before 16-06-2021.

Updated reproducer MailExtension with a little bit reduced code.

Attachment #9227997 - Attachment description: AttachmentExtractor Continued 4.0a4 - Testcase MailExtension.xpi → (Outdated) AttachmentExtractor Continued 4.0a4 - Testcase MailExtension.xpi
Regressed by: 1716022
Assignee: nobody → john
Status: NEW → ASSIGNED

Thanks for reporting this. Regression was introduced by Bug 1716022. Sorry for not seeing this.

Summary: WebExtensions partially broken after daily update from 15-06-2021 to 16-06-2021 → WebExtensions API regression in menus.onShown due to landing of Bug 1716022 (Return pages in the messages API as soon as they are ready)
Target Milestone: --- → 91 Branch

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/3d6726f6a43e
Fix regression in menus.onShown. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED

Thanks, bug is fixed now.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: