зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
0689bd0869
Коммит
56f30defc0
|
@ -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",
|
||||
|
|
Загрузка…
Ссылка в новой задаче