mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 12:50:09 +00:00
Bug 1696151 - Make sure network.jar.record_failure_reason is true when the test is running r=zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D107061
This commit is contained in:
parent
3aa91efcfc
commit
970b68dbba
@ -28,6 +28,8 @@ Services.prefs.setBoolPref(
|
||||
true
|
||||
);
|
||||
|
||||
Services.prefs.setBoolPref("network.jar.record_failure_reason", true);
|
||||
|
||||
const fileBase = "test_empty_file.zip";
|
||||
const file = do_get_file("data/" + fileBase);
|
||||
const jarBase = "jar:" + Services.io.newFileURI(file).spec + "!";
|
||||
@ -45,6 +47,7 @@ function setup() {
|
||||
setup();
|
||||
|
||||
registerCleanupFunction(async () => {
|
||||
Services.prefs.clearUserPref("network.jar.record_failure_reason");
|
||||
try {
|
||||
copy.remove(false);
|
||||
} catch (e) {}
|
||||
|
@ -9034,7 +9034,7 @@
|
||||
# Whether to record the telemetry event when a JAR channel is failed to load.
|
||||
- name: network.jar.record_failure_reason
|
||||
type: RelaxedAtomicBool
|
||||
value: @IS_NIGHTLY_OR_DEV_EDITION@
|
||||
value: true
|
||||
mirror: always
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user