From 005afbdc6836ecd6b3a09ab76b00221201830210 Mon Sep 17 00:00:00 2001 From: "jeremy@chromium.org" Date: Fri, 28 Aug 2009 22:34:36 +0000 Subject: Use 10.5/10.6-compatible Sandbox Syntax Turns out there's a way to allow sending signals to yourself that works on both 10.5 & 10.6 so use that... Remove temporary hack to only enable syntax on Leopard. BUG=20370 TEST=On both 10.5 & 10.6 - Follow repro steps for crash in 20366, browser process should show sad tabs rather than crash. Review URL: http://codereview.chromium.org/180028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24820 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/renderer/renderer.sb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'chrome/renderer/renderer.sb') diff --git a/chrome/renderer/renderer.sb b/chrome/renderer/renderer.sb index c43a8ed..42ca75d 100644 --- a/chrome/renderer/renderer.sb +++ b/chrome/renderer/renderer.sb @@ -7,8 +7,7 @@ (deny default) ; Allow sending signals to self - http://crbug.com/20370 -; ;10.5_ONLY is substitued for a blank string at runtime as needed. -;10.5_ONLY (allow %signal-self) +(allow signal (target self)) ; Needed for full-page-zoomed controls - http://crbug.com/11325 (allow sysctl-read) -- cgit v1.1