summaryrefslogtreecommitdiffstats
path: root/chrome/renderer
diff options
context:
space:
mode:
authorjeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-14 13:05:11 +0000
committerjeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-14 13:05:11 +0000
commit699f2246bf56e1aadf31e1edd6c5aef9b4b39638 (patch)
tree60f1be6e9bc917c19cc1d58476d9960a57aee940 /chrome/renderer
parent6e64894db5cedb67e3bfe2abc8f3352b792d82fe (diff)
downloadchromium_src-699f2246bf56e1aadf31e1edd6c5aef9b4b39638.zip
chromium_src-699f2246bf56e1aadf31e1edd6c5aef9b4b39638.tar.gz
chromium_src-699f2246bf56e1aadf31e1edd6c5aef9b4b39638.tar.bz2
Mac: Make Chrome work correctly in the case of AquaConnect OS X Terminal server.
Allow access to the /System/Library/ColorSync on all system version since it's apparently causing the renderer to display all colors as black when run from AquaConnect OS X terminal server, and there doesn't seem to be any point in blocking it. BUG=46648 TEST=Web pages should render the same. Review URL: http://codereview.chromium.org/2991002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52312 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer')
-rw-r--r--chrome/renderer/renderer.sb3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/renderer/renderer.sb b/chrome/renderer/renderer.sb
index c6500a7..4165162 100644
--- a/chrome/renderer/renderer.sb
+++ b/chrome/renderer/renderer.sb
@@ -14,6 +14,9 @@
(allow mach-lookup (global-name "com.apple.FontObjectsServer")) ; 10.5.6
;10.6_ONLY (allow mach-lookup (global-name "com.apple.FontServer")) ; 10.6
+; http://crbug.com/46648
+(allow file-read-data (regex #"^/System/Library/ColorSync($|/)")) ; 10.5.6
+
; USER_HOMEDIR is substitued at runtime - http://crbug.com/11269
;10.6_ONLY (allow file-read-data (subpath "USER_HOMEDIR/Library/Fonts")) ; 10.6