Home | History | Annotate | Download | only in mjsunit

Lines Matching refs:exec_state

45 function listener(event, exec_state, event_data, data) {
50 listener_delegate(exec_state);
87 function CheckFastAllScopes(scopes, exec_state)
89 var fast_all_scopes = exec_state.frame().allScopes(true);
101 function CheckScopeChain(scopes, exec_state) {
102 var all_scopes = exec_state.frame().allScopes();
103 assertEquals(scopes.length, exec_state.frame().scopeCount());
106 var scope = exec_state.frame().scope(i);
118 CheckFastAllScopes(scopes, exec_state);
121 var dcp = exec_state.debugCommandProcessor("unspecified_running_state");
149 function CheckScopeContent(content, number, exec_state) {
150 var scope = exec_state.frame().scope(number);
184 var dcp = exec_state.debugCommandProcessor("unspecified_running_state");
216 listener_delegate = function(exec_state) {
218 debug.ScopeType.Global], exec_state);
219 CheckScopeContent({}, 0, exec_state);
232 listener_delegate = function(exec_state) {
234 debug.ScopeType.Global], exec_state);
235 CheckScopeContent({a:1}, 0, exec_state);
249 listener_delegate = function(exec_state) {
251 debug.ScopeType.Global], exec_state);
252 CheckScopeContent({a:1,x:3}, 0, exec_state);
267 listener_delegate = function(exec_state) {
269 debug.ScopeType.Global], exec_state);
270 CheckScopeContent({a:1,b:2,x:3,y:4}, 0, exec_state);
284 listener_delegate = function(exec_state) {
286 debug.ScopeType.Global], exec_state);
287 CheckScopeContent({}, 0, exec_state);
301 listener_delegate = function(exec_state) {
303 debug.ScopeType.Global], exec_state);
304 CheckScopeContent({i:5}, 0, exec_state);
322 listener_delegate = function(exec_state) {
324 debug.ScopeType.Global], exec_state);
325 CheckScopeContent({a:1,b:2,x:3,y:4,i:5,j:6}, 0, exec_state);
340 listener_delegate = function(exec_state) {
343 debug.ScopeType.Global], exec_state);
344 CheckScopeContent({}, 0, exec_state);
361 listener_delegate = function(exec_state) {
365 debug.ScopeType.Global], exec_state);
366 CheckScopeContent({}, 0, exec_state);
367 CheckScopeContent({}, 1, exec_state);
382 listener_delegate = function(exec_state) {
385 debug.ScopeType.Global], exec_state);
386 CheckScopeContent({a:1,b:2}, 0, exec_state);
403 listener_delegate = function(exec_state) {
407 debug.ScopeType.Global], exec_state);
408 CheckScopeContent({a:2,b:1}, 0, exec_state);
409 CheckScopeContent({a:1,b:2}, 1, exec_state);
427 listener_delegate = function(exec_state) {
431 debug.ScopeType.Global], exec_state);
432 CheckScopeContent(with_object, 0, exec_state);
433 CheckScopeContent(with_object, 1, exec_state);
434 assertEquals(exec_state.frame().scope(0).scopeObject(), exec_state.frame().scope(1).scopeObject());
435 assertEquals(with_object, exec_state.frame().scope(1).scopeObject().value());
443 listener_delegate = function(exec_state) {
446 debug.ScopeType.Global], exec_state);
447 CheckScopeContent(with_object, 0, exec_state);
448 CheckScopeContent(with_object, 1, exec_state);
449 assertEquals(exec_state.frame().scope(0).scopeObject(), exec_state.frame().scope(1).scopeObject());
450 assertEquals(with_object, exec_state.frame().scope(1).scopeObject().value());
472 listener_delegate = function(exec_state) {
475 debug.ScopeType.Global], exec_state);
476 CheckScopeContent({}, 0, exec_state);
494 listener_delegate = function(exec_state) {
497 debug.ScopeType.Global], exec_state);
498 CheckScopeContent({a:1}, 1, exec_state);
519 listener_delegate = function(exec_state) {
522 debug.ScopeType.Global], exec_state);
523 CheckScopeContent({a:1,x:3}, 1, exec_state);
545 listener_delegate = function(exec_state) {
548 debug.ScopeType.Global], exec_state);
549 CheckScopeContent({a:1,b:2,x:3,y:4}, 1, exec_state);
574 listener_delegate = function(exec_state) {
577 debug.ScopeType.Global], exec_state);
578 CheckScopeContent({a:1,b:2,x:3,y:4,f:function(){}}, 1, exec_state);
602 listener_delegate = function(exec_state) {
605 debug.ScopeType.Global], exec_state);
606 CheckScopeContent({a:1,b:2,x:3,y:4,f:function(){}}, 1, exec_state);
630 listener_delegate = function(exec_state) {
634 debug.ScopeType.Global], exec_state);
635 CheckScopeContent({a:1}, 1, exec_state);
636 CheckScopeContent({f:function(){}}, 2, exec_state);
664 listener_delegate = function(exec_state) {
668 debug.ScopeType.Global], exec_state);
669 CheckScopeContent({}, 0, exec_state);
670 CheckScopeContent({a:1,b:2,x:3,y:4,i:5,j:6}, 1, exec_state);
671 CheckScopeContent({a:1,b:2,x:3,y:4,i:5,j:6,f:function(){}}, 2, exec_state);
685 listener_delegate = function(exec_state) {
687 debug.ScopeType.Global], exec_state);
688 CheckScopeContent({x: 2}, 0, exec_state);
705 listener_delegate = function(exec_state) {
708 debug.ScopeType.Global], exec_state);
742 listener_delegate = function(exec_state) {
749 debug.ScopeType.Global], exec_state);
750 CheckScopeContent({b:16}, 0, exec_state);
751 CheckScopeContent({a:15}, 1, exec_state);
752 CheckScopeContent({x:14}, 2, exec_state);
753 CheckScopeContent({j:13}, 3, exec_state);
754 CheckScopeContent({a:1,b:2,x:9,y:10,i:11,j:12}, 4, exec_state);
755 CheckScopeContent({a:1,b:2,x:3,y:4,i:5,j:6,f:function(){}}, 5, exec_state);
770 listener_delegate = function(exec_state) {
774 debug.ScopeType.Global], exec_state);
775 CheckScopeContent({x: 2}, 0, exec_state);
792 listener_delegate = function(exec_state) {
797 debug.ScopeType.Global], exec_state);
798 CheckScopeContent({x: 3}, 0, exec_state);
799 CheckScopeContent({x: 2}, 1, exec_state);
800 CheckScopeContent({x: 1}, 2, exec_state);
824 listener_delegate = function(exec_state) {
829 debug.ScopeType.Global], exec_state);
836 listener_delegate = function(exec_state) {
839 debug.ScopeType.Global], exec_state);
840 CheckScopeContent({x: 2}, 0, exec_state);
841 CheckScopeContent({x: 1}, 1, exec_state);
854 listener_delegate = function(exec_state) {
855 CheckScopeChain([debug.ScopeType.Global], exec_state);
871 listener_delegate = function(exec_state) {
874 debug.ScopeType.Global], exec_state);
875 CheckScopeContent({e:'Exception'}, 0, exec_state);
893 listener_delegate = function(exec_state) {
897 debug.ScopeType.Global], exec_state);
898 CheckScopeContent({n:10}, 0, exec_state);
899 CheckScopeContent({e:'Exception'}, 1, exec_state);
918 listener_delegate = function(exec_state) {
921 debug.ScopeType.Global], exec_state);
922 CheckScopeContent({e:'Exception'}, 0, exec_state);
923 CheckScopeContent({y:78}, 1, exec_state);
943 listener_delegate = function(exec_state) {
947 debug.ScopeType.Global], exec_state);
948 CheckScopeContent({n:10}, 0, exec_state);
949 CheckScopeContent({e:'Exception'}, 1, exec_state);
950 CheckScopeContent({y:98}, 2, exec_state);
958 listener_delegate = function(exec_state) {
960 debug.ScopeType.Global], exec_state);
961 CheckScopeContent({e:'Exception'}, 0, exec_state);
975 listener_delegate = function(exec_state) {
978 debug.ScopeType.Global], exec_state);
979 CheckScopeContent({x: 2}, 0, exec_state);
980 CheckScopeContent({e:'Exception'}, 1, exec_state);
1005 listener_delegate = function(exec_state) {
1008 debug.ScopeType.Global], exec_state);
1009 CheckScopeContent({e:'Exception'}, 0, exec_state);