Version:
v14.6.0
Platform:
ubuntu 19.04
const vm = require('vm');
var handler = {
getOwnPropertyDescriptor: () => {
return {};
}
};
const source = `p=6`;
var proxy = new Proxy({}, handler);
const ctx = vm.createContext(proxy);
script = new vm.Script(source);
script.runInContext(ctx);
nothing
no error
crash

attachment core.zip
Opened https://chromium-review.googlesource.com/c/v8/v8/+/2335057 to address this in V8
Most helpful comment
Opened https://chromium-review.googlesource.com/c/v8/v8/+/2335057 to address this in V8