Bug 1429133 - Some FontExplorer managed fonts are not rendered. r=Alex_Gaynor
authorHaik Aftandilian <haftandilian@mozilla.com>
Wed, 10 Jan 2018 11:33:47 -0800
changeset 450387 db0a461b3034f88ada61d13e8536eefdfd2361fb
parent 450386 c8ad0b964a65eef6d3f3b67e8f8d3ec6dfc1e1a5
child 450388 9fe0fbef78edeba45192d050a4e472172ec13fa2
push id8527
push userCallek@gmail.com
push dateThu, 11 Jan 2018 21:05:50 +0000
treeherdermozilla-beta@95342d212a7a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersAlex_Gaynor
bugs1429133
milestone59.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 1429133 - Some FontExplorer managed fonts are not rendered. r=Alex_Gaynor MozReview-Commit-ID: L5x3GNb3HGU
security/sandbox/mac/SandboxPolicies.h
--- a/security/sandbox/mac/SandboxPolicies.h
+++ b/security/sandbox/mac/SandboxPolicies.h
@@ -329,16 +329,20 @@ static const char contentSandboxRules[] 
            #"\.[tT][tT][fF]$"           ; ttf
            #"\.[tT][tT][cC]$"           ; ttc
            #"\.[oO][tT][cC]$"           ; otc
            #"\.[dD][fF][oO][nN][tT]$")) ; dfont
 
   ; bug 1404919
   ; Read access (recursively) within directories ending in .fontvault
   (allow file-read* (regex #"\.fontvault/"))
+
+  ; bug 1429133
+  ; Read access to the default FontExplorer font directory
+  (allow file-read* (home-subpath "/FontExplorer X/Font Library"))
 )";
 
 static const char fileContentProcessAddend[] = R"(
   ; This process has blanket file read privileges
   (allow file-read*)
 
   ; File content processes need access to iconservices to draw file icons in
   ; directory listings