Lines Matching refs:function
35 function TestBase(name) {
40 "(function ChooseAnimal(callback) {\n " +
58 this.ScriptChanger = function() {
71 function Noop() {}
73 function WrapInCatcher(f, holder) {
74 return function() {
88 function WrapInNativeCall(f) {
89 return function() {
94 function WrapInDebuggerCall(f) {
95 return function() {
100 function WrapInRestartProof(f) {
102 return function() {
111 function WrapInConstructor(f) {
112 return function() {
113 return new function() {
120 // A series of tests. In each test we call ChooseAnimal function that calls
121 // a callback that attempts to modify the function on the fly.
126 test = new TestBase("Test without function on stack");
130 test = new TestBase("Test with function on stack");
134 test = new TestBase("Test with function on stack and with constructor frame");