Bug 1307055. Part 1 - add some prefs to prefs_general.js for mochitests so they can take effect as soon as possible before running any test code. r=cpearce
authorJW Wang <jwwang@mozilla.com>
Mon, 03 Oct 2016 15:18:05 +0800
changeset 316498 238809d53b3039d97672161bfa1673491f143cf7
parent 316497 2108248c40215eacd78f83e46c1a302669c8cc2c
child 316499 ea7d72872079f5197ac429b46c9ade3c101df5ee
push id32844
push userjwwang@mozilla.com
push dateWed, 05 Oct 2016 08:29:57 +0000
treeherderautoland@ea7d72872079 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerscpearce
bugs1307055
milestone52.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1307055. Part 1 - add some prefs to prefs_general.js for mochitests so they can take effect as soon as possible before running any test code. r=cpearce MozReview-Commit-ID: 3778qKBSSwv
testing/profiles/prefs_general.js
--- a/testing/profiles/prefs_general.js
+++ b/testing/profiles/prefs_general.js
@@ -34,18 +34,21 @@ user_pref("browser.EULA.override", true)
 user_pref("gfx.color_management.force_srgb", true);
 user_pref("network.manage-offline-status", false);
 // Disable speculative connections so they aren't reported as leaking when they're hanging around.
 user_pref("network.http.speculative-parallel-limit", 0);
 user_pref("dom.min_background_timeout_value", 1000);
 user_pref("test.mousescroll", true);
 user_pref("security.default_personal_cert", "Select Automatically"); // Need to client auth test be w/o any dialogs
 user_pref("network.http.prompt-temp-redirect", false);
+user_pref("media.preload.default", 2); // default = metadata
+user_pref("media.preload.auto", 3); // auto = enough
 user_pref("media.cache_size", 1000);
 user_pref("media.volume_scale", "0.01");
+user_pref("media.test.dumpDebugInfo", true);
 user_pref("security.warn_viewing_mixed", false);
 user_pref("app.update.enabled", false);
 user_pref("app.update.staging.enabled", false);
 user_pref("app.update.url.android", "");
 // Make sure GMPInstallManager won't hit the network.
 user_pref("media.gmp-manager.url.override", "http://%(server)s/dummy-gmp-manager.xml");
 user_pref("media.gmp-manager.updateEnabled", false);
 user_pref("dom.w3c_touch_events.enabled", 1);