The pop-up bubble for ImTranslator extension for Firefox stopped working
Categories
(WebExtensions :: Untriaged, defect)
Tracking
(firefox-esr68 unaffected, firefox77 unaffected, firefox78 unaffected, firefox79 verified)
Tracking | Status | |
---|---|---|
firefox-esr68 | --- | unaffected |
firefox77 | --- | unaffected |
firefox78 | --- | unaffected |
firefox79 | --- | verified |
People
(Reporter: bj, Assigned: zombie)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
The ImTranslator add-on creates a pop-up bubble when text is selected. This text appears in Firefox 76.0.1 but not in Nightly.
mozregression shows the problem started with this:
The add-on:
https://addons.mozilla.org/en-US/firefox/addon/imtranslator/
Updated•5 years ago
|
Comment 1•5 years ago
|
||
Set release status flags based on info from the regressing bug 1583484
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 2•5 years ago
|
||
When there are multiple runtime.onMessage listeners in the same context, if
the first one sends a response, but the second one throws, the exception wins
the race because we convert all responses into async promises.
Converting the sync exception into an async promise rejection ensures we process
them in the original order.
Assignee | ||
Comment 3•5 years ago
|
||
This extension is bonkers, the code is awful and it's only by accident that it even worked at all. One of the 4 onMessage listeners in the background page throws whenever it receives a message that every content script sends when it is loaded.
Sad thing is, I'm sure there are other extensions which are similarly broken, so we may as well fix this.
Assignee | ||
Comment 4•5 years ago
|
||
Comment 6•5 years ago
|
||
bugherder |
Assignee | ||
Updated•5 years ago
|
Comment 7•5 years ago
|
||
Hello,
Verified the fix using the latest Nightly (79.0a1/20200617215206) under Windows 10 Pro 64-bit and Ubuntu 16.04 LTS. Also reproduced the issue on an older Nightly (79.0a1/20200601214228) for comparison purposes.
When text is selected the pop-up bubble is properly displayed, confirming the fix.
Description
•