Debian Codegraph @

js/src/jit-test/tests/errors/bug1810711.js

raw
1 var g = newGlobal({newCompartment: true});
2
3 try {
4 undef()
5 } catch (err) {
6 const handler = { "getPrototypeOf": (x) => () => x };
7 const proxy = new g.Proxy(err, handler);
8 try {
9 proxy.stack
10 } catch {}
11 }