зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1567462 - Make the test_redirect_protocol_telemetry.js test collect telemetry data for all products during testing. r=valentin
This test fails on Thunderbird otherwise. Differential Revision: https://phabricator.services.mozilla.com/D56813 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
8c07f4b7ab
Коммит
84cd35c4f7
|
@ -8,6 +8,13 @@ function make_channel(url, callback, ctx) {
|
|||
}
|
||||
|
||||
add_task(async function check_protocols() {
|
||||
// Enable the collection (during test) for all products so even products
|
||||
// that don't collect the data will be able to run the test without failure.
|
||||
Services.prefs.setBoolPref(
|
||||
"toolkit.telemetry.testing.overrideProductsCheck",
|
||||
true
|
||||
);
|
||||
|
||||
let httpserv = new HttpServer();
|
||||
httpserv.registerPathHandler("/redirect", redirectHandler);
|
||||
httpserv.registerPathHandler("/content", contentHandler);
|
||||
|
|
Загрузка…
Ссылка в новой задаче