[MacRuby/MacRuby] 2fa177: Object#to_s will copy status of taint/untrust.
13 Apr
2011
13 Apr
'11
2:23 a.m.
Branch: refs/heads/master Home: https://github.com/MacRuby/MacRuby Commit: 2fa17718ef9321d5d844e09988849c7df4d7a618 https://github.com/MacRuby/MacRuby/commit/2fa17718ef9321d5d844e09988849c7df4... Author: Watson <watson1978@gmail.com> Date: 2011-04-12 (Tue, 12 Apr 2011) Changed paths: M object.c Log Message: ----------- Object#to_s will copy status of taint/untrust. Test Script: {{{ require 'test/unit/assertions.rb' include Test::Unit::Assertions obj = Object.new obj.taint obj.untrust s = obj.to_s assert_equal(true, s.untrusted?) assert_equal(true, s.tainted?) puts :ok }}}
5323
Age (days ago)
5323
Last active (days ago)
0 comments
1 participants
participants (1)
-
noreply@github.com