use SpecialPowers.pushPrefEnv instead of Services.prefs for remaining mochitests
Categories
(Thunderbird :: General, defect)
Tracking
(Not tracked)
People
(Reporter: tobyp, Assigned: tobyp)
References
(Blocks 1 open bug)
Details
(Keywords: checkin-needed-tb)
Attachments
(14 files)
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review |
Per bug 1977567 comment 6:
"In general, in browser tests and mochitests you should use SpecialPowers.pushPrefEnv instead of using Services.prefs API, because the test-only SpecialPowers.pushPrefEnv API automatically cleans up preferences at the end of the test, even if you forget (or intentionally omit) the countering SpecialPowers.popPrefEnv call"
| Assignee | ||
Comment 1•5 days ago
|
||
Updated•5 days ago
|
| Assignee | ||
Updated•5 days ago
|
| Assignee | ||
Comment 2•5 days ago
|
||
| Assignee | ||
Comment 3•5 days ago
|
||
| Assignee | ||
Updated•3 days ago
|
| Assignee | ||
Comment 4•3 days ago
|
||
| Assignee | ||
Comment 5•3 days ago
|
||
| Assignee | ||
Comment 6•3 days ago
|
||
| Assignee | ||
Comment 7•3 days ago
|
||
Pushed by toby@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/11bf9f2f231b
Use SpecialPowers.pushPrefEnv in calendar browser tests. r=aleca
| Assignee | ||
Updated•3 days ago
|
| Assignee | ||
Comment 9•3 days ago
|
||
Comment 10•2 days ago
|
||
Pushed by toby@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/92d8cd2b3e16
Use SpecialPowers.pushPrefEnv in mail base browser tests. r=aleca
https://hg.mozilla.org/comm-central/rev/9aa35bf602b7
Use SpecialPowers.pushPrefEnv in additional mail base browser tests. r=aleca
https://hg.mozilla.org/comm-central/rev/48b0c2ee729a
Use SpecialPowers.pushPrefEnv in preferences and address book browser tests. r=aleca
| Assignee | ||
Updated•2 days ago
|
| Assignee | ||
Comment 11•2 days ago
|
||
| Assignee | ||
Comment 12•2 days ago
|
||
| Assignee | ||
Comment 13•2 days ago
|
||
| Assignee | ||
Comment 14•1 day ago
|
||
| Assignee | ||
Comment 15•1 day ago
|
||
Updated•1 day ago
|
Comment 16•1 day ago
|
||
Pushed by toby@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/6f6518854e73
Use SpecialPowers.pushPrefEnv in mail component browser tests. r=aleca
https://hg.mozilla.org/comm-central/rev/83c7ce650c47
Use SpecialPowers.pushPrefEnv in WebExtension compose and message-list browser tests. r=aleca
https://hg.mozilla.org/comm-central/rev/351d030fce6b
Use SpecialPowers.pushPrefEnv in account and attachment browser tests. r=aleca
https://hg.mozilla.org/comm-central/rev/c14b35c4e85c
Use SpecialPowers.pushPrefEnv in composition browser tests. r=aleca
| Assignee | ||
Updated•1 day ago
|
Comment 17•19 hours ago
|
||
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/f56d7174d75d
Use SpecialPowers.pushPrefEnv in folder display browser tests. r=aleca
https://hg.mozilla.org/comm-central/rev/05e9f90fdeb0
Use SpecialPowers.pushPrefEnv in misc mail browser tests. r=mkmelin
| Assignee | ||
Updated•19 hours ago
|
| Assignee | ||
Comment 18•17 hours ago
|
||
Updated•10 hours ago
|
| Assignee | ||
Comment 19•10 hours ago
|
||
That's it actually. I very much hope!!
Comment 20•10 hours ago
|
||
Pushed by edicharry@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/f6e230b05d5f
Use SpecialPowers.pushPrefEnv in remaining WebExtension browser tests. r=mkmelin
https://hg.mozilla.org/comm-central/rev/5c0e6a855180
Use SpecialPowers.pushPrefEnv in CloudFile, message reader, and notification browser tests. r=mkmelin
https://hg.mozilla.org/comm-central/rev/2453aa3f68e3
Use SpecialPowers.pushPrefEnv in OpenPGP and S/MIME browser tests. r=mkmelin
| Assignee | ||
Updated•9 hours ago
|
Description
•