Closed Bug 1679901 Opened 3 years ago Closed 3 years ago

Use the same account creation code in both types of WebExtension test

Categories

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

Tracking

(thunderbird_esr78+ fixed, thunderbird84 affected)

RESOLVED FIXED
85 Branch
Tracking Status
thunderbird_esr78 + fixed
thunderbird84 --- affected

People

(Reporter: darktrojan, Assigned: darktrojan)

References

Details

Attachments

(1 file)

We account creation functions in mail/components/extensions/test/browser/head.js and mail/components/extensions/test/xpcshell/head.js, but they are different (apart from the fact that the xpcshell tests deal with IMAP and mochitests do not).

Fixing this so we can create other accounts in mochitest.

I thought I could just copy from the XPCShell head file to the Mochitest head file, but we need
the ability to create a local mail account for one test, so I've added that to both files.

Do we want it backported?

Target Milestone: --- → 85 Branch

As I would like to backport bug 1658132 which depends on this, I would say yes.

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/da1974132f49
Use the same account creation code in both types of WebExtension test. r=TbSync

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

Comment on attachment 9190425 [details]
Bug 1679901 - Use the same account creation code in both types of WebExtension test.

[Approval Request Comment]
Test only, wanted for at least bug 1658132

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

Comment on attachment 9190425 [details]
Bug 1679901 - Use the same account creation code in both types of WebExtension test.

[Triage Comment]
Approved for esr78

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

Attachment

General

Created:
Updated:
Size: