[MacRuby] #878: Can't catch an exception of Sandbox.
MacRuby
ruby-noreply at macosforge.org
Fri Aug 27 21:49:54 PDT 2010
#878: Can't catch an exception of Sandbox.
----------------------------------+-----------------------------------------
Reporter: watson1978@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: minor | Milestone:
Component: MacRuby | Keywords:
----------------------------------+-----------------------------------------
Comment(by watson1978@…):
I am very Sorry. I mistook X(
{{{
Sandbox.no_writes.apply!
begin
Sandbox.no_network.apply!
rescue SecurityError => e
p e
end
p :ok
}}}
{{{
$ macruby t.rb
#<SecurityError: Couldn't apply sandbox: `Operation not permitted`>
:ok
}}}
--
Ticket URL: <http://www.macruby.org/trac/ticket/878#comment:4>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list