> > Thanks, sorry for delayed reply. > > const foreignFunction = console.constructor.constructor;
Above is the function call and it is returning the function in native context and not from calling context. So, later when we execute the function foreignFunction(), it is getting executed in native context. Can this be prevented with the patch you suggested?. Please clarify about what is the flag to prevent swap of context and where to do it?. Please correct if any of understanding is wrong. Thanks. Regards, Madan -- -- 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/b19f3a87-da0a-45a5-a6ca-982737f630a7%40googlegroups.com.