Bug 1129039 - Disable MSE support entirely. r=cajbir, a=sledru
authorRalph Giles <giles@mozilla.com>
Tue, 03 Feb 2015 10:11:00 -0500
changeset 243699 14d3deb83b7f
parent 243698 74c4e5bdde78
child 243700 0ee8df1c21d6
push id4441
push userryanvm@gmail.com
push date2015-02-05 16:16 +0000
treeherdermozilla-beta@14d3deb83b7f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerscajbir, sledru
bugs1129039
milestone36.0
Bug 1129039 - Disable MSE support entirely. r=cajbir, a=sledru We had this enabled for youtube-only, but it's still not stable enough for release.
modules/libpref/init/all.js
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -420,26 +420,27 @@ pref("media.getusermedia.screensharing.a
 
 // TextTrack support
 pref("media.webvtt.enabled", true);
 pref("media.webvtt.regions.enabled", false);
 
 // AudioTrack and VideoTrack support
 pref("media.track.enabled", false);
 
-// Whether to enable MediaSource support.  We want to enable on non-release
-// builds and on release windows, but on release builds restrict to YouTube.  We
-// don't enable for YouTube on non-Windows for now because the MP4 code for
-// those platforms isn't ready yet.
-#if defined(XP_WIN) || !defined(RELEASE_BUILD)
+// Whether to enable MediaSource support.
+// We want to enable on non-release builds only until it's more stable.
+#if !defined(RELEASE_BUILD)
 pref("media.mediasource.enabled", true);
 #else
 pref("media.mediasource.enabled", false);
 #endif
 
+// If MediaSource is enabled for release builds, restrict it to
+// specific domains. We prefer not to expose a parial implementation
+// of the specification to the world wide web.
 #ifdef RELEASE_BUILD
 pref("media.mediasource.youtubeonly", true);
 #else
 pref("media.mediasource.youtubeonly", false);
 #endif // RELEASE_BUILD
 
 #ifdef MOZ_WIDGET_GONK
 pref("media.mediasource.mp4.enabled", false);