Thu, 15 Jan 2015 15:55:04 +0100
Back out 97036ab72558 which inappropriately compared turds to third parties.
michael@0 | 1 | // |jit-test| debug |
michael@0 | 2 | setDebug(true); |
michael@0 | 3 | |
michael@0 | 4 | function callee() { |
michael@0 | 5 | evalInFrame(1, "var x = 'success'"); |
michael@0 | 6 | } |
michael@0 | 7 | function caller(code) { |
michael@0 | 8 | eval(code); |
michael@0 | 9 | callee(); |
michael@0 | 10 | return x; |
michael@0 | 11 | } |
michael@0 | 12 | assertEq(caller('var y = "ignominy"'), "success"); |
michael@0 | 13 | assertEq(typeof x, "undefined"); |