Debian Codegraph @

js/src/jit-test/tests/proxy/getPrototype-cycle-hasInstance.js

raw
1 // |jit-test| exitstatus: 6; skip-if: getBuildConfiguration("wasi")
2 timeout(0.5)
3
4 var proxy = new Proxy({}, {
5 getPrototypeOf() {
6 return proxy;
7 }
8 });
9
10 var x = proxy instanceof function() {};
11 assertEq(0, 1); // Should timeout.