Bug 1056769 - UITour tests shouldn't hit the network. r=MattN
authorBlair McBride <bmcbride@mozilla.com>
Wed, 27 Aug 2014 12:38:08 +1200
changeset 223406 12b02422dd35161ccc31032715192c3e4cc76c23
parent 223405 aca5bff5dce50402fdd1af78f33d00f7ac1f716d
child 223407 ff9659baf12b6096579d86cb4465f1ad4754f072
push id3979
push userraliiev@mozilla.com
push dateMon, 13 Oct 2014 16:35:44 +0000
treeherdermozilla-beta@30f2cc610691 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersMattN
bugs1056769
milestone34.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 1056769 - UITour tests shouldn't hit the network. r=MattN
testing/profiles/prefs_general.js
--- a/testing/profiles/prefs_general.js
+++ b/testing/profiles/prefs_general.js
@@ -237,8 +237,12 @@ user_pref("browser.aboutHomeSnippets.upd
 user_pref("dom.mozApps.debug", true);
 
 // Don't fetch or send directory tiles data from real servers
 user_pref("browser.newtabpage.directory.source", 'data:application/json,{"testing":1}');
 user_pref("browser.newtabpage.directory.ping", "");
 
 // Enable Loop
 user_pref("loop.enabled", true);
+
+// Ensure UITour won't hit the network
+user_pref("browser.uitour.pinnedTabUrl", "http://%(server)s/uitour-dummy/pinnedTab");
+user_pref("browser.uitour.url", "http://%(server)s/uitour-dummy/tour");