{"shas":[["f27e294a83de248c4913a88ef0164c5950da7b14","eda86c76b122b136940c991450c4d2ec789864ca@gmail.com","Array#reverse will not raise a SecurityError when $SAFE is 4.\n\nTest Script:\n{{{\nrequire 'test/unit/assertions.rb'\ninclude Test::Unit::Assertions\n\nary = [ \"a\", \"b\", \"c\" ]\nret = nil\nThread.start {\n  $SAFE=4\n  ret = [\"c\", \"b\", \"a\"] == ary.reverse\n\n  begin\n    ary.reverse!\n  rescue SecurityError => err\n  else\n    raise \"error\"\n  end\n}.join\n\nassert_equal(true, ret)\nassert_equal([\"a\", \"b\", \"c\"], ary)\n\nputs :ok\n}}}\n\ngit-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@5255 23306eb0-4c56-4727-a40e-e92c0eb68959","Watson"]],"repo":"MacRuby/MacRuby","actor":"MacRuby","ref":"refs/heads/trunk","size":1,"head":"f27e294a83de248c4913a88ef0164c5950da7b14","actor_gravatar":"7ca93bf360e9573a4babd27779fc35ea","push_id":26115441}