Skip to content

Commit

Permalink
Backed out changeset 31a809d5ca1a (bug 1364068) for valgrind bustage
Browse files Browse the repository at this point in the history
--HG--
extra : rebase_source : 97ee6c0cf8677a55967c8e7a2b8722fdc0cf0378
  • Loading branch information
IrisHsiao committed May 23, 2017
1 parent 870e162 commit aa25343
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 0 additions & 2 deletions browser/app/profile/firefox.js
Original file line number Diff line number Diff line change
Expand Up @@ -1459,8 +1459,6 @@ pref("browser.translation.engine", "bing");
pref("toolkit.telemetry.archive.enabled", true);
// Enables sending the shutdown ping when Firefox shuts down.
pref("toolkit.telemetry.shutdownPingSender.enabled", true);
// Enables sending the 'new-profile' ping on new profiles.
pref("toolkit.telemetry.newProfilePing.enabled", true);

// Telemetry experiments settings.
pref("experiments.enabled", true);
Expand Down
7 changes: 3 additions & 4 deletions toolkit/components/telemetry/tests/unit/head.js
Original file line number Diff line number Diff line change
Expand Up @@ -307,11 +307,10 @@ if (runningInParent) {
Services.prefs.setBoolPref("datareporting.policy.dataSubmissionPolicyBypassNotification", true);
// FHR uploads should be enabled.
Services.prefs.setBoolPref("datareporting.healthreport.uploadEnabled", true);
// Many tests expect the shutdown and the new-profile to not be sent on shutdown
// and will fail if receive an unexpected ping. Let's globally disable these features:
// the relevant tests will enable these prefs when needed.
// Many tests expect the shutdown ping to not be sent on shutdown and will fail
// if receive an unexpected ping. Let's globally disable the shutdown ping sender:
// the relevant tests will enable this pref when needed.
Services.prefs.setBoolPref("toolkit.telemetry.shutdownPingSender.enabled", false);
Services.prefs.setBoolPref("toolkit.telemetry.newProfilePing.enabled", false);
// Ensure browser experiments are also disabled, to avoid network activity
// when toggling PREF_ENABLED.
Services.prefs.setBoolPref("experiments.enabled", false);
Expand Down

0 comments on commit aa25343

Please sign in to comment.