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 319792 5074747b77f0e344aa5131b817e1e6873d73a398
parent 319791 a1ea2703d9e81330c261846575016399e01ba893
child 319793 bd422e06289a9d753b9f3f26334cb0fd404366ad
push id33620
push userryanvm@gmail.com
push dateFri, 28 Oct 2016 02:04:44 +0000
treeherderautoland@5074747b77f0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgcp
bugs1312273
milestone52.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 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"