Bug 1312273 - Twitter videos can't play in recent nightlies on OS X 10.9; r=gcp
authorHaik Aftandilian <haftandilian@mozilla.com>
Mon, 24 Oct 2016 10:37:54 -0700
changeset 319907 5074747b77f0e344aa5131b817e1e6873d73a398
parent 319876 a1ea2703d9e81330c261846575016399e01ba893
child 319908 bd422e06289a9d753b9f3f26334cb0fd404366ad
push id20749
push userryanvm@gmail.com
push dateSat, 29 Oct 2016 13:21:21 +0000
treeherderfx-team@1b170b39ed6b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgcp
bugs1312273
milestone52.0a1
Bug 1312273 - Twitter videos can't play in recent nightlies on OS X 10.9; r=gcp MozReview-Commit-ID: JidUYCkR8Lp
security/sandbox/mac/Sandbox.mm
--- a/security/sandbox/mac/Sandbox.mm
+++ b/security/sandbox/mac/Sandbox.mm
@@ -267,16 +267,20 @@ static const char contentSandboxRules[] 
   "      (global-name \"com.apple.cookied\")\n"
   "      (global-name \"com.apple.cache_delete\")\n"
   "      (global-name \"com.apple.pluginkit.pkd\")\n"
   "      (global-name \"com.apple.bird\")\n"
   "      (global-name \"com.apple.ocspd\")\n"
   "      (global-name \"com.apple.cmio.AppleCameraAssistant\")\n"
   "      (global-name \"com.apple.DesktopServicesHelper\"))\n"
   "\n"
+  "; bug 1312273\n"
+  "  (if (= macosMinorVersion 9)\n"
+  "     (allow mach-lookup (global-name \"com.apple.xpcd\")))\n"
+  "\n"
   "  (allow iokit-open\n"
   "      (iokit-user-client-class \"IOHIDParamUserClient\")\n"
   "      (iokit-user-client-class \"IOAudioControlUserClient\")\n"
   "      (iokit-user-client-class \"IOAudioEngineUserClient\")\n"
   "      (iokit-user-client-class \"IGAccelDevice\")\n"
   "      (iokit-user-client-class \"nvDevice\")\n"
   "      (iokit-user-client-class \"nvSharedUserClient\")\n"
   "      (iokit-user-client-class \"nvFermiGLContext\")\n"