blob: 87cd0b7f21150aa9eb4c3e8d3bf41f59ab98908a (
plain)
1
2
3
4
5
6
7
8
9
|
// bindtoAsyncStack shouldn't choke on CCWs of functions.
var g = newGlobal();
g.evaluate("function h() {}");
bindToAsyncStack(g.h, { stack: saveStack() })();
bindToAsyncStack(new Proxy(() => {}, { apply: () => {} }),
{ stack: saveStack() })
();
|