-1:000000000000 | 0:159c27c8ccdb |
---|---|
1 // Test that we can save stacks with proxy handler frames. | |
2 | |
3 const stack = (function iife() { | |
4 return (new Proxy({}, { | |
5 get: function get(t, n, r) { return saveStack(); } | |
6 })).stack; | |
7 }()); | |
8 | |
9 assertEq(stack.functionDisplayName, "get"); | |
10 assertEq(stack.parent.functionDisplayName, "iife"); |