Lines Matching defs:context
5 #include "src/inspector/inspected-context.h"
19 void clearContext(const v8::WeakCallbackInfo<v8::Global<v8::Context>>& data) {
20 // Inspected context is created in V8InspectorImpl::contextCreated method
22 // Both methods takes valid v8::Local<v8::Context> handle to the same context,
23 // it means that context is created before InspectedContext constructor and is
37 m_context(info.context->GetIsolate(), info.context),
45 info.context->SetEmbedderData(static_cast<int>(v8::Context::kDebugIdIndex),
50 v8::Local<v8::Object> global = info.context->Global();
54 ->Set(info.context, toV8StringInternalized(isolate, "console"),
65 V8Console::clearInspectedContextIfNeeded(context(),
71 int InspectedContext::contextId(v8::Local<v8::Context> context) {
73 context->GetEmbedderData(static_cast<int>(v8::Context::kDebugIdIndex));
78 v8::Local<v8::Context> InspectedContext::context() const {