Bug 1508283 - Don't attempt to check for updates from Firefox's nsBrowserGlue.js when running tests. r=jgraham
authorRobert Strong <robert.bugzilla@gmail.com>
Mon, 19 Nov 2018 11:30:07 -0800
changeset 503538 295cd66cea8f4d957f0c77c821c4dfb1abc7e588
parent 503537 a5e00e5b4635a19e9fb4ed3566565504338384c6
child 503539 51be7136648f4439059d44c7f4f1fcb988c26e51
push id10290
push userffxbld-merge
push dateMon, 03 Dec 2018 16:23:23 +0000
treeherdermozilla-beta@700bed2445e6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjgraham
bugs1508283, 1506917
milestone65.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 1508283 - Don't attempt to check for updates from Firefox's nsBrowserGlue.js when running tests. r=jgraham This adds the app.update.checkInstallTime pref with a value of false for geckodriver. The pref was added for the other tests in bug 1506917.
testing/geckodriver/src/prefs.rs
--- a/testing/geckodriver/src/prefs.rs
+++ b/testing/geckodriver/src/prefs.rs
@@ -7,16 +7,19 @@ use mozprofile::preferences::Pref;
 // so please be careful and get review from a Testing :: geckodriver peer
 // before you make any changes to this file.
 
 lazy_static! {
     pub static ref DEFAULT: Vec<(&'static str, Pref)> = vec![
         // Make sure Shield doesn't hit the network.
         ("app.normandy.api_url", Pref::new("")),
 
+        // Disable Firefox old build background check
+        ("app.update.checkInstallTime", Pref::new(false)),
+
         // Disable automatically upgrading Firefox
         ("app.update.disabledForTesting", Pref::new(true)),
 
         // Enable the dump function, which sends messages to the system
         // console
         ("browser.dom.window.dump.enabled", Pref::new(true)),
         ("devtools.console.stdout.chrome", Pref::new(true)),