util: restrict custom inspect function + vm.Context interaction
When util.inspect()
is called on an object with a custom inspect
function, and that object is from a different vm.Context
,
that function will not receive any arguments that access
context-specific data anymore.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines