Lines Matching defs:global
1502 // TODO(v8:11525): Use methods on global Snapshot objects with
1746 // Realm.global(i) returns the global object of realm i.
1747 // (Note that properties of global objects cannot be read/written cross-realm.)
1753 // global objects but return a global proxy. Currently it returns global
1754 // object when the global proxy is detached from the global object. The
1756 // global objects.
1757 Local<Object> global =
1759 i::Handle<i::Object> i_global = Utils::OpenHandle(*global);
1765 global = Utils::ToLocal(i_global_proxy);
1767 args.GetReturnValue().Set(global);
1863 // Realm.detachGlobal(i) detaches the global objects of realm i from realm i.
1999 // field. TODO(v8:11525): Use methods on global Snapshot objects with
2661 // global data and manually unlock to quell DCHECKs. Other isolates might
2694 // enumerating the properties of the global object and eval'ing them. As such
2947 String::NewFromUtf8Literal(isolate, "global"));
3061 // installed on the global object can be hidden with the --omit-quit flag
3084 realm_template->Set(isolate, "global",
3315 // Initialize the global objects
3341 // setup console global.
4230 Local<Object> global = context->Global();
4233 MaybeLocal<Value> maybe_onmessage = global->Get(
4245 MaybeLocal<Value> result = onmessage_fun->Call(context, global, 1, argv);
4295 Local<Object> global = context->Global();
4303 global
4320 MaybeLocal<Value> maybe_onmessage = global->Get(
5019 // Shared values in transit are kept alive by global handles in the shared