Bug 1553797 - Fix OneCRL tests when MOZ_NEW_CERT_STORAGE is disabled r=keeler

Differential Revision: https://phabricator.services.mozilla.com/D32331

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Mathieu Leplatre 2019-05-24 14:32:13 +00:00
Родитель ddb81c7a43
Коммит 8708f07d79
1 изменённых файлов: 7 добавлений и 1 удалений

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

@ -63,13 +63,19 @@ add_task({
const profile = do_get_profile();
const revocations = profile.clone();
revocations.append("revocations.txt");
const before = revocations.lastModifiedTime;
const before = revocations.exists() ? revocations.lastModifiedTime : null;
await OneCRLBlocklistClient.emit("sync", { data: {
current: [{
issuerName: "MBIxEDAOBgNVBAMMB1Rlc3QgQ0E=",
serialNumber: "a0X7/7DlTaedpgrIJg25iBPOkIM=",
}],
deleted: [],
updated: [],
created: [{
issuerName: "MBIxEDAOBgNVBAMMB1Rlc3QgQ0E=",
serialNumber: "a0X7/7DlTaedpgrIJg25iBPOkIM=",
}],
}});
const after = revocations.lastModifiedTime;