Bug 1368034 - Update default values for urlbar searches in Marionette draft
authorRaajit Raj <raajit.raj@gmail.com>
Thu, 08 Jun 2017 20:58:36 +0530
changeset 591091 8899166905aff457daaf741ee235f11eda06f9dd
parent 589737 e3c25bafb7586ba9b02de2d11e998aa2bc5091db
child 632426 922d657de40ced3520f6052ba957b10bcfa30872
push id62956
push userbmo:raajit.raj@gmail.com
push dateThu, 08 Jun 2017 17:02:39 +0000
bugs1368034
milestone55.0a1
Bug 1368034 - Update default values for urlbar searches in Marionette Typing in urlbar can start a remote connection which can cause an error MozReview-Commit-ID: LQlUqHR4wx0
testing/geckodriver/src/prefs.rs
testing/marionette/server.js
--- a/testing/geckodriver/src/prefs.rs
+++ b/testing/geckodriver/src/prefs.rs
@@ -103,17 +103,17 @@ lazy_static! {
         // Disable first run splash page on Windows 10
         ("browser.usedOnWindows10.introURL", Pref::new("")),
 
         // Disable the UI tour
         ("browser.uitour.enabled", Pref::new(false)),
 
         // Disable the URL bar search suggestions
         ("browser.urlbar.userMadeSearchSuggestionsChoice", Pref::new(true)),
-        "browser.urlbar.suggest.searches", Pref::new(false),
+        ("browser.urlbar.suggest.searches", Pref::new(false),)
 
         // Do not warn on quitting Firefox
         ("browser.warnOnQuit", Pref::new(false)),
 
         // Do not show datareporting policy notifications which can
         // interfere with tests
         ("datareporting.healthreport.about.reportUrl", Pref::new("http://%(server)s/dummy/abouthealthreport/")),
         ("datareporting.healthreport.documentServerURI", Pref::new("http://%(server)s/dummy/healthreport/")),
--- a/testing/marionette/server.js
+++ b/testing/marionette/server.js
@@ -154,16 +154,17 @@ const RECOMMENDED_PREFS = new Map([
   // Disable the UI tour.
   //
   // Should be set in profile.
   ["browser.uitour.enabled", false],
 
   // Disable the URL bar search suggestions
   ["browser.urlbar.userMadeSearchSuggestionsChoice", true],
   ["browser.urlbar.suggest.searches", false],
+
   // Do not show datareporting policy notifications which can
   // interfere with tests
   ["datareporting.healthreport.about.reportUrl", "http://%(server)s/dummy/abouthealthreport/"],
   ["datareporting.healthreport.documentServerURI", "http://%(server)s/dummy/healthreport/"],
   ["datareporting.healthreport.logging.consoleEnabled", false],
   ["datareporting.healthreport.service.enabled", false],
   ["datareporting.healthreport.service.firstRun", false],
   ["datareporting.healthreport.uploadEnabled", false],