Lines Matching defs:context
68 MessagePort* parent_port = MessagePort::New(env, env->context());
78 ->Set(env->context(), env->message_port_string(), parent_port->object())
81 object()->Set(env->context(),
301 Local<Context> context;
309 context = Context::FromSnapshot(isolate_,
312 if (!context.IsEmpty() &&
313 !InitializeContextRuntime(context).IsJust()) {
314 context = Local<Context>();
317 context = NewContext(isolate_);
319 if (context.IsEmpty()) {
326 CHECK(!context.IsEmpty());
327 Context::Scope context_scope(context);
331 context,
389 env->context(),
409 Context::Scope context_scope(env()->context());
412 object()->Set(env()->context(),
469 isolate, args[0]->ToString(env->context()).FromMaybe(Local<String>()));
475 isolate, args[6]->ToString(env->context()).FromMaybe(Local<String>()));
521 if (!ToV8Value(env->context(), errors).ToLocal(&error)) return;
526 USE(args.This()->Set(env->context(), key, error));
541 if (!array->Get(env->context(), i).ToLocal(&arg)) {
545 if (!arg->ToString(env->context()).ToLocal(&arg_v8)) {
568 if (!ToV8Value(env->context(),
577 USE(args.This()->Set(env->context(), key, error));
775 ->NewInstance(env->context()).ToLocal(&wrap)) {
800 Context::Scope context_scope(env->context());
873 Local<Context> context,
875 Environment* env = Environment::GetCurrent(context);
895 SetConstructorFunction(context, target, "Worker", w);
911 SetMethod(context, target, "getEnvMessagePort", GetEnvMessagePort);
914 ->Set(env->context(),
920 ->Set(env->context(),
926 ->Set(env->context(),
933 ->Set(env->context(),