Bug 1722871: Do not explicitly call popPrefEnv after test finishes when annotated with https_first_disabled r=kmag

Differential Revision: https://phabricator.services.mozilla.com/D121167
This commit is contained in:
Christoph Kerschbaumer 2021-08-13 12:05:47 +00:00
Родитель 0689bd0869
Коммит 56f30defc0
1 изменённых файлов: 0 добавлений и 7 удалений

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

@ -798,13 +798,6 @@ Tester.prototype = {
);
let time = Date.now() - this.lastStartTime;
// HTTPS-First (Bug 1704453) TODO: in case a test is annoated
// with https_first_disabled then we explicitly flip the pref
// dom.security.https_first to false for the duration of the test.
if (this.currentTest.https_first_disabled) {
window.SpecialPowers.popPrefEnv();
}
this.structuredLogger.testEnd(
this.currentTest.path,
"OK",