Hello, I'm trying to get the currently executing script's ID from a microtask in V8. I've tried getting the isolate's context() and the script source from there, but I'm struggling to find the link to the script itself (and its id).
Code (this is isolate.cc): if (!this->context().is_null()) { Handle<ScopeInfo> scope_info(this->context().scope_info(), this); DeclarationScope* decl_scope = scope_info->GetScriptScope(); } -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/v8-users/0cb40fbd-2548-45cb-bb2a-d4403fe4db9en%40googlegroups.com.