Bug 491653 - Pref to disable geolocation should be included in all.js, not be hidden. r=gavin
authorJohnathan Nightingale <johnath@mozilla.com>
Wed, 06 May 2009 17:16:39 -0400
changeset 25115 497a8c2bdabac0d23c44bacd456b79ff5dc6517c
parent 25114 78d6f3d51d820a749623297617469c13115ff995
child 25116 9c6b9db7490487bca948e46424aa527680c374a9
push id1366
push userdougt@mozilla.com
push dateThu, 07 May 2009 00:04:29 +0000
reviewersgavin
bugs491653
milestone1.9.1b5pre
Bug 491653 - Pref to disable geolocation should be included in all.js, not be hidden. r=gavin
modules/libpref/src/init/all.js
--- a/modules/libpref/src/init/all.js
+++ b/modules/libpref/src/init/all.js
@@ -2695,8 +2695,11 @@ pref("image.cache.size", 5242880);
 pref("image.cache.timeweight", 500);
 
 #ifdef XP_WIN
 #ifndef WINCE
 // The default TCP send window on Windows is too small, and autotuning only occurs on receive
 pref("network.tcp.sendbuffer", 131072);
 #endif
 #endif
+
+// Enable/Disable the geolocation API for content
+pref("geo.enabled", true);