tor-browser

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

head.js (318B)


      1 var headVar = "I'm a var in head file";
      2 
      3 function headMethod() {
      4  return true;
      5 }
      6 
      7 ok(true, "I'm a test in head file");
      8 
      9 registerCleanupFunction(function () {
     10  ok(true, "I'm a cleanup function in head file");
     11  is(
     12    this.headVar,
     13    "I'm a var in head file",
     14    "Head cleanup function scope is correct"
     15  );
     16 });