Closed Bug 1662395 Opened 4 years ago Closed 4 years ago

Intermittent comm/mail/components/extensions/test/browser/browser_ext_tabs_events.js | undefined - Expected: onCreated, Actual: onUpdated -

Categories

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

defect

Tracking

(thunderbird_esr78 wontfix)

RESOLVED FIXED
82 Branch
Tracking Status
thunderbird_esr78 --- wontfix

People

(Reporter: intermittent-bug-filer, Assigned: darktrojan)

References

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

Assignee: nobody → geoff
Status: NEW → ASSIGNED

TabProgressListener QIs to nsISupportsWeakReference, which means the instances we add only survive
until the next GC. Also if we change the layout of the 3-pane window, the progress listener on
#messagepane disappears.

Once all that is fixed we can more reliably test events on the tabs API.

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/0af9452aeb51
Keep a reference to TabProgressListeners and improve testing of tabs.onUpdated. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch

Comment on attachment 9173538 [details]
Bug 1662395 - Keep a reference to TabProgressListeners and improve testing of tabs.onUpdated. r?mkmelin

[Approval Request Comment]
User impact if declined: some WebExt events don't work correctly
Testing completed (on c-c, etc.): on beta since 82
Risk to taking this patch (and alternatives if risky): there's some risk but I haven't seen any problems other than bug 1662912 which also should be uplifted

Attachment #9173538 - Flags: approval-comm-esr78?

Comment on attachment 9173538 [details]
Bug 1662395 - Keep a reference to TabProgressListeners and improve testing of tabs.onUpdated. r?mkmelin

Scratch that. The platform changes that happened in 79 to make it not worthwhile backporting.

Attachment #9173538 - Flags: approval-comm-esr78?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: