https://codereview.chromium.org/781623004/diff/1/src/debug.cc
File src/debug.cc (right):

https://codereview.chromium.org/781623004/diff/1/src/debug.cc#newcode2485
src/debug.cc:2485: Handle<GlobalObject> global = in_debug_scope() ?
Handle<GlobalObject>(debug_context()->global_object()) :
Handle<GlobalObject>(isolate_->global_object());
This way we will create debugger objects in the user context. This is
dangerous since the user code can override almost everything and we may
at some point end up executing user code in the debugger context. Please
make sure to enter debugger context first if you need to create an
object for the debugger.

https://codereview.chromium.org/781623004/

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to