(a, b)
| 837 | // Test a mixture of scopes. |
| 838 | BeginTest("The full monty"); |
| 839 | function the_full_monty(a, b) { |
| 840 | var x = 3; |
| 841 | var y = 4; |
| 842 | eval('var i = 5'); |
| 843 | eval('var j = 6'); |
| 844 | function f(a, b) { |
| 845 | var x = 9; |
| 846 | var y = 10; |
| 847 | eval('var i = 11'); |
| 848 | eval('var j = 12'); |
| 849 | with ({j:13}){ |
| 850 | return function() { |
| 851 | var x = 14; |
| 852 | with ({a:15}) { |
| 853 | with ({b:16}) { |
| 854 | debugger; |
| 855 | some_global = a; |
| 856 | return f; |
| 857 | } |
| 858 | } |
| 859 | }; |
| 860 | } |
| 861 | } |
| 862 | return f(a, b); |
| 863 | } |
| 864 | |
| 865 | listener_delegate = function(exec_state) { |
| 866 | CheckScopeChain([debug.ScopeType.With, |
no test coverage detected