Bug 885505 - Enable Web Audio by default on all platforms. r=roc, a=webaudio
authorEhsan Akhgari <ehsan@mozilla.com>
Mon, 12 Aug 2013 10:00:07 -0400
changeset 153730 8e86314a9540afcf49727fa1894f309d88adeb61
parent 153729 7348d430a85fb32cc07ddb75958e52303a043c6e
child 153731 2f898f833ad0c26b655c07afd50fdf5449c99696
push id2859
push userakeybl@mozilla.com
push dateMon, 16 Sep 2013 19:14:59 +0000
treeherdermozilla-beta@87d3c51cd2bf [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersroc, webaudio
bugs885505
milestone25.0a2
Bug 885505 - Enable Web Audio by default on all platforms. r=roc, a=webaudio
browser/app/profile/firefox.js
mobile/android/app/mobile.js
modules/libpref/src/init/all.js
--- a/browser/app/profile/firefox.js
+++ b/browser/app/profile/firefox.js
@@ -1279,21 +1279,16 @@ pref("security.csp.speccompliant", true)
 
 // Block insecure active content on https pages
 pref("security.mixed_content.block_active_content", true);
 
 
 // Override the Gecko-default value of false for Firefox.
 pref("plain_text.wrap_long_lines", true);
 
-#ifndef RELEASE_BUILD
-// Enable Web Audio for Firefox Desktop in Nightly and Aurora
-pref("media.webaudio.enabled", true);
-#endif
-
 // If this turns true, Moz*Gesture events are not called stopPropagation()
 // before content.
 pref("dom.debug.propagate_gesture_events_through_content", false);
 
 // The request URL of the GeoLocation backend.
 pref("geo.wifi.uri", "https://www.googleapis.com/geolocation/v1/geolocate?key=%GOOGLE_API_KEY%");
 
 // Necko IPC security checks only needed for app isolation for cookies/cache/etc:
--- a/mobile/android/app/mobile.js
+++ b/mobile/android/app/mobile.js
@@ -732,21 +732,16 @@ pref("browser.contentHandlers.types.1.ty
 pref("browser.contentHandlers.types.2.title", "chrome://browser/locale/region.properties");
 pref("browser.contentHandlers.types.2.uri", "chrome://browser/locale/region.properties");
 pref("browser.contentHandlers.types.2.type", "application/vnd.mozilla.maybe.feed");
 pref("browser.contentHandlers.types.3.title", "chrome://browser/locale/region.properties");
 pref("browser.contentHandlers.types.3.uri", "chrome://browser/locale/region.properties");
 pref("browser.contentHandlers.types.3.type", "application/vnd.mozilla.maybe.feed");
 
 #ifndef RELEASE_BUILD
-// Enable Web Audio for Firefox for Android in Nightly and Aurora
-pref("media.webaudio.enabled", true);
-#endif
-
-#ifndef RELEASE_BUILD
 pref("dom.payment.provider.0.name", "Firefox Marketplace");
 pref("dom.payment.provider.0.description", "marketplace.firefox.com");
 pref("dom.payment.provider.0.uri", "https://marketplace.firefox.com/mozpay/?req=");
 pref("dom.payment.provider.0.type", "mozilla/payments/pay/v1");
 pref("dom.payment.provider.0.requestMethod", "GET");
 #endif
 
 // Contacts API
--- a/modules/libpref/src/init/all.js
+++ b/modules/libpref/src/init/all.js
@@ -221,17 +221,17 @@ pref("media.webvtt.enabled", false);
 // Whether to enable MediaSource support
 pref("media.mediasource.enabled", false);
 
 #ifdef MOZ_WEBSPEECH
 pref("media.webspeech.recognition.enable", false);
 #endif
 
 // Whether to enable Web Audio support
-pref("media.webaudio.enabled", false);
+pref("media.webaudio.enabled", true);
 
 // Whether to autostart a media element with an |autoplay| attribute
 pref("media.autoplay.enabled", true);
 
 // The default number of decoded video frames that are enqueued in
 // MediaDecoderReader's mVideoQueue.
 pref("media.video-queue.default-size", 10);