Bug 1642281 - Close address book databases after cardDAV tests. rs=bustage-fix

--HG--
extra : histedit_source : a734aabb198fe3747d98c183c71765640fa41463
This commit is contained in:
Geoff Lankow 2020-06-02 11:24:01 +12:00
Родитель bb36951261
Коммит 95fd68a1e1
1 изменённых файлов: 5 добавлений и 1 удалений

Просмотреть файл

@ -8,11 +8,15 @@ const { CardDAVDirectory } = ChromeUtils.import(
const { CardDAVServer } = ChromeUtils.import(
"resource://testing-common/CardDAVServer.jsm"
);
const { Services } = ChromeUtils.import("resource://gre/modules/Services.jsm");
var { Services } = ChromeUtils.import("resource://gre/modules/Services.jsm");
Cu.importGlobalProperties(["fetch"]);
do_get_profile();
registerCleanupFunction(function() {
load("../../../resources/mailShutdown.js");
});
async function checkCardsOnServer(expectedCards) {
// Send a request to the server. When the server responds, we know it has
// completed all earlier requests.