From c97318e5a12db945b79109ed5f438592d1ac02f6 Mon Sep 17 00:00:00 2001 From: Shih-Chiang Chien Date: Wed, 8 May 2013 13:50:13 +0200 Subject: [PATCH] Bug 869394 - default turn on captive portal detection. r=fabrice. --HG-- extra : rebase_source : 3b800757a6a138e53cdcc4735e1c048d9412448a --- b2g/app/b2g.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/b2g/app/b2g.js b/b2g/app/b2g.js index 4e29ba1211a..09c8882b861 100644 --- a/b2g/app/b2g.js +++ b/b2g/app/b2g.js @@ -691,5 +691,9 @@ pref("consoleservice.buffered", false); 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");