Bug 1392988 - Firefox 55.02 on macOS High Sierra cannot play AES encrypted video. r=Alex_Gaynor, a=lizzard
authorHaik Aftandilian <haftandilian@mozilla.com>
Mon, 28 Aug 2017 19:06:07 -0700
changeset 423898 7b0b48569ec86d62017a87759e5b9f48bb0a4a25
parent 423897 c46525d6bf12e6a0bf18250bb7643312450fed97
child 423899 76813e4100eaa0e97f167a0a409ebfc59ccb97a1
push id1517
push userjlorenzo@mozilla.com
push dateThu, 14 Sep 2017 16:50:54 +0000
treeherdermozilla-release@3b41fd564418 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersAlex_Gaynor, lizzard
bugs1392988
milestone56.0
Bug 1392988 - Firefox 55.02 on macOS High Sierra cannot play AES encrypted video. r=Alex_Gaynor, a=lizzard Adds access to video encoding/decoding services when running on macOS 10.13 High Sierra. MozReview-Commit-ID: 6h4dZ6gkFtp
security/sandbox/mac/SandboxPolicies.h
--- a/security/sandbox/mac/SandboxPolicies.h
+++ b/security/sandbox/mac/SandboxPolicies.h
@@ -197,19 +197,23 @@ static const char contentSandboxRules[] 
       (global-name "com.apple.SystemConfiguration.configd")
       (global-name "com.apple.iconservices")
       (global-name "com.apple.cache_delete")
       (global-name "com.apple.pluginkit.pkd")
       (global-name "com.apple.bird")
       (global-name "com.apple.cmio.AppleCameraAssistant")
       (global-name "com.apple.DesktopServicesHelper"))
 
-; bug 1376163
   (if (>= macosMinorVersion 13)
-    (allow mach-lookup (global-name "com.apple.audio.AudioComponentRegistrar")))
+    (allow mach-lookup
+      ; bug 1376163
+      (global-name "com.apple.audio.AudioComponentRegistrar")
+      ; bug 1392988
+      (xpc-service-name "com.apple.coremedia.videodecoder")
+      (xpc-service-name "com.apple.coremedia.videoencoder")))
 
 ; bug 1312273
   (if (= macosMinorVersion 9)
      (allow mach-lookup (global-name "com.apple.xpcd")))
 
   (allow iokit-open
       (iokit-user-client-class "IOHIDParamUserClient")
       (iokit-user-client-class "IOAudioControlUserClient")