Bug 995995 - set testing prefs to redirect to the test proxy server for RSS feeds; r=jmaher
authorNathan Froyd <froydnj@mozilla.com>
Tue, 15 Apr 2014 17:14:51 -0400
changeset 179440 6863631867ea7700a0db20b69dc2d517731b8ecd
parent 179439 d8efaa0f46d52f38840cb14ef8088485766c6b09
child 179441 0706e7e5b0fc14a148ad436fdc07d8a014a254e6
push id272
push userpvanderbeken@mozilla.com
push dateMon, 05 May 2014 16:31:18 +0000
reviewersjmaher
bugs995995
milestone31.0a1
Bug 995995 - set testing prefs to redirect to the test proxy server for RSS feeds; r=jmaher
testing/profiles/prefs_general.js
--- a/testing/profiles/prefs_general.js
+++ b/testing/profiles/prefs_general.js
@@ -172,8 +172,17 @@ user_pref("pbackground.testing", true);
 user_pref("browser.webapps.testing", true);
 
 // Disable android snippets
 user_pref("browser.snippets.enabled", false);
 user_pref("browser.snippets.syncPromo.enabled", false);
 
 // Do not turn HTTP cache v2 for our infra tests (some tests are failing)
 user_pref("browser.cache.use_new_backend_temp", false);
+
+// Don't connect to Yahoo! for RSS feed tests.
+// en-US only uses .types.0.uri, but set all of them just to be sure.
+user_pref('browser.contentHandlers.types.0.uri', 'http://test1.example.org/rss?url=%%s')
+user_pref('browser.contentHandlers.types.1.uri', 'http://test1.example.org/rss?url=%%s')
+user_pref('browser.contentHandlers.types.2.uri', 'http://test1.example.org/rss?url=%%s')
+user_pref('browser.contentHandlers.types.3.uri', 'http://test1.example.org/rss?url=%%s')
+user_pref('browser.contentHandlers.types.4.uri', 'http://test1.example.org/rss?url=%%s')
+user_pref('browser.contentHandlers.types.5.uri', 'http://test1.example.org/rss?url=%%s')