Lines Matching defs:info
39 ConsoleHelper(const v8::debug::ConsoleCallArguments& info,
42 : m_info(info),
190 void V8Console::Debug(const v8::debug::ConsoleCallArguments& info,
193 ConsoleHelper(info, consoleContext, m_inspector)
197 void V8Console::Error(const v8::debug::ConsoleCallArguments& info,
200 ConsoleHelper(info, consoleContext, m_inspector)
204 void V8Console::Info(const v8::debug::ConsoleCallArguments& info,
207 ConsoleHelper(info, consoleContext, m_inspector)
211 void V8Console::Log(const v8::debug::ConsoleCallArguments& info,
214 ConsoleHelper(info, consoleContext, m_inspector)
218 void V8Console::Warn(const v8::debug::ConsoleCallArguments& info,
221 ConsoleHelper(info, consoleContext, m_inspector)
225 void V8Console::Dir(const v8::debug::ConsoleCallArguments& info,
228 ConsoleHelper(info, consoleContext, m_inspector)
232 void V8Console::DirXml(const v8::debug::ConsoleCallArguments& info,
235 ConsoleHelper(info, consoleContext, m_inspector)
239 void V8Console::Table(const v8::debug::ConsoleCallArguments& info,
242 ConsoleHelper(info, consoleContext, m_inspector)
246 void V8Console::Trace(const v8::debug::ConsoleCallArguments& info,
249 ConsoleHelper(info, consoleContext, m_inspector)
254 void V8Console::Group(const v8::debug::ConsoleCallArguments& info,
257 ConsoleHelper(info, consoleContext, m_inspector)
263 const v8::debug::ConsoleCallArguments& info,
267 ConsoleHelper(info, consoleContext, m_inspector)
272 void V8Console::GroupEnd(const v8::debug::ConsoleCallArguments& info,
276 ConsoleHelper(info, consoleContext, m_inspector)
281 void V8Console::Clear(const v8::debug::ConsoleCallArguments& info,
284 ConsoleHelper helper(info, consoleContext, m_inspector);
312 void V8Console::Count(const v8::debug::ConsoleCallArguments& info,
316 ConsoleHelper helper(info, consoleContext, m_inspector);
332 void V8Console::CountReset(const v8::debug::ConsoleCallArguments& info,
336 ConsoleHelper helper(info, consoleContext, m_inspector);
351 void V8Console::Assert(const v8::debug::ConsoleCallArguments& info,
354 ConsoleHelper helper(info, consoleContext, m_inspector);
358 for (int i = 1; i < info.Length(); ++i) arguments.push_back(info[i]);
359 if (info.Length() < 2)
366 void V8Console::Profile(const v8::debug::ConsoleCallArguments& info,
370 ConsoleHelper helper(info, consoleContext, m_inspector);
380 void V8Console::ProfileEnd(const v8::debug::ConsoleCallArguments& info,
384 ConsoleHelper helper(info, consoleContext, m_inspector);
394 static void timeFunction(const v8::debug::ConsoleCallArguments& info,
397 ConsoleHelper helper(info, consoleContext, inspector);
413 static void timeEndFunction(const v8::debug::ConsoleCallArguments& info,
416 ConsoleHelper helper(info, consoleContext, inspector);
446 void V8Console::Time(const v8::debug::ConsoleCallArguments& info,
449 timeFunction(info, consoleContext, false, m_inspector);
452 void V8Console::TimeLog(const v8::debug::ConsoleCallArguments& info,
455 timeEndFunction(info, consoleContext, true, m_inspector);
458 void V8Console::TimeEnd(const v8::debug::ConsoleCallArguments& info,
461 timeEndFunction(info, consoleContext, false, m_inspector);
464 void V8Console::TimeStamp(const v8::debug::ConsoleCallArguments& info,
468 ConsoleHelper helper(info, consoleContext, m_inspector);
474 const v8::FunctionCallbackInfo<v8::Value>& info) {
477 ->memoryInfo(info.GetIsolate(),
478 info.GetIsolate()->GetCurrentContext())
481 info.GetReturnValue().Set(memoryValue);
485 const v8::FunctionCallbackInfo<v8::Value>& info) {
492 const v8::FunctionCallbackInfo<v8::Value>& info) {
493 if (info.Length() != 1) {
494 info.GetIsolate()->ThrowError("Unexpected arguments");
499 if (!info[0]->IsNumber() ||
500 !v8::Just(info[0].As<v8::Integer>()->Value()).To(&argId)) {
501 info.GetIsolate()->ThrowError("Task ID should be an integer");
507 info.GetIsolate()->ThrowError("Task with ID doesn't exist");
515 const v8::FunctionCallbackInfo<v8::Value>& info) {
516 if (info.Length() != 1 && info.Length() != 2) {
517 info.GetIsolate()->ThrowError("Unexpected arguments");
520 if (info.Length() == 2 && !info[1]->IsBoolean()) {
521 info.GetIsolate()->ThrowError("Unexpected arguments");
525 v8::debug::ConsoleCallArguments args(info);
529 info.Length() == 2 ? info[1].As<v8::Boolean>()->Value() : false;
534 info.GetIsolate()->ThrowError("Task with ID already exists");
546 info.GetReturnValue().Set(v8::Number::New(info.GetIsolate(), id));
550 const v8::FunctionCallbackInfo<v8::Value>& info) {
551 v8::Maybe<int64_t> maybeArgId = ValidateAndGetTaskId(info);
560 const v8::FunctionCallbackInfo<v8::Value>& info) {
561 v8::Maybe<int64_t> maybeArgId = ValidateAndGetTaskId(info);
577 const v8::FunctionCallbackInfo<v8::Value>& info) {
578 v8::Maybe<int64_t> maybeArgId = ValidateAndGetTaskId(info);
589 void V8Console::keysCallback(const v8::FunctionCallbackInfo<v8::Value>& info,
591 v8::Isolate* isolate = info.GetIsolate();
592 info.GetReturnValue().Set(v8::Array::New(isolate));
594 v8::debug::ConsoleCallArguments args(info);
601 info.GetReturnValue().Set(names);
604 void V8Console::valuesCallback(const v8::FunctionCallbackInfo<v8::Value>& info,
606 v8::Isolate* isolate = info.GetIsolate();
607 info.GetReturnValue().Set(v8::Array::New(isolate));
609 v8::debug::ConsoleCallArguments args(info);
624 info.GetReturnValue().Set(values);
643 const v8::FunctionCallbackInfo<v8::Value>& info, int sessionId) {
644 v8::debug::ConsoleCallArguments args(info);
658 const v8::FunctionCallbackInfo<v8::Value>& info, int sessionId) {
659 v8::debug::ConsoleCallArguments args(info);
669 const v8::FunctionCallbackInfo<v8::Value>& info, int sessionId) {
670 v8::debug::ConsoleCallArguments args(info);
678 toProtocolStringWithTypeCheck(info.GetIsolate(), name);
691 toV8String(info.GetIsolate(), builder.toString()),
696 const v8::FunctionCallbackInfo<v8::Value>& info, int sessionId) {
697 v8::debug::ConsoleCallArguments args(info);
707 const v8::FunctionCallbackInfo<v8::Value>& info, int sessionId) {
708 v8::debug::ConsoleCallArguments args(info);
712 info.GetReturnValue().Set(injectedScript->lastEvaluationResult());
715 static void inspectImpl(const v8::FunctionCallbackInfo<v8::Value>& info,
718 if (request == kRegular) info.GetReturnValue().Set(value);
720 v8::debug::ConsoleCallArguments args(info);
742 void V8Console::inspectCallback(const v8::FunctionCallbackInfo<v8::Value>& info,
744 if (info.Length() < 1) return;
745 inspectImpl(info, info[0], sessionId, kRegular, m_inspector);
748 void V8Console::copyCallback(const v8::FunctionCallbackInfo<v8::Value>& info,
750 if (info.Length() < 1) return;
751 inspectImpl(info, info[0], sessionId, kCopyToClipboard, m_inspector);
755 const v8::FunctionCallbackInfo<v8::Value>& info, int sessionId) {
756 if (info.Length() < 1) return;
757 v8::Local<v8::Value> arg = info[0];
759 v8::Isolate* isolate = info.GetIsolate();
774 inspectImpl(info, arg, sessionId, kQueryObjects, m_inspector);
777 void V8Console::inspectedObject(const v8::FunctionCallbackInfo<v8::Value>& info,
780 v8::debug::ConsoleCallArguments args(info);
784 v8::Isolate* isolate = info.GetIsolate();
786 info.GetReturnValue().Set(object->get(isolate->GetCurrentContext()));
788 info.GetReturnValue().Set(v8::Undefined(isolate));
938 v8::Local<v8::Name> name, const v8::PropertyCallbackInfo<v8::Value>& info) {
940 info.Data().As<v8::ArrayBuffer>()->GetBackingStore()->Data());
941 v8::Local<v8::Context> context = info.GetIsolate()->GetCurrentContext();
943 USE(info.Holder()->Delete(context, name).FromMaybe(false));
951 toProtocolStringWithTypeCheck(info.GetIsolate(), name))) {
953 v8::MicrotasksScope microtasks(info.GetIsolate(),
958 info.GetReturnValue().Set(value);
960 info.GetReturnValue().Set(value);
966 const v8::PropertyCallbackInfo<void>& info) {
968 info.Data().As<v8::ArrayBuffer>()->GetBackingStore()->Data());
970 v8::Local<v8::Context> context = info.GetIsolate()->GetCurrentContext();
971 if (!info.Holder()->Delete(context, name).FromMaybe(false)) return;
972 if (!info.Holder()->CreateDataProperty(context, name, value).FromMaybe(false))