tor-browser

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

browser_head.js (386B)


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