Lines Matching refs:Local
76 v8::Local<v8::ObjectTemplate> global_template = in DebugLocalContext()
77 v8::Local<v8::ObjectTemplate>(), in DebugLocalContext()
78 v8::Local<v8::Value> global_object = v8::Local<v8::Value>()) in DebugLocalContext()
86 v8::Local<v8::ObjectTemplate> global_template = in DebugLocalContext()
87 v8::Local<v8::ObjectTemplate>(), in DebugLocalContext()
88 v8::Local<v8::Value> global_object = v8::Local<v8::Value>()) in DebugLocalContext()
97 inline v8::Local<v8::Context> context() { return context_; } in context()
125 v8::Local<v8::Context> context_;
132 static v8::Local<v8::Function> CompileFunction(v8::Isolate* isolate, in CompileFunction()
136 v8::Local<v8::String> name = v8_str(isolate, function_name); in CompileFunction()
137 v8::Local<v8::Context> context = isolate->GetCurrentContext(); in CompileFunction()
140 return v8::Local<v8::Function>::Cast(maybe_function.ToLocalChecked()); in CompileFunction()
145 static v8::Local<v8::Function> CompileFunction(DebugLocalContext* env, in CompileFunction()
153 static bool HasDebugInfo(v8::Local<v8::Function> fun) { in HasDebugInfo()
177 static int SetBreakPoint(v8::Local<v8::Function> fun, int position) { in SetBreakPoint()
193 v8::Local<v8::Value> value = CompileRunChecked(isolate, buffer.start()); in SetBreakPointFromJS()
216 v8::Local<v8::Value> value = CompileRunChecked(isolate, buffer.start()); in SetScriptBreakPointByIdFromJS()
243 v8::Local<v8::Value> value = CompileRunChecked(isolate, buffer.start()); in SetScriptBreakPointByNameFromJS()
443 v8::Local<v8::Function> frame_function_name;
452 v8::Local<v8::Function> frame_argument_name;
461 v8::Local<v8::Function> frame_argument_value;
470 v8::Local<v8::Function> frame_local_name;
479 v8::Local<v8::Function> frame_local_value;
488 v8::Local<v8::Function> frame_source_line;
497 v8::Local<v8::Function> frame_source_column;
506 v8::Local<v8::Function> frame_script_name;
514 v8::Local<v8::Function> frame_count;
533 v8::Local<v8::Object> exec_state = event_details.GetExecutionState(); in DebugEventBreakPointHitCount()
534 v8::Local<v8::Context> context = CcTest::isolate()->GetCurrentContext(); in DebugEventBreakPointHitCount()
546 v8::Local<v8::Value> argv[argc] = { in DebugEventBreakPointHitCount()
548 v8::Local<v8::Value> result = in DebugEventBreakPointHitCount()
555 v8::Local<v8::String> function_name(result.As<v8::String>()); in DebugEventBreakPointHitCount()
563 v8::Local<v8::Value> argv[argc] = {exec_state}; in DebugEventBreakPointHitCount()
564 v8::Local<v8::Value> result = in DebugEventBreakPointHitCount()
574 v8::Local<v8::Value> argv[argc] = {exec_state}; in DebugEventBreakPointHitCount()
575 v8::Local<v8::Value> result = in DebugEventBreakPointHitCount()
585 v8::Local<v8::Value> argv[argc] = {exec_state}; in DebugEventBreakPointHitCount()
586 v8::Local<v8::Value> result = in DebugEventBreakPointHitCount()
593 v8::Local<v8::String> script_name(result.As<v8::String>()); in DebugEventBreakPointHitCount()
612 v8::Local<v8::Function> debug_event_listener_callback;
624 v8::Local<v8::Object> exec_state = event_details.GetExecutionState(); in DebugEventCounter()
625 v8::Local<v8::Object> event_data = event_details.GetEventData(); in DebugEventCounter()
626 v8::Local<v8::Context> context = CcTest::isolate()->GetCurrentContext(); in DebugEventCounter()
639 v8::Local<v8::String> fun_name = v8_str(CcTest::isolate(), "uncaught"); in DebugEventCounter()
640 v8::Local<v8::Function> fun = v8::Local<v8::Function>::Cast( in DebugEventCounter()
642 v8::Local<v8::Value> result = in DebugEventCounter()
653 v8::Local<v8::Value> argv[kArgc] = {exec_state}; in DebugEventCounter()
655 v8::Local<v8::Value> result = in DebugEventCounter()
662 v8::Local<v8::Value> result = in DebugEventCounter()
682 v8::Local<v8::Value> expected; // The expected result.
694 v8::Local<v8::Function> evaluate_check_function;
700 v8::Local<v8::Object> exec_state = event_details.GetExecutionState(); in DebugEventEvaluate()
702 v8::Local<v8::Context> context = isolate->GetCurrentContext(); in DebugEventEvaluate()
711 v8::Local<v8::String> string = v8_str(isolate, checks[i].expr); in DebugEventEvaluate()
712 v8::Local<v8::Value> argv[argc] = {exec_state, string, in DebugEventEvaluate()
714 v8::Local<v8::Value> result = in DebugEventEvaluate()
731 v8::Local<v8::Value> data = event_details.GetCallbackData(); in DebugEventRemoveBreakPoint()
776 v8::Local<v8::Object> exec_state = event_details.GetExecutionState(); in DebugEventStepSequence()
786 v8::Local<v8::Value> argv[argc] = {exec_state, in DebugEventStepSequence()
788 v8::Local<v8::Context> context = CcTest::isolate()->GetCurrentContext(); in DebugEventStepSequence()
789 v8::Local<v8::Value> result = in DebugEventStepSequence()
898 static void MessageCallbackCount(v8::Local<v8::Message> message, in MessageCallbackCount()
899 v8::Local<v8::Value> data) { in MessageCallbackCount()
912 v8::Local<v8::Function> foo = in TEST()
914 v8::Local<v8::Function> bar = in TEST()
953 v8::Local<v8::Function> foo = in TEST()
986 v8::Local<v8::Function> foo = in TEST()
1018 v8::Local<v8::Function> foo = in TEST()
1050 v8::Local<v8::Function> foo = in TEST()
1052 v8::Local<v8::Context> context = env.context(); in TEST()
1092 v8::Local<v8::Function> foo = in TEST()
1094 v8::Local<v8::Context> context = env.context(); in TEST()
1144 v8::Local<v8::Function> foo = in TEST()
1146 v8::Local<v8::Context> context = env.context(); in TEST()
1173 static void CallWithBreakPoints(v8::Local<v8::Context> context, in CallWithBreakPoints()
1174 v8::Local<v8::Object> recv, in CallWithBreakPoints()
1175 v8::Local<v8::Function> f, in CallWithBreakPoints()
1190 v8::Local<v8::Context> context = env.context(); in TEST()
1194 v8::Local<v8::Function> foo; in TEST()
1228 static void CallAndGC(v8::Local<v8::Context> context, in CallAndGC()
1229 v8::Local<v8::Object> recv, v8::Local<v8::Function> f) { in CallAndGC()
1255 v8::Local<v8::Context> context = env.context(); in TEST()
1259 v8::Local<v8::Function> foo; in TEST()
1315 v8::Local<v8::Context> context = env.context(); in TEST()
1324 v8::Local<v8::String> source = v8_str(env->GetIsolate(), "foo()"); in TEST()
1325 v8::Local<v8::Script> foo = in TEST()
1372 v8::Local<v8::Context> context = env.context(); in TEST()
1377 v8::Local<v8::String> script = v8_str(isolate, in TEST()
1402 v8::Local<v8::Function> f = v8::Local<v8::Function>::Cast( in TEST()
1404 v8::Local<v8::Function> g = v8::Local<v8::Function>::Cast( in TEST()
1479 v8::Local<v8::Context> context = env.context(); in TEST()
1484 v8::Local<v8::String> source = v8_str(isolate, in TEST()
1505 v8::Local<v8::Script> script = in TEST()
1508 v8::Local<v8::Function> f = v8::Local<v8::Function>::Cast( in TEST()
1510 v8::Local<v8::Function> g = v8::Local<v8::Function>::Cast( in TEST()
1589 v8::Local<v8::Context> context = env.context(); in TEST()
1594 v8::Local<v8::String> script = v8_str(isolate, in TEST()
1605 v8::Local<v8::Function> f = v8::Local<v8::Function>::Cast( in TEST()
1633 f = v8::Local<v8::Function>::Cast( in TEST()
1657 v8::Local<v8::String> script = v8_str(env->GetIsolate(), in TEST()
1667 v8::Local<v8::Context> context = env.context(); in TEST()
1673 v8::Local<v8::Function> f = v8::Local<v8::Function>::Cast( in TEST()
1704 f = v8::Local<v8::Function>::Cast( in TEST()
1730 v8::Local<v8::String> script = v8_str(env->GetIsolate(), in TEST()
1736 v8::Local<v8::Context> context = env.context(); in TEST()
1742 v8::Local<v8::Function> f = v8::Local<v8::Function>::Cast( in TEST()
1770 f = v8::Local<v8::Function>::Cast( in TEST()
1796 v8::Local<v8::Context> context = env.context(); in TEST()
1797 v8::Local<v8::Function> f; in TEST()
1798 v8::Local<v8::String> script = v8_str(env->GetIsolate(), in TEST()
1818 f = v8::Local<v8::Function>::Cast( in TEST()
1834 f = v8::Local<v8::Function>::Cast( in TEST()
1849 f = v8::Local<v8::Function>::Cast( in TEST()
1874 v8::Local<v8::Context> context = env.context(); in TEST()
1875 v8::Local<v8::Function> f; in TEST()
1876 v8::Local<v8::String> script_f = v8_str(env->GetIsolate(), in TEST()
1881 v8::Local<v8::Function> g; in TEST()
1882 v8::Local<v8::String> script_g = v8_str(env->GetIsolate(), in TEST()
1897 f = v8::Local<v8::Function>::Cast( in TEST()
1905 g = v8::Local<v8::Function>::Cast( in TEST()
1952 v8::Local<v8::Context> context = env.context(); in TEST()
1953 v8::Local<v8::Function> f; in TEST()
1954 v8::Local<v8::String> script = in TEST()
1976 f = v8::Local<v8::Function>::Cast( in TEST()
2022 v8::Local<v8::Context> context = env.context(); in TEST()
2023 v8::Local<v8::Function> f; in TEST()
2024 v8::Local<v8::Function> g; in TEST()
2025 v8::Local<v8::String> script = in TEST()
2057 f = v8::Local<v8::Function>::Cast( in TEST()
2061 g = v8::Local<v8::Function>::Cast( in TEST()
2150 v8::Local<v8::Context> context = env.context(); in TEST()
2151 v8::Local<v8::String> script = in TEST()
2157 v8::Local<v8::Function> f; in TEST()
2162 f = v8::Local<v8::Function>::Cast( in TEST()
2183 f = v8::Local<v8::Function>::Cast( in TEST()
2204 v8::Local<v8::String> script_source = v8_str(env->GetIsolate(), in TEST()
2235 v8::Local<v8::Context> context = env.context(); in TEST()
2236 v8::Local<v8::Function> foo = in TEST()
2265 v8::Local<v8::Context> context = env.context(); in TEST()
2276 v8::Local<v8::Function> foo = v8::Local<v8::Function>::Cast( in TEST()
2280 v8::Local<v8::Function> bar = v8::Local<v8::Function>::Cast( in TEST()
2303 v8::Local<v8::Context> context = env.context(); in TEST()
2311 v8::Local<v8::Function> foo = v8::Local<v8::Function>::Cast( in TEST()
2351 {NULL, v8::Local<v8::Value>()}}; in TEST()
2355 {NULL, v8::Local<v8::Value>()}}; in TEST()
2359 {NULL, v8::Local<v8::Value>()}}; in TEST()
2365 v8::Local<v8::Function> foo = CompileFunction(&env, in TEST()
2376 v8::Local<v8::Context> context = env.context(); in TEST()
2378 v8::Local<v8::Value> argv_foo[1] = { in TEST()
2398 v8::Local<v8::Function> zoo = in TEST()
2413 v8::Local<v8::Value> argv_zoo[1] = { in TEST()
2428 v8::Local<v8::Function> bar = CompileFunction(&env, in TEST()
2447 v8::Local<v8::Value> argv_bar_1[2] = { in TEST()
2454 v8::Local<v8::Value> argv_bar_2[2] = { in TEST()
2462 v8::Local<v8::Value> argv_bar_3[2] = { in TEST()
2487 v8::Local<v8::Context> context = env.context(); in TEST()
2488 v8::Local<v8::Function> foo = CompileFunction(&env, in TEST()
2509 v8::Local<v8::Function> checkGlobalEvalFunction;
2510 v8::Local<v8::Function> checkFrameEvalFunction;
2516 v8::Local<v8::Value> args[] = {eventDetails.GetExecutionState()}; in CheckDebugEval()
2542 v8::Local<v8::Context> context = env.context(); in TEST()
2543 v8::Local<v8::Function> foo = CompileFunction(&env, in TEST()
2658 v8::Local<v8::String> json = message.GetJSON(); in DebugProcessDebugMessagesHandler()
2682 v8::Local<v8::Context> context = env.context(); in TEST()
2745 v8::Local<v8::Function> foo = CompileFunction(&env, in TEST()
2759 v8::Local<v8::Context> context = env.context(); in TEST()
2794 v8::Local<v8::Function> foo = CompileFunction( in TEST()
2807 v8::Local<v8::Context> context = env.context(); in TEST()
2809 v8::Local<v8::Array> a = v8::Array::New(env->GetIsolate(), 10); in TEST()
2818 v8::Local<v8::Value> args[kArgc] = {a}; in TEST()
2845 v8::Local<v8::Function> foo = CompileFunction( in TEST()
2857 v8::Local<v8::Context> context = env.context(); in TEST()
2859 v8::Local<v8::Array> a = v8::Array::New(env->GetIsolate(), 10); in TEST()
2868 v8::Local<v8::Value> args[kArgc] = {a}; in TEST()
2893 v8::Local<v8::Context> context = env.context(); in TEST()
2895 v8::Local<v8::Function> foo = CompileFunction( in TEST()
2938 v8::Local<v8::Context> context = env.context(); in DoDebugStepNamedStoreLoop()
2939 v8::Local<v8::Function> foo = CompileFunction( in DoDebugStepNamedStoreLoop()
2978 v8::Local<v8::Context> context = env.context(); in TEST()
2980 v8::Local<v8::Function> foo = CompileFunction(&env, in TEST()
3026 v8::Local<v8::Context> context = env.context(); in TEST()
3037 v8::Local<v8::Function> foo = CompileFunction(&env, src, "foo"); in TEST()
3060 v8::Local<v8::Context> context = env.context(); in TEST()
3071 v8::Local<v8::Function> foo = CompileFunction(&env, src, "foo"); in TEST()
3095 v8::Local<v8::Context> context = env.context(); in TEST()
3109 v8::Local<v8::Function> foo = CompileFunction(&env, src, "foo"); in TEST()
3115 v8::Local<v8::Value> argv_true[argc] = {v8::True(isolate)}; in TEST()
3122 v8::Local<v8::Value> argv_false[argc] = {v8::False(isolate)}; in TEST()
3140 v8::Local<v8::Context> context = env.context(); in TEST()
3160 v8::Local<v8::Function> foo = CompileFunction(&env, src, "foo"); in TEST()
3166 v8::Local<v8::Value> argv_1[argc] = {v8::Number::New(isolate, 1)}; in TEST()
3173 v8::Local<v8::Value> argv_2[argc] = {v8::Number::New(isolate, 2)}; in TEST()
3180 v8::Local<v8::Value> argv_3[argc] = {v8::Number::New(isolate, 3)}; in TEST()
3198 v8::Local<v8::Context> context = env.context(); in TEST()
3209 v8::Local<v8::Function> foo = CompileFunction(&env, src, "foo"); in TEST()
3215 v8::Local<v8::Value> argv_0[argc] = {v8::Number::New(isolate, 0)}; in TEST()
3222 v8::Local<v8::Value> argv_10[argc] = {v8::Number::New(isolate, 10)}; in TEST()
3229 v8::Local<v8::Value> argv_100[argc] = {v8::Number::New(isolate, 100)}; in TEST()
3247 v8::Local<v8::Context> context = env.context(); in TEST()
3258 v8::Local<v8::Function> foo = CompileFunction(&env, src, "foo"); in TEST()
3264 v8::Local<v8::Value> argv_0[argc] = {v8::Number::New(isolate, 0)}; in TEST()
3271 v8::Local<v8::Value> argv_10[argc] = {v8::Number::New(isolate, 10)}; in TEST()
3278 v8::Local<v8::Value> argv_100[argc] = {v8::Number::New(isolate, 100)}; in TEST()
3296 v8::Local<v8::Context> context = env.context(); in TEST()
3307 v8::Local<v8::Function> foo = CompileFunction(&env, src, "foo"); in TEST()
3314 v8::Local<v8::Value> argv_0[argc] = {v8::Number::New(isolate, 0)}; in TEST()
3321 v8::Local<v8::Value> argv_10[argc] = {v8::Number::New(isolate, 10)}; in TEST()
3328 v8::Local<v8::Value> argv_100[argc] = {v8::Number::New(isolate, 100)}; in TEST()
3346 v8::Local<v8::Context> context = env.context(); in TEST()
3363 v8::Local<v8::Function> foo = CompileFunction(&env, src, "foo"); in TEST()
3364 v8::Local<v8::Value> result; in TEST()
3372 v8::Local<v8::Value> argv_10[argc] = {v8::Number::New(isolate, 10)}; in TEST()
3380 v8::Local<v8::Value> argv_100[argc] = {v8::Number::New(isolate, 100)}; in TEST()
3399 v8::Local<v8::Context> context = env.context(); in TEST()
3416 v8::Local<v8::Function> foo = CompileFunction(&env, src, "foo"); in TEST()
3417 v8::Local<v8::Value> result; in TEST()
3426 v8::Local<v8::Value> argv_10[argc] = {v8::Number::New(isolate, 10)}; in TEST()
3434 v8::Local<v8::Value> argv_100[argc] = {v8::Number::New(isolate, 100)}; in TEST()
3452 v8::Local<v8::Context> context = env.context(); in TEST()
3455 v8::Local<v8::Function> foo; in TEST()
3501 v8::Local<v8::Context> context = env.context(); in TEST()
3514 v8::Local<v8::Function> foo = CompileFunction(&env, src, "foo"); in TEST()
3515 v8::Local<v8::Value> result; in TEST()
3537 v8::Local<v8::Context> context = env.context(); in TEST()
3546 v8::Local<v8::Function> foo = CompileFunction(&env, src, "foo"); in TEST()
3557 v8::Local<v8::Value> argv_true[argc] = {v8::True(isolate)}; in TEST()
3579 v8::Local<v8::Context> context = env.context(); in TEST()
3586 v8::Local<v8::Function> a = CompileFunction(&env, src, "a"); in TEST()
3631 v8::Local<v8::Context> context = env.context(); in TEST()
3639 v8::Local<v8::Function> a = CompileFunction(&env, src, "a"); in TEST()
3684 v8::Local<v8::Context> context = env.context(); in TEST()
3691 v8::Local<v8::Function> a = CompileFunction(&env, src, "a"); in TEST()
3714 v8::Local<v8::Function> foo = CompileFunction( in TEST()
3722 v8::Local<v8::Context> context = env.context(); in TEST()
3754 v8::Local<v8::Function> foo = CompileFunction( in TEST()
3763 v8::Local<v8::Context> context = env.context(); in TEST()
3795 v8::Local<v8::Context> context = env.context(); in TEST()
3797 v8::Local<v8::Function> foo = CompileFunction( in TEST()
3821 v8::Local<v8::Value> argv[argc] = {v8::True(isolate)}; in TEST()
3848 v8::Local<v8::Context> context = env.context(); in TEST()
3850 v8::Local<v8::Function> foo = in TEST()
3894 v8::Local<v8::Context> context = env.context(); in TEST()
3905 v8::Local<v8::Script> script = in TEST()
3908 v8::Local<v8::Value> r = script->Run(context).ToLocalChecked(); in TEST()
3937 v8::Local<v8::Context> context = env.context(); in TEST()
3940 v8::Local<v8::Function> caught = in TEST()
3944 v8::Local<v8::Function> notCaught = in TEST()
3946 v8::Local<v8::Function> notCaughtFinally = CompileFunction( in TEST()
3952 v8::Local<v8::Function> edgeCaseFinally = CompileFunction( in TEST()
4081 static void try_finally_original_message(v8::Local<v8::Message> message, in try_finally_original_message()
4082 v8::Local<v8::Value> data) { in try_finally_original_message()
4083 v8::Local<v8::Context> context = CcTest::isolate()->GetCurrentContext(); in try_finally_original_message()
4117 v8::Local<v8::Function> noThrowJS = CompileFunction( in TEST()
4155 v8::Local<v8::Context> context = env.context(); in TEST()
4227 v8::Local<v8::Context> context = env.context(); in TEST()
4240 v8::Local<v8::Function> a = CompileFunction(&env, src, "a"); in TEST()
4251 v8::Local<v8::Function> b = CompileFunction(&env, src, "b"); in TEST()
4262 v8::Local<v8::Function> d = CompileFunction(&env, src, "d"); in TEST()
4283 v8::Local<v8::Function> f = CompileFunction(&env, src, "f"); in TEST()
4320 v8::Local<v8::Context> context = env.context(); in TEST()
4326 v8::Local<v8::Function> f0 = CompileFunction(&env, src, "f0"); in TEST()
4327 v8::Local<v8::Function> f1 = CompileFunction(&env, src, "f1"); in TEST()
4328 v8::Local<v8::Function> f2 = CompileFunction(&env, src, "f2"); in TEST()
4329 v8::Local<v8::Function> f3 = CompileFunction(&env, src, "f3"); in TEST()
4332 v8::Local<v8::Value> argv[] = { in TEST()
4373 v8::Local<v8::Context> context = env.context(); in TEST()
4376 v8::Local<v8::Function> f = CompileFunction(&env, src, "f"); in TEST()
4462 v8::Local<v8::Array> result = v8::Array::New(info.GetIsolate(), 3); in NamedEnum()
4463 v8::Local<v8::Context> context = info.GetIsolate()->GetCurrentContext(); in NamedEnum()
4479 v8::Local<v8::Array> result = v8::Array::New(isolate, 2); in IndexedEnum()
4480 v8::Local<v8::Context> context = info.GetIsolate()->GetCurrentContext(); in IndexedEnum()
4491 static void NamedGetter(v8::Local<v8::Name> name, in NamedGetter()
4494 v8::String::Utf8Value n(v8::Local<v8::String>::Cast(name)); in NamedGetter()
4525 v8::Local<v8::Context> context = env.context(); in TEST()
4527 v8::Local<v8::ObjectTemplate> named = v8::ObjectTemplate::New(isolate); in TEST()
4536 v8::Local<v8::ObjectTemplate> indexed = v8::ObjectTemplate::New(isolate); in TEST()
4545 v8::Local<v8::ObjectTemplate> both = v8::ObjectTemplate::New(isolate); in TEST()
4653 v8::Local<v8::FunctionTemplate> t0 = v8::FunctionTemplate::New(isolate); in TEST()
4656 v8::Local<v8::FunctionTemplate> t1 = v8::FunctionTemplate::New(isolate); in TEST()
4660 v8::Local<v8::FunctionTemplate> t2 = v8::FunctionTemplate::New(isolate); in TEST()
4664 v8::Local<v8::FunctionTemplate> t3 = v8::FunctionTemplate::New(isolate); in TEST()
4668 v8::Local<v8::Context> context = env.context(); in TEST()
4670 v8::Local<v8::Object> o0 = t0->GetFunction(context) in TEST()
4675 v8::Local<v8::Object> o1 = t1->GetFunction(context) in TEST()
4680 v8::Local<v8::Object> o2 = t2->GetFunction(context) in TEST()
4685 v8::Local<v8::Object> o3 = t3->GetFunction(context) in TEST()
4788 v8::Local<v8::String> property, in ProtperyXNativeGetter()
4801 v8::Local<v8::Context> context = env.context(); in TEST()
4802 v8::Local<v8::String> name = v8_str(isolate, "x"); in TEST()
4804 v8::Local<v8::ObjectTemplate> named = v8::ObjectTemplate::New(isolate); in TEST()
4805 named->SetAccessor(name, &ProtperyXNativeGetter, NULL, v8::Local<v8::Value>(), in TEST()
4834 v8::Local<v8::String> property, in ProtperyXNativeGetterThrowingError()
4847 v8::Local<v8::Context> context = env.context(); in TEST()
4848 v8::Local<v8::String> name = v8_str(isolate, "x"); in TEST()
4850 v8::Local<v8::ObjectTemplate> named = v8::ObjectTemplate::New(isolate); in TEST()
4852 v8::Local<v8::Value>(), v8::DEFAULT, v8::None); in TEST()
4891 v8::Local<v8::Context> context = env.context(); in TEST()
4898 v8::Local<v8::Object> obj = v8::Local<v8::Object>::Cast( in TEST()
4923 v8::Local<v8::FunctionTemplate> t0 = v8::FunctionTemplate::New(isolate); in TEST()
4927 v8::Local<v8::FunctionTemplate> t1 = v8::FunctionTemplate::New(isolate); in TEST()
4933 v8::Local<v8::Object> protoObj = t0->GetFunction(context) in TEST()
4945 v8::Local<v8::Object> grandProtoObj = t1->GetFunction(context) in TEST()
5151 v8::Local<v8::String> json = message.GetJSON(); in MessageHandler()
5464 v8::Local<v8::ObjectTemplate> global_template = in Run()
5469 v8::Local<v8::Context> context = in Run()
5774 v8::Local<v8::Function> debugger_call_with_data;
5787 v8::Local<v8::Function> debugger_call_with_closure;
5792 v8::Local<v8::Context> context = args.GetIsolate()->GetCurrentContext(); in CheckFrameCount()
5805 v8::Local<v8::Context> context = args.GetIsolate()->GetCurrentContext(); in CheckSourceLine()
5821 v8::Local<v8::String> data = v8_str(args.GetIsolate(), "Test"); in CheckDataParameter()
5822 v8::Local<v8::Context> context = args.GetIsolate()->GetCurrentContext(); in CheckDataParameter()
5838 v8::Local<v8::Context> context = args.GetIsolate()->GetCurrentContext(); in CheckClosure()
5855 v8::Local<v8::ObjectTemplate> global_template = in TEST()
5865 v8::Local<v8::Context> context = in TEST()
5874 frame_count = v8::Local<v8::Function>::Cast( in TEST()
5884 frame_source_line = v8::Local<v8::Function>::Cast( in TEST()
5894 debugger_call_with_data = v8::Local<v8::Function>::Cast( in TEST()
5900 debugger_call_with_closure = v8::Local<v8::Function>::Cast( in TEST()
5999 v8::Local<v8::Context> context = env.context(); in TEST()
6003 v8::Local<v8::Function> foo = in TEST()
6005 v8::Local<v8::Function> bar = in TEST()
6035 v8::Local<v8::Function> foo(v8::Local<v8::Function>::Cast( in TEST()
6171 v8::Local<v8::Context> context = env.context(); in TEST()
6173 v8::Local<v8::String> source = in TEST()
6230 v8::Local<v8::Context> context = env.context(); in TEST()
6232 v8::Local<v8::String> script = v8_str(env->GetIsolate(), in TEST()
6239 v8::Local<v8::Script> script1 = in TEST()
6242 v8::Local<v8::Function> f; in TEST()
6243 f = v8::Local<v8::Function>::Cast( in TEST()
6258 f = v8::Local<v8::Function>::Cast( in TEST()
6266 v8::Local<v8::String> data_obj_source = in TEST()
6278 v8::Local<v8::Script> script2 = in TEST()
6281 f = v8::Local<v8::Function>::Cast( in TEST()
6289 v8::Local<v8::Script> script3 = in TEST()
6292 f = v8::Local<v8::Function>::Cast( in TEST()
6301 static v8::Local<v8::Context> expected_context;
6302 static v8::Local<v8::Value> expected_context_data;
6331 v8::Local<v8::Context> context_1; in TEST()
6332 v8::Local<v8::Context> context_2; in TEST()
6333 v8::Local<v8::ObjectTemplate> global_template = in TEST()
6334 v8::Local<v8::ObjectTemplate>(); in TEST()
6335 v8::Local<v8::Value> global_object = v8::Local<v8::Value>(); in TEST()
6346 v8::Local<v8::String> data_1 = v8_str(isolate, "1"); in TEST()
6347 v8::Local<v8::String> data_2 = v8_str(isolate, "2"); in TEST()
6361 v8::Local<v8::Function> f = CompileFunction(isolate, source, "f"); in TEST()
6371 v8::Local<v8::Function> f = CompileFunction(isolate, source, "f"); in TEST()
6410 v8::Local<v8::Context> context = env.context(); in TEST()
6414 v8::Local<v8::Function> f = v8::Local<v8::Function>::Cast( in TEST()
6418 v8::Local<v8::Function> g = v8::Local<v8::Function>::Cast( in TEST()
6439 v8::Local<v8::Object> exec_state = event_details.GetExecutionState(); in DebugEventDebugBreak()
6440 v8::Local<v8::Context> context = CcTest::isolate()->GetCurrentContext(); in DebugEventDebugBreak()
6448 v8::Local<v8::Value> argv[argc] = { in DebugEventDebugBreak()
6450 v8::Local<v8::Value> result = in DebugEventDebugBreak()
6457 v8::Local<v8::String> function_name( in DebugEventDebugBreak()
6475 v8::Local<v8::Context> context = env.context(); in TEST()
6487 v8::Local<v8::Function> f = CompileFunction(env->GetIsolate(), script, "f"); in TEST()
6489 v8::Local<v8::Value> argv[argc] = { in TEST()
6491 v8::Local<v8::Value> result = in TEST()
6511 v8::Local<v8::Context> context_1; in ExecuteScriptForContextCheck()
6512 v8::Local<v8::ObjectTemplate> global_template = in ExecuteScriptForContextCheck()
6513 v8::Local<v8::ObjectTemplate>(); in ExecuteScriptForContextCheck()
6523 v8::Local<v8::String> data_1 = v8_str(CcTest::isolate(), "1"); in ExecuteScriptForContextCheck()
6535 v8::Local<v8::Function> f = CompileFunction(CcTest::isolate(), source, "f"); in ExecuteScriptForContextCheck()
6645 v8::Local<v8::Context> context = env.context(); in TEST()
6699 v8::Local<v8::Context> context = env.context(); in TEST()
6715 v8::Local<v8::Script> script = in TEST()
6738 v8::Local<v8::Context> context = env.context(); in TEST()
6751 v8::Local<v8::Function> f = v8::Local<v8::Function>::Cast( in TEST()
6780 v8::Local<v8::Context> context = env.context(); in TEST()
6795 v8::Local<v8::Function> f = v8::Local<v8::Function>::Cast( in TEST()
6819 v8::Local<v8::Context> context = env.context(); in TEST()
6879 v8::Local<v8::Context> context = env.context(); in TEST()
6889 v8::Local<v8::Function> f = CompileFunction(&env, src, "f"); in TEST()
7019 v8::Local<v8::Context> context = env.context(); in TEST()
7028 v8::Local<v8::FunctionTemplate> start = in TEST()
7066 v8::Local<v8::Context> context = env.context(); in TEST()
7087 v8::Local<v8::String> void0 = v8_str(env->GetIsolate(), "void(0)"); in TEST()
7088 v8::Local<v8::Script> script = CompileWithOrigin(void0, void0); in TEST()
7110 v8::Local<v8::Context> context = env.context(); in TEST()
7111 v8::Local<v8::Value> obj = in TEST()
7119 v8::Local<v8::Function> run_test = v8::Local<v8::Function>::Cast( in TEST()
7125 v8::Local<v8::Value> result = in TEST()
7135 v8::Local<v8::Context> context = env.context(); in TEST()
7138 v8::Local<v8::Function> foo = CompileFunction( in TEST()
7165 v8::Local<v8::Context> debugee_context;
7166 v8::Local<v8::Context> debugger_context;
7172 v8::Local<v8::String> name, in NamedGetterWithCallingContextCheck()
7175 v8::Local<v8::Context> current = info.GetIsolate()->GetCurrentContext(); in NamedGetterWithCallingContextCheck()
7188 v8::Local<v8::Object> exec_state = event_details.GetExecutionState(); in DebugEventGetAtgumentPropertyValue()
7192 v8::Local<v8::Function> func = v8::Local<v8::Function>::Cast(CompileRun( in DebugEventGetAtgumentPropertyValue()
7198 v8::Local<v8::Value> argv[argc] = {exec_state}; in DebugEventGetAtgumentPropertyValue()
7199 v8::Local<v8::Value> result = in DebugEventGetAtgumentPropertyValue()
7220 v8::Local<v8::ObjectTemplate> named = v8::ObjectTemplate::New(isolate); in TEST()
7231 v8::Local<v8::Function> foo = CompileFunction( in TEST()
7242 debugee_context = v8::Local<v8::Context>(); in TEST()
7243 debugger_context = v8::Local<v8::Context>(); in TEST()
7252 v8::Local<v8::Context> context1 = in TEST()
7254 v8::Local<v8::Context> context2 = in TEST()
7264 v8::Local<v8::Context> context = in TEST()
7270 static v8::Local<v8::Value> expected_callback_data;
7295 expected_context_data = v8::Local<v8::Value>(); in TEST()
7305 v8::Local<v8::Object> exec_state = event_details.GetExecutionState(); in DebugEventBreakDeoptimize()
7306 v8::Local<v8::Context> context = CcTest::isolate()->GetCurrentContext(); in DebugEventBreakDeoptimize()
7311 v8::Local<v8::Value> argv[argc] = { in DebugEventBreakDeoptimize()
7313 v8::Local<v8::Value> result = in DebugEventBreakDeoptimize()
7319 v8::Local<v8::String> function_name( in DebugEventBreakDeoptimize()
7340 v8::Local<v8::Context> context = env.context(); in TEST()
7356 v8::Local<v8::Function> f = CompileFunction(&env, "function bar(){}", "bar"); in TEST()
7373 v8::Local<v8::Object> exec_state = event_details.GetExecutionState(); in DebugEventBreakWithOptimizedStack()
7374 v8::Local<v8::Context> context = isolate->GetCurrentContext(); in DebugEventBreakWithOptimizedStack()
7379 v8::Local<v8::Value> argv[argc] = {exec_state, in DebugEventBreakWithOptimizedStack()
7382 v8::Local<v8::Value> result = in DebugEventBreakWithOptimizedStack()
7386 v8::Local<v8::String> function_name( in DebugEventBreakWithOptimizedStack()
7394 v8::Local<v8::String> argument_name( in DebugEventBreakWithOptimizedStack()
7412 v8::Local<v8::String> local_name( in DebugEventBreakWithOptimizedStack()
7441 v8::Local<v8::Context> context = env.context(); in TEST()
7455 v8::Local<v8::FunctionTemplate> schedule_break_template = in TEST()
7457 v8::Local<v8::Function> schedule_break = in TEST()
7614 v8::Local<v8::Script> inline_script;
7619 v8::Local<v8::Context> context = CcTest::isolate()->GetCurrentContext(); in DebugBreakInlineListener()
7633 v8::Local<v8::Value> result = CompileRun(script); in DebugBreakInlineListener()
7642 v8::Local<v8::Value> result = CompileRun(script); in DebugBreakInlineListener()
7656 v8::Local<v8::Context> context = env.context(); in TEST()
7780 v8::Local<v8::Function> break_here = in TEST()
7795 v8::Local<v8::Value> result = ParserCacheCompileRun(source); in TEST()
7821 v8::Local<v8::Context> context = env.context(); in TEST()
7822 v8::Local<v8::FunctionTemplate> add_debug_break_template = in TEST()
7824 v8::Local<v8::Function> add_debug_break = in TEST()
7905 v8::Local<v8::Context> context = env.context(); in TEST()
7908 v8::Local<v8::FunctionTemplate> fun = in TEST()
7944 v8::Local<v8::Context> context = env.context(); in TEST()
7948 v8::Local<v8::FunctionTemplate> fun = in TEST()
7972 v8::Local<v8::Context> context = env.context(); in TEST()
7977 v8::Local<v8::FunctionTemplate> fun = in TEST()