Bug 990220 - Enable navigator.sendBeacon on all platforms except b2g because it doesn't play nicely with Firefox OS apps yet; r=sicking
authorEhsan Akhgari <ehsan@mozilla.com>
Mon, 31 Mar 2014 20:04:00 -0400
changeset 194931 0483fe9d0b74e4dfe6df1f74379e03bd055b0fd3
parent 194930 0308295814658f77bc5ebb48ee2456dbbe780970
child 194932 a63f5694f562aa9c4301760ab5eea23cc18eaef0
push id3624
push userasasaki@mozilla.com
push dateMon, 09 Jun 2014 21:49:01 +0000
treeherdermozilla-beta@b1a5da15899a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssicking
bugs990220
milestone31.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 990220 - Enable navigator.sendBeacon on all platforms except b2g because it doesn't play nicely with Firefox OS apps yet; r=sicking
modules/libpref/src/init/all.js
--- a/modules/libpref/src/init/all.js
+++ b/modules/libpref/src/init/all.js
@@ -4399,8 +4399,14 @@ pref("snav.enabled", false);
 // Wakelock is disabled by default.
 pref("dom.wakelock.enabled", false);
 
 // The URL of the Firefox Accounts auth server backend
 pref("identity.fxaccounts.auth.uri", "https://api.accounts.firefox.com/v1");
 
 // disable mozsample size for now
 pref("image.mozsamplesize.enabled", false);
+
+// Enable navigator.sendBeacon on all platforms except b2g because it doesn't
+// play nicely with Firefox OS apps yet.
+#ifndef MOZ_WIDGET_GONK
+pref("beacon.enabled", true);
+#endif