Bug 1642723 - Also check doh-rollout.uri in browser_trrSelection_disable.js test. r=valentin

Depends on D78126

Differential Revision: https://phabricator.services.mozilla.com/D78127
This commit is contained in:
Nihanth Subramanya 2020-06-04 15:46:03 +00:00
Родитель b30f322f18
Коммит 52674d1803
1 изменённых файлов: 10 добавлений и 0 удалений

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

@ -17,6 +17,11 @@ add_task(async function testTrrSelectionDisable() {
undefined,
"TRR selection dry run not performed."
);
is(
Preferences.get(prefs.DOH_TRR_SELECT_URI_PREF),
undefined,
"doh-rollout.uri remained unset."
);
ensureNoTRRSelectionTelemetry();
let tab = await BrowserTestUtils.openNewForegroundTab(gBrowser, EXAMPLE_URL);
@ -65,6 +70,11 @@ add_task(async function testTrrSelectionDisable() {
undefined,
"TRR selection dry run not performed."
);
is(
Preferences.get(prefs.DOH_TRR_SELECT_URI_PREF),
undefined,
"doh-rollout.uri remained unset."
);
await ensureNoTRRModeChange(2);
await checkHeuristicsTelemetry("enable_doh", "startup");
});