Lines Matching refs:frame
44 function checkFrame0(frame) { argument
46 var count = frame.localCount();
49 var name = frame.localName(i);
50 var value = frame.localValue(i).value();
67 function checkFrame1(frame) { argument
69 var count = frame.localCount();
72 var name = frame.localName(i);
73 var value = frame.localValue(i).value();
91 function checkFrame2(frame) { argument
93 var count = frame.localCount();
96 var name = frame.localName(i);
97 var value = frame.localValue(i).value();
113 checkFrame0(exec_state.frame(0));
114 checkFrame1(exec_state.frame(1));
115 checkFrame2(exec_state.frame(2));
118 assertEquals(1, exec_state.frame(0).evaluate('a').value());
119 assertEquals(2, exec_state.frame(0).evaluate('b').value());
120 assertEquals(5, exec_state.frame(0).evaluate('eval').value());
121 assertEquals(3, exec_state.frame(1).evaluate('a').value());
122 assertEquals(4, exec_state.frame(1).evaluate('b').value());
124 typeof exec_state.frame(1).evaluate('eval').value());
125 assertEquals(5, exec_state.frame(2).evaluate('a').value());
126 assertEquals(6, exec_state.frame(2).evaluate('b').value());
128 typeof exec_state.frame(2).evaluate('eval').value());
130 exec_state.frame(0).evaluate('a = "foo"').value());
132 exec_state.frame(1).evaluate('a = "bar"').value());