Bug 1347755 - Disable JS MDNS fallback and presentation API on Android r=jchen draft MOBILE520_2017030305_RELBRANCH
authorJames Willcox <snorp@snorp.net>
Thu, 16 Mar 2017 18:57:41 -0500
branchMOBILE520_2017030305_RELBRANCH
changeset 500283 7126be285e10331c90f81a4c34913a48a220cf71
parent 500282 0787a995e6230b0f3dfde1c6ae2bf76f4f1383c4
child 724649 6f94d40e567a163efb0581c18f48b489dc684302
push id49672
push userbmo:snorp@snorp.net
push dateThu, 16 Mar 2017 23:59:55 +0000
reviewersjchen
bugs1347755
milestone52.0
Bug 1347755 - Disable JS MDNS fallback and presentation API on Android r=jchen MozReview-Commit-ID: 5VMRWgIVovJ
mobile/android/app/mobile.js
--- a/mobile/android/app/mobile.js
+++ b/mobile/android/app/mobile.js
@@ -116,18 +116,18 @@ pref("network.http.spdy.default-hpack-bu
 pref("network.buffer.cache.count", 24);
 pref("network.buffer.cache.size",  16384);
 
 // predictive actions
 pref("network.predictor.enabled", true);
 pref("network.predictor.max-db-size", 2097152); // bytes
 pref("network.predictor.preserve", 50); // percentage of predictor data to keep when cleaning up
 
-// Use JS mDNS as a fallback
-pref("network.mdns.use_js_fallback", true);
+// Do not use JS mDNS as a fallback
+pref("network.mdns.use_js_fallback", false);
 
 /* history max results display */
 pref("browser.display.history.maxresults", 100);
 
 /* How many times should have passed before the remote tabs list is refreshed */
 pref("browser.display.remotetabs.timeout", 10);
 
 /* session history */
@@ -902,18 +902,18 @@ pref("identity.fxaccounts.remote.profile
 // The remote URL of the Firefox Account oauth server.
 pref("identity.fxaccounts.remote.oauth.uri", "https://oauth.accounts.firefox.com/v1");
 
 // Token server used by Firefox Account-authenticated Sync.
 pref("identity.sync.tokenserver.uri", "https://token.services.mozilla.com/1.0/sync/1.5");
 
 // Enable Presentation API
 pref("dom.presentation.enabled", false);
-pref("dom.presentation.discovery.enabled", true);
-pref("dom.presentation.discovery.legacy.enabled", true); // for TV 2.5 backward capability
+pref("dom.presentation.discovery.enabled", false);
+pref("dom.presentation.discovery.legacy.enabled", false); // for TV 2.5 backward capability
 
 pref("dom.audiochannel.audioCompeting", true);
 pref("dom.audiochannel.mediaControl", true);
 
 // Space separated list of URLS that are allowed to send objects (instead of
 // only strings) through webchannels. This list is duplicated in browser/app/profile/firefox.js
 pref("webchannel.allowObject.urlWhitelist", "https://accounts.firefox.com https://content.cdn.mozilla.net https://input.mozilla.org https://support.mozilla.org https://install.mozilla.org");