tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

stringify-with-self-hosted.js (271B)


      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);