blob: 7ad1f6dc68215cad2e8553dff70659bd3ce76f07 [file] [log] [blame]
// Test that we can save stacks with proxy handler frames.
const stack = (function iife() {
return (new Proxy({}, {
get: function get(t, n, r) { return saveStack(); }
})).stack;
}());
assertEq(stack.functionDisplayName, "get");
assertEq(stack.parent.functionDisplayName, "iife");