Bug 1148763 - Don't initialise Telemetry twice in browser_bug557956.js. r=gfritzsche

This commit is contained in:
Alessio Placitelli 2015-04-01 05:09:00 -04:00
Родитель 58916da40e
Коммит fe2acbe5b6
1 изменённых файлов: 1 добавлений и 5 удалений

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

@ -199,7 +199,7 @@ add_test(function test_setup() {
registerCleanupFunction(function () {
Services.telemetry.canRecordExtended = oldCanRecord;
});
TelemetrySession.setup().then(run_next_test);
run_next_test();
});
// Tests that the right add-ons show up in the mismatch dialog and updates can
@ -517,7 +517,3 @@ add_test(function overrides_retrieved() {
});
});
});
add_test(function test_shutdown() {
TelemetrySession.shutdown(false).then(run_next_test);
});