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

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:14937f59038b
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().contains("@self-hosted:"), false);

mercurial