Debian Codegraph @

js/src/jit-test/tests/saved-stacks/stringify-with-self-hosted.js

raw
1 // Test that stringify'ing a saved frame with self-hosted parent frames doesn't
2 // include the self-hosted parent frame in the output.
3
4 const map = (function () {
5 return [3].map(n => saveStack()).pop();
6 }());
7
8 assertEq(map.toString().includes("@self-hosted:"), false);