Wed, 31 Dec 2014 07:53:36 +0100
Correct small whitespace inconsistency, lost while renaming variables.
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"); |