summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/saved-stacks/stringify-with-self-hosted.js
blob: 2f867d8f3da7fc785c83e98d7a96e32cf749bdda (plain)
1
2
3
4
5
6
7
8
// Test that stringify'ing a saved frame with self-hosted parent frames doesn't
// include the self-hosted parent frame in the output.

const map = (function () {
  return [3].map(n => saveStack()).pop();
}());

assertEq(map.toString().includes("@self-hosted:"), false);