Bug 869394 - default turn on captive portal detection. r=fabrice.
authorShih-Chiang Chien <schien@mozilla.com>
Wed, 08 May 2013 13:50:13 +0200
changeset 131241 893ffa43dd882de1239a4a3a7e305c9709f3b0fc
parent 131240 182f3878a17b360489564944e7ebcbd51a6635b8
child 131242 97e73b69c2792fc8d89ac0bcf8ced463c72eba09
push id27748
push userjacek@codeweavers.com
push dateWed, 08 May 2013 11:51:39 +0000
treeherdermozilla-inbound@893ffa43dd88 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfabrice
bugs869394
milestone23.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 869394 - default turn on captive portal detection. r=fabrice.
b2g/app/b2g.js
--- a/b2g/app/b2g.js
+++ b/b2g/app/b2g.js
@@ -686,10 +686,14 @@ pref("b2g.version", @MOZ_B2G_VERSION@);
 // Disable console buffering to save memory.
 pref("consoleservice.buffered", false);
 
 #ifdef MOZ_WIDGET_GONK
 // Performance testing suggests 2k is a better page size for SQLite.
 pref("toolkit.storage.pageSize", 2048);
 #endif
 
+// Enable captive portal detection.
+pref("captivedetect.canonicalURL", "http://detectportal.firefox.com/success.txt");
+pref("captivedetect.canonicalContent", "success\n");
+
 // The url of the manifest we use for ADU pings.
 pref("ping.manifestURL", "https://marketplace.firefox.com/packaged.webapp");